]> git.pld-linux.org Git - packages/libfuse.git/blame - libfuse.spec
- updated to 2.9.9
[packages/libfuse.git] / libfuse.spec
CommitLineData
9c73f04f 1Summary: Filesystem in Userspace
8bb117ff 2Summary(pl.UTF-8): System plików w przestrzeni użytkownika
e4d64625 3Name: libfuse
7f2ac30a 4Version: 2.9.9
736afaf3 5Release: 1
336124d2 6License: LGPL v2 (library), GPL v2 (tools)
fb76d4f3 7Group: Applications/System
de44e63c
JB
8#Source0Download: https://github.com/libfuse/libfuse/releases
9Source0: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.gz
7f2ac30a 10# Source0-md5: 8000410aadc9231fd48495f7642f3312
d6263038 11Patch0: kernel-misc-fuse-Makefile.am.patch
a3b538f8 12URL: https://github.com/libfuse/libfuse
e459071a 13BuildRequires: autoconf >= 2.60
5bf8c553 14BuildRequires: automake
e868be44 15BuildRequires: libtool
4d1cfd58 16BuildRequires: sed >= 4.0
10eda4b7 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c28e4405 18
9c73f04f 19%description
20FUSE (Filesystem in Userspace) is a simple interface for userspace
544fbe9d 21programs to export a virtual filesystem to the Linux kernel. FUSE also
9c73f04f 22aims to provide a secure method for non privileged users to create and
23mount their own filesystem implementations.
24
d6263038
JB
25This package contains a shared library.
26
fa7f9ca7
JR
27%description -l pl.UTF-8
28FUSE stanowi prosty interfejs dla programów działających w przestrzeni
29użytkownika eksportujący wirtualny system plików do jądra Linuksa.
30FUSE ma również na celu udostępnienie bezpiecznej metody tworzenia i
31montowania własnych implementacji systemów plików przez zwykłych
32(nieuprzywilejowanych) użytkowników.
9c73f04f 33
fa7f9ca7 34Ten pakiet zawiera bibliotekę współdzieloną.
d6263038
JB
35
36%package devel
0f68f768 37Summary: Filesystem in Userspace - development header files
8bb117ff 38Summary(pl.UTF-8): System plików w przestrzeni użytkownika - pliki nagłówkowe
336124d2 39License: LGPL v2
d6263038 40Group: Development/Libraries
0d76d811 41Requires: %{name} = %{version}-%{release}
d6263038
JB
42
43%description devel
0f68f768 44FUSE libraries header files.
d6263038 45
fa7f9ca7 46%description devel -l pl.UTF-8
0f68f768 47Pliki nagłówkowe bibliotek FUSE.
d6263038
JB
48
49%package static
0f68f768
JB
50Summary: Filesystem in Userspace - static libraries
51Summary(pl.UTF-8): System plików w przestrzeni użytkownika - biblioteki statyczne
336124d2 52License: LGPL v2
2d1d7461 53Group: Development/Libraries
0d76d811 54Requires: %{name}-devel = %{version}-%{release}
d6263038
JB
55
56%description static
0f68f768 57Static FUSE libraries.
d6263038 58
fa7f9ca7 59%description static -l pl.UTF-8
0f68f768 60Statyczne biblioteki FUSE.
d6263038 61
336124d2
JB
62%package apidocs
63Summary: API documentation for FUSE library
64Summary(pl.UTF-8): Dokumentacja API bibliotek FUSE
65Group: Documentation
66
67%description apidocs
68API documentation for FUSE library.
69
70%description apidocs -l pl.UTF-8
71Dokumentacja API bibliotek FUSE.
72
73%package tools
74Summary: Tools to mount FUSE based filesystems
75Summary(pl.UTF-8): Narzędzia do montowania systemów plików opartych na FUSE
76License: GPL v2
77Group: Applications/System
78Requires(pre): /usr/bin/getgid
79Requires(pre): /usr/sbin/groupadd
80Requires: %{name} = %{version}-%{release}
81Requires: libfuse-common >= %{version}
82Requires: mount >= 2.18
83Provides: group(fuse)
84Obsoletes: fusermount
85
86%description tools
87Tools to mount FUSE based filesystems.
88
89%description tools -l pl.UTF-8
90Narzędzia do montowania systemów plików opartych na FUSE.
91
9c73f04f 92%prep
4965dc0c 93%setup -q -n fuse-%{version}
3d2362f9 94%patch0 -p1
d6263038 95
202ebc3b 96sed -i '/FUSERMOUNT_PROG/s,fusermount,%{_bindir}/fusermount,' lib/mount.c
9c73f04f 97
6e44c885
JB
98# gold is missing base versioning
99install -d ld-dir
100[ ! -x /usr/bin/ld.bfd ] || ln -sf /usr/bin/ld.bfd ld-dir/ld
101
9c73f04f 102%build
6e44c885 103PATH=$(pwd)/ld-dir:$PATH
496fbb04 104%{__libtoolize}
a35003d8
PS
105%{__aclocal}
106%{__autoconf}
e459071a 107%{__autoheader}
a35003d8 108%{__automake}
c660eb4c 109%configure \
e4d64625 110 INIT_D_PATH=/etc/rc.d/init.d \
e459071a 111 --disable-silent-rules \
d6263038 112 --enable-lib \
e4d64625 113 --enable-util
7fb6785c 114
e4d64625 115%{__make}
9c73f04f 116
9c73f04f 117%install
118rm -rf $RPM_BUILD_ROOT
6fe6dd7d 119install -d $RPM_BUILD_ROOT{/%{_lib},%{_pkgconfigdir},%{_sysconfdir}}
9c73f04f 120
e4d64625 121%{__make} install \
496fbb04 122 DESTDIR=$RPM_BUILD_ROOT
496fbb04 123
336124d2 124%{__mv} $RPM_BUILD_ROOT%{_libdir}/libfuse.so.* $RPM_BUILD_ROOT/%{_lib}
6fe6dd7d 125%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfuse.so
336124d2 126ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libfuse.so.*.*) \
6fe6dd7d
JR
127 $RPM_BUILD_ROOT%{_libdir}/libfuse.so
128
496fbb04 129install fuse.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
8413d3ec 130
396f9557 131# part of default udev rules nowdays
336124d2 132%{__rm} $RPM_BUILD_ROOT/etc/udev/rules.d/99-fuse.rules
396f9557
AM
133
134# not needed
336124d2 135%{__rm} $RPM_BUILD_ROOT/etc/rc.d/init.d/fuse
396f9557 136
c02bbc70
JB
137%clean
138rm -rf $RPM_BUILD_ROOT
139
d6263038 140%post -p /sbin/ldconfig
cefe4f98 141%postun -p /sbin/ldconfig
d6263038 142
336124d2
JB
143%pre tools
144%groupadd -g 84 fuse
145
9c73f04f 146%files
147%defattr(644,root,root,755)
336124d2 148%doc README.md NEWS ChangeLog AUTHORS doc/{how-fuse-works,kernel.txt}
6fe6dd7d
JR
149%attr(755,root,root) /%{_lib}/libfuse.so.*.*.*
150%attr(755,root,root) %ghost /%{_lib}/libfuse.so.2
c6e9eee0
JB
151%attr(755,root,root) %{_libdir}/libulockmgr.so.*.*.*
152%attr(755,root,root) %ghost %{_libdir}/libulockmgr.so.1
4965dc0c 153
d6263038 154%files devel
4965dc0c 155%defattr(644,root,root,755)
c6e9eee0
JB
156%attr(755,root,root) %{_libdir}/libfuse.so
157%attr(755,root,root) %{_libdir}/libulockmgr.so
158%{_libdir}/libfuse.la
159%{_libdir}/libulockmgr.la
160%{_includedir}/fuse
161%{_includedir}/fuse.h
80df11a9 162%{_includedir}/ulockmgr.h
496fbb04 163%{_pkgconfigdir}/fuse.pc
9c73f04f 164
d6263038 165%files static
4965dc0c 166%defattr(644,root,root,755)
c6e9eee0
JB
167%{_libdir}/libfuse.a
168%{_libdir}/libulockmgr.a
336124d2
JB
169
170%files apidocs
171%defattr(644,root,root,755)
172%doc doc/html/*
173
174%files tools
175%defattr(644,root,root,755)
176%attr(4755,root,root) %{_bindir}/fusermount
177%attr(755,root,root) %{_bindir}/ulockmgr_server
178%attr(755,root,root) /sbin/mount.fuse
179%{_mandir}/man1/fusermount.1*
180%{_mandir}/man1/ulockmgr_server.1*
181%{_mandir}/man8/mount.fuse.8*
This page took 0.090651 seconds and 4 git commands to generate.