2006-01-15 10:16:27 +00:00
|
|
|
Name: fuse
|
2006-11-11 06:14:37 +00:00
|
|
|
Version: 2.6.0
|
|
|
|
Release: 1%{?dist}
|
2006-01-15 10:16:27 +00:00
|
|
|
Summary: File System in Userspace (FUSE) utilities
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL
|
|
|
|
URL: http://fuse.sf.net
|
2006-02-07 20:52:31 +00:00
|
|
|
Source0: http://dl.sourceforge.net/sourceforge/fuse/%{name}-%{version}.tar.gz
|
2006-01-15 10:16:27 +00:00
|
|
|
Source1: fuse-udev.nodes
|
|
|
|
Source2: fuse-makedev.d-fuse
|
|
|
|
Source3: fuse-README.fedora
|
|
|
|
|
2006-02-13 11:10:34 +00:00
|
|
|
Patch0: fuse-udev_rules.patch
|
2006-01-15 10:16:27 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: kernel >= 2.6.14
|
|
|
|
Requires(pre): %{_sbindir}/groupadd
|
|
|
|
Requires(post): /sbin/MAKEDEV
|
|
|
|
Requires(postun): %{_sbindir}/groupdel
|
|
|
|
|
|
|
|
%description
|
|
|
|
With FUSE it is possible to implement a fully functional filesystem in a
|
|
|
|
userspace program. This package contains the FUSE userspace tools to
|
|
|
|
mount a FUSE filesystem.
|
|
|
|
|
|
|
|
Note: For security reasons only members of the group "fuse" are allowed to
|
|
|
|
(u)mount fuse filesystems. You can find more details on this issue in
|
|
|
|
%{_docdir}/%{name}-%{version}/README.fedora
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: File System in Userspace (FUSE) libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPL
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
Devel With FUSE it is possible to implement a fully functional filesystem in a
|
|
|
|
userspace program. This package contains the FUSE libraries.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: File System in Userspace (FUSE) devel files
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2006-02-13 07:35:30 +00:00
|
|
|
Requires: pkgconfig
|
2006-01-15 10:16:27 +00:00
|
|
|
License: LGPL
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
With FUSE it is possible to implement a fully functional filesystem in a
|
|
|
|
userspace program. This package contains development files (headers,
|
|
|
|
pgk-config) to develop FUSE based applications/filesystems.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#disable device creation during build/install
|
|
|
|
sed -i 's|mknod|echo Disabled: mknod |g' util/Makefile.in
|
2006-02-13 11:10:34 +00:00
|
|
|
%patch0 -b .patch0
|
2006-01-15 10:16:27 +00:00
|
|
|
cp %{SOURCE3} README.fedora
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-kernel-module
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
2006-11-11 06:14:37 +00:00
|
|
|
# FIXME change from 60 to 99
|
|
|
|
install -D -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/makedev.d/99-fuse.nodes
|
2006-01-15 10:16:27 +00:00
|
|
|
install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/makedev.d/z-fuse
|
|
|
|
# change from 4755 to 0755 to allow stripping -- fixed later in files
|
|
|
|
chmod 0755 $RPM_BUILD_ROOT/%{_bindir}/fusermount
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
%{_sbindir}/groupadd -r fuse &>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/MAKEDEV fuse
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
%{_sbindir}/groupdel fuse || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc AUTHORS ChangeLog COPYING FAQ Filesystems NEWS README README.NFS README.fedora
|
|
|
|
/sbin/mount.fuse
|
2006-11-11 06:14:37 +00:00
|
|
|
%attr(4754,root,fuse)
|
|
|
|
%{_bindir}/fusermount
|
|
|
|
%{_bindir}/ulockmgr_server
|
|
|
|
%{_sysconfdir}/init.d/fuse
|
2006-01-15 10:16:27 +00:00
|
|
|
%{_sysconfdir}/makedev.d/z-fuse
|
2006-11-11 06:14:37 +00:00
|
|
|
%config %{_sysconfdir}/udev/rules.d/99-fuse.rules
|
|
|
|
%{_sysconfdir}/udev/makedev.d/99-fuse.nodes
|
2006-01-15 10:16:27 +00:00
|
|
|
|
|
|
|
%files libs
|
|
|
|
%doc COPYING.LIB
|
|
|
|
%{_libdir}/libfuse.so.*
|
2006-11-11 06:14:37 +00:00
|
|
|
%{_libdir}/libulockmgr.so.*
|
2006-01-15 10:16:27 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libfuse.so
|
2006-11-11 06:14:37 +00:00
|
|
|
%{_libdir}/libulockmgr.so
|
2006-01-15 10:16:27 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/fuse.h
|
2006-11-11 06:14:37 +00:00
|
|
|
%{_includedir}/ulockmgr.h
|
2006-01-15 10:16:27 +00:00
|
|
|
%{_includedir}/fuse
|
|
|
|
|
|
|
|
%changelog
|
2006-03-30 06:33:08 +00:00
|
|
|
|
2006-11-11 06:14:37 +00:00
|
|
|
* Fri Nov 3 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.0-1
|
|
|
|
- Ver. 2.6.0
|
|
|
|
|
2006-10-29 19:30:32 +00:00
|
|
|
* Sun Oct 29 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-5
|
|
|
|
- Fixed udev-rule again
|
|
|
|
|
2006-10-07 06:47:05 +00:00
|
|
|
* Sat Oct 7 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-4
|
|
|
|
- Fixed udev-rule
|
|
|
|
|
2006-09-12 05:08:34 +00:00
|
|
|
* Tue Sep 12 2006 Peter Lemenkov <lemenkov@gmail.com> 2.5.3-3%{?dist}
|
|
|
|
- Rebuild for FC6
|
|
|
|
|
2006-05-03 08:54:29 +00:00
|
|
|
* Wed May 03 2006 Peter Lemenkov <lemenkov@newmail.ru> 2.5.3-1%{?dist}
|
|
|
|
- Update to 2.5.3
|
|
|
|
|
2006-03-30 06:33:08 +00:00
|
|
|
* Thu Mar 30 2006 Peter Lemenkov <lemenkov@newmail.ru> 2.5.2-4%{?dist}
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-13 11:10:34 +00:00
|
|
|
* Mon Feb 13 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-3
|
|
|
|
- Proper udev rule
|
|
|
|
|
2006-02-13 07:35:30 +00:00
|
|
|
* Mon Feb 13 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-2
|
|
|
|
- Added missing requires
|
|
|
|
|
2006-02-07 20:52:31 +00:00
|
|
|
* Tue Feb 07 2006 Peter Lemenkov <lemenkov@newmail.ru> - 2.5.2-1
|
|
|
|
- Update to 2.5.2
|
|
|
|
- Dropped fuse-mount.fuse.patch
|
|
|
|
|
2006-01-15 10:16:27 +00:00
|
|
|
* Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
|
|
|
|
- Use dist
|
|
|
|
|
|
|
|
* Wed Nov 23 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.2-1
|
|
|
|
- Update to 2.4.2 (solves CVE-2005-3531)
|
|
|
|
- Update README.fedora
|
|
|
|
|
|
|
|
* Sat Nov 12 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-3
|
|
|
|
- Add README.fedora
|
|
|
|
- Add hint to README.fedora and that you have to be member of the group "fuse"
|
|
|
|
in the description
|
|
|
|
- Use groupadd instead of fedora-groupadd
|
|
|
|
|
|
|
|
* Fri Nov 04 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-2
|
|
|
|
- Rename packages a bit
|
|
|
|
- use makedev.d/40-fuse.nodes
|
|
|
|
- fix /sbin/mount.fuse
|
|
|
|
- Use a fuse group to restict access to fuse-filesystems
|
|
|
|
|
|
|
|
* Fri Oct 28 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.4.1-1
|
|
|
|
- Initial RPM release.
|