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