fuse3-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. Name: fuse3
  2. Summary: File System in Userspace (FUSE) v3 utilities
  3. Version: 3.16.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. %files
  80. %{!?_licensedir:%global license %%doc}
  81. %license LICENSE GPL2.txt
  82. %doc AUTHORS ChangeLog.rst README.md
  83. %{_sbindir}/mount.fuse3
  84. %attr(4755,root,root) %{_bindir}/fusermount3
  85. %{_mandir}/man1/*
  86. %{_mandir}/man8/*
  87. %{_sysconfdir}/udev/rules.d/*
  88. %files libs
  89. %license LGPL2.txt
  90. %{_libdir}/libfuse3.so.*
  91. %files devel
  92. %{_libdir}/libfuse3.so
  93. %{_libdir}/pkgconfig/fuse3.pc
  94. %{_includedir}/fuse3/
  95. %files -n fuse-common
  96. %config(noreplace) %{_sysconfdir}/fuse.conf
  97. %changelog
  98. * Mon Oct 30 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.16.2-1
  99. - new upstream release.
  100. * Fri Dec 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.12.0-1
  101. - new upstream release.
  102. * Mon Nov 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.10.5-1
  103. - new upstream release.
  104. - dropped ldconfig scriptlets.
  105. * Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.10.2-1
  106. - new upstream release.
  107. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.9.2-2
  108. - initial build for Vine Linux.
  109. * Thu Jun 18 2020 Tom Callaway <spot@fedoraproject.org> - 3.9.2-1
  110. - update to 3.9.2
  111. * Thu Mar 19 2020 Tom Callaway <spot@fedoraproject.org> - 3.9.1-1
  112. - update to 3.9.1
  113. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2
  114. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  115. * Mon Dec 16 2019 Tom Callaway <spot@fedoraproject.org> - 3.9.0-1
  116. - update to 3.9.0
  117. * Mon Nov 4 2019 Tom Callaway <spot@fedoraproject.org> - 3.8.0-1
  118. - update to 3.8.0
  119. * Fri Sep 27 2019 Tom Callaway <spot@fedoraproject.org> - 3.7.0-1
  120. - update to 3.7.0
  121. * Sun Sep 1 2019 Peter Lemenkov <lemenkov@gmail.com> - 3.6.2-1
  122. - Update to 3.6.2
  123. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-4
  124. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  125. * Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-3
  126. - Update to the final version of pr #421
  127. * Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-2
  128. - Update to newer version of pr #421
  129. - Disable building examples on el7
  130. * Thu Jun 13 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.1-1
  131. - Update to 3.6.1
  132. * Fri May 24 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.5.0-1
  133. - Upgrade to upstream 3.5.0
  134. * Sat May 04 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-7
  135. - Fix building on el6
  136. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-6
  137. - Need Conflicts: fuse-common < 3.4.2-4, because <= 3.4.2-3 isn't quite
  138. enough.
  139. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-5
  140. - Update the Conflicts: fuse-common <= version to 3.4.2-3
  141. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-4
  142. - Bump release number in order to larger than a rebuild of fuse package
  143. done before separation pull request was merged.
  144. * Mon Apr 08 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-3
  145. - Separate out from fuse package