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