fuse3-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. Name: fuse3
  2. Summary: File System in Userspace (FUSE) v3 utilities
  3. Version: 3.10.5
  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 Nov 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.10.5-1
  99. - new upstream release.
  100. - dropped ldconfig scriptlets.
  101. * Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.10.2-1
  102. - new upstream release.
  103. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.9.2-2
  104. - initial build for Vine Linux.
  105. * Thu Jun 18 2020 Tom Callaway <spot@fedoraproject.org> - 3.9.2-1
  106. - update to 3.9.2
  107. * Thu Mar 19 2020 Tom Callaway <spot@fedoraproject.org> - 3.9.1-1
  108. - update to 3.9.1
  109. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  111. * Mon Dec 16 2019 Tom Callaway <spot@fedoraproject.org> - 3.9.0-1
  112. - update to 3.9.0
  113. * Mon Nov 4 2019 Tom Callaway <spot@fedoraproject.org> - 3.8.0-1
  114. - update to 3.8.0
  115. * Fri Sep 27 2019 Tom Callaway <spot@fedoraproject.org> - 3.7.0-1
  116. - update to 3.7.0
  117. * Sun Sep 1 2019 Peter Lemenkov <lemenkov@gmail.com> - 3.6.2-1
  118. - Update to 3.6.2
  119. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-4
  120. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  121. * Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-3
  122. - Update to the final version of pr #421
  123. * Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-2
  124. - Update to newer version of pr #421
  125. - Disable building examples on el7
  126. * Thu Jun 13 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.1-1
  127. - Update to 3.6.1
  128. * Fri May 24 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.5.0-1
  129. - Upgrade to upstream 3.5.0
  130. * Sat May 04 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-7
  131. - Fix building on el6
  132. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-6
  133. - Need Conflicts: fuse-common < 3.4.2-4, because <= 3.4.2-3 isn't quite
  134. enough.
  135. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-5
  136. - Update the Conflicts: fuse-common <= version to 3.4.2-3
  137. * Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-4
  138. - Bump release number in order to larger than a rebuild of fuse package
  139. done before separation pull request was merged.
  140. * Mon Apr 08 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-3
  141. - Separate out from fuse package