fuse3-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. Name: fuse3
  2. Summary: File System in Userspace (FUSE) v3 utilities
  3. Version: 3.10.2
  4. Release: 1%{?_dist_release}
  5. Group: system,admin-tools
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL+
  9. URL: http://fuse.sf.net
  10. Source0: https://github.com/libfuse/libfuse/archive/fuse-%{version}.tar.gz
  11. Source1: fuse.conf
  12. BuildRequires: which
  13. BuildRequires: meson, ninja, gcc, gcc-c++
  14. BuildRequires: kernel-devel%{_isa}
  15. Requires: fuse-common
  16. %description
  17. With FUSE it is possible to implement a fully functional filesystem in a
  18. userspace program. This package contains the FUSE v3 userspace tools to
  19. mount a FUSE filesystem.
  20. %package libs
  21. Summary: File System in Userspace (FUSE) v3 libraries
  22. Group: system
  23. License: LGPLv2+
  24. %description libs
  25. Devel With FUSE it is possible to implement a fully functional filesystem in a
  26. userspace program. This package contains the FUSE v3 libraries.
  27. %package devel
  28. Summary: File System in Userspace (FUSE) v3 devel files
  29. Group: programming
  30. License: LGPLv2+
  31. Requires: %{name}-libs = %{version}-%{release}
  32. Requires: pkgconfig
  33. %description devel
  34. With FUSE it is possible to implement a fully functional filesystem in a
  35. userspace program. This package contains development files (headers,
  36. pgk-config) to develop FUSE v3 based applications/filesystems.
  37. %package -n fuse-common
  38. Summary: Common files for File System in Userspace (FUSE) v2 and v3
  39. Group: system
  40. License: GPL+
  41. %description -n fuse-common
  42. Common files for FUSE v2 and FUSE v3.
  43. %debug_package
  44. %prep
  45. %setup -n libfuse-fuse-%{version}
  46. %build
  47. export LC_ALL=en_US.UTF-8
  48. %if ! 0%{?_vpath_srcdir:1}
  49. %global _vpath_srcdir .
  50. %endif
  51. %if ! 0%{?_vpath_builddir:1}
  52. %global _vpath_builddir build
  53. %endif
  54. %if ! 0%{?__global_ldflags:1}
  55. %global __global_ldflags ""
  56. %endif
  57. %meson -D udevrulesdir=/etc/udev/rules.d
  58. (cd %{_vpath_builddir}
  59. meson configure -D examples=false
  60. # don't have root for installation
  61. meson configure -D useroot=false
  62. ninja-build reconfigure
  63. )
  64. %meson_build
  65. %install
  66. export MESON_INSTALL_DESTDIR_PREFIX=%{buildroot}/usr %meson_install
  67. find %{buildroot} .
  68. find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
  69. # change from 4755 to 0755 to allow stripping -- fixed later in files
  70. chmod 0755 %{buildroot}/%{_bindir}/fusermount3
  71. # Get rid of static libs
  72. rm -f %{buildroot}/%{_libdir}/*.a
  73. # No need to create init-script
  74. rm -f %{buildroot}%{_sysconfdir}/init.d/fuse3
  75. # Install config-file
  76. install -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}
  77. # Delete pointless udev rules, which do not belong in /usr/lib (brc#748204)
  78. rm -f %{buildroot}/usr/lib/udev/rules.d/99-fuse3.rules
  79. %post -p /sbin/ldconfig libs
  80. %postun -p /sbin/ldconfig libs
  81. %files
  82. %{!?_licensedir:%global license %%doc}
  83. %license LICENSE GPL2.txt
  84. %doc AUTHORS ChangeLog.rst README.md
  85. %{_sbindir}/mount.fuse3
  86. %attr(4755,root,root) %{_bindir}/fusermount3
  87. %{_mandir}/man1/*
  88. %{_mandir}/man8/*
  89. %{_sysconfdir}/udev/rules.d/*
  90. %files libs
  91. %license LGPL2.txt
  92. %{_libdir}/libfuse3.so.*
  93. %files devel
  94. %{_libdir}/libfuse3.so
  95. %{_libdir}/pkgconfig/fuse3.pc
  96. %{_includedir}/fuse3/
  97. %files -n fuse-common
  98. %config(noreplace) %{_sysconfdir}/fuse.conf
  99. %changelog
  100. * Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.10.2-1
  101. - new upstream release.
  102. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.9.2-2
  103. - initial build for Vine Linux.
  104. * Thu Jun 18 2020 Tom Callaway <spot@fedoraproject.org> - 3.9.2-1
  105. - update to 3.9.2
  106. * Thu Mar 19 2020 Tom Callaway <spot@fedoraproject.org> - 3.9.1-1
  107. - update to 3.9.1
  108. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  110. * Mon Dec 16 2019 Tom Callaway <spot@fedoraproject.org> - 3.9.0-1
  111. - update to 3.9.0
  112. * Mon Nov 4 2019 Tom Callaway <spot@fedoraproject.org> - 3.8.0-1
  113. - update to 3.8.0
  114. * Fri Sep 27 2019 Tom Callaway <spot@fedoraproject.org> - 3.7.0-1
  115. - update to 3.7.0
  116. * Sun Sep 1 2019 Peter Lemenkov <lemenkov@gmail.com> - 3.6.2-1
  117. - Update to 3.6.2
  118. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-4
  119. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  120. * Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-3
  121. - Update to the final version of pr #421
  122. * Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-2
  123. - Update to newer version of pr #421
  124. - Disable building examples on el7
  125. * Thu Jun 13 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.1-1
  126. - Update to 3.6.1
  127. * Fri May 24 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.5.0-1
  128. - Upgrade to upstream 3.5.0
  129. * Sat May 04 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-7
  130. - Fix building on el6
  131. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-6
  132. - Need Conflicts: fuse-common < 3.4.2-4, because <= 3.4.2-3 isn't quite
  133. enough.
  134. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-5
  135. - Update the Conflicts: fuse-common <= version to 3.4.2-3
  136. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-4
  137. - Bump release number in order to larger than a rebuild of fuse package
  138. done before separation pull request was merged.
  139. * Mon Apr 08 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-3
  140. - Separate out from fuse package