fuse3-vl.spec 4.9 KB

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