2006-01-15 10:16:27 +00:00
|
|
|
Name: fuse
|
2008-02-20 21:38:16 +00:00
|
|
|
Version: 2.7.3
|
|
|
|
Release: 1%{?dist}
|
2006-01-15 10:16:27 +00:00
|
|
|
Summary: File System in Userspace (FUSE) utilities
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
2008-01-21 15:05:36 +00:00
|
|
|
License: GPL+
|
2006-01-15 10:16:27 +00:00
|
|
|
URL: http://fuse.sf.net
|
2007-05-12 13:51:26 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
2006-01-15 10:16:27 +00:00
|
|
|
Source1: fuse-udev.nodes
|
|
|
|
Source2: fuse-makedev.d-fuse
|
|
|
|
|
2006-02-13 11:10:34 +00:00
|
|
|
Patch0: fuse-udev_rules.patch
|
2008-02-20 21:38:16 +00:00
|
|
|
Patch1: fuse-openfix.patch
|
|
|
|
Patch2: fuse-chkconfig_support.diff
|
2006-01-15 10:16:27 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: kernel >= 2.6.14
|
2007-10-01 10:28:03 +00:00
|
|
|
Requires: which
|
2007-06-05 21:38:46 +00:00
|
|
|
BuildRequires: libselinux-devel
|
2006-01-15 10:16:27 +00:00
|
|
|
|
2008-02-20 21:38:16 +00:00
|
|
|
Requires(post): /sbin/chkconfig
|
|
|
|
Requires(post): /sbin/MAKEDEV
|
|
|
|
Requires(preun): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/service
|
|
|
|
Requires(postun):/sbin/service
|
|
|
|
|
2006-01-15 10:16:27 +00:00
|
|
|
%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.
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: File System in Userspace (FUSE) libraries
|
|
|
|
Group: System Environment/Libraries
|
2008-01-21 15:05:36 +00:00
|
|
|
License: LGPLv2+
|
2006-01-15 10:16:27 +00:00
|
|
|
|
|
|
|
%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
|
2008-01-21 15:05:36 +00:00
|
|
|
License: LGPLv2+
|
2006-01-15 10:16:27 +00:00
|
|
|
|
|
|
|
%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
|
2008-02-20 21:38:16 +00:00
|
|
|
%patch0 -p0 -b .patch0
|
|
|
|
%patch1 -p0 -b .patch1
|
|
|
|
%patch2 -p0 -b .patch2
|
2006-01-15 10:16:27 +00:00
|
|
|
|
|
|
|
%build
|
2007-07-22 05:58:39 +00:00
|
|
|
# Can't pass --disable-static here, or else the utils don't build
|
2006-01-15 10:16:27 +00:00
|
|
|
%configure \
|
2007-07-22 05:58:39 +00:00
|
|
|
--disable-kernel-module \
|
|
|
|
--libdir=/%{_lib} \
|
|
|
|
--bindir=/bin \
|
|
|
|
--exec-prefix=/
|
2006-01-15 10:16:27 +00:00
|
|
|
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
|
2007-07-22 05:58:39 +00:00
|
|
|
chmod 0755 $RPM_BUILD_ROOT/bin/fusermount
|
2007-07-24 16:15:01 +00:00
|
|
|
# Put pc file in correct place
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT%{_libdir}
|
2006-01-15 10:16:27 +00:00
|
|
|
|
2007-07-22 05:58:39 +00:00
|
|
|
# Get rid of static libs
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/*.a
|
2006-01-15 10:16:27 +00:00
|
|
|
|
2007-07-24 16:15:01 +00:00
|
|
|
# Compatibility symlinks
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
cd $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
ln -s /bin/fusermount fusermount
|
|
|
|
ln -s /bin/ulockmgr_server ulockmgr_server
|
|
|
|
|
2006-01-15 10:16:27 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/MAKEDEV fuse
|
2008-02-20 21:38:16 +00:00
|
|
|
/sbin/chkconfig --add fuse
|
2006-01-15 10:16:27 +00:00
|
|
|
|
2008-02-20 21:38:16 +00:00
|
|
|
%preun
|
2006-01-15 10:16:27 +00:00
|
|
|
if [ $1 = 0 ]; then
|
2008-02-20 21:38:16 +00:00
|
|
|
/sbin/service fuse stop >/dev/null 2>&1
|
|
|
|
/sbin/chkconfig --del fuse
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
/sbin/service fuse condrestart >/dev/null 2>&1 || :
|
2006-01-15 10:16:27 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2007-02-22 14:23:20 +00:00
|
|
|
%defattr(-,root,root,-)
|
2008-02-20 21:38:16 +00:00
|
|
|
%doc AUTHORS ChangeLog COPYING FAQ Filesystems NEWS README README.NFS
|
2006-01-15 10:16:27 +00:00
|
|
|
/sbin/mount.fuse
|
2008-02-20 21:38:16 +00:00
|
|
|
/bin/fusermount
|
2007-07-22 05:58:39 +00:00
|
|
|
/bin/ulockmgr_server
|
2006-11-11 06:14:37 +00:00
|
|
|
%{_sysconfdir}/init.d/fuse
|
2006-01-15 10:16:27 +00:00
|
|
|
%{_sysconfdir}/makedev.d/z-fuse
|
2007-07-24 16:15:01 +00:00
|
|
|
# Compat symlinks
|
|
|
|
%{_bindir}/fusermount
|
|
|
|
%{_bindir}/ulockmgr_server
|
2006-11-11 06:14:37 +00:00
|
|
|
%config %{_sysconfdir}/udev/rules.d/99-fuse.rules
|
2007-06-05 21:38:46 +00:00
|
|
|
%config %{_sysconfdir}/udev/makedev.d/99-fuse.nodes
|
2006-01-15 10:16:27 +00:00
|
|
|
|
|
|
|
%files libs
|
2007-02-22 14:23:20 +00:00
|
|
|
%defattr(-,root,root,-)
|
2006-01-15 10:16:27 +00:00
|
|
|
%doc COPYING.LIB
|
2007-07-22 05:58:39 +00:00
|
|
|
/%{_lib}/libfuse.so.*
|
|
|
|
/%{_lib}/libulockmgr.so.*
|
2006-01-15 10:16:27 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2007-07-22 05:58:39 +00:00
|
|
|
/%{_lib}/libfuse.so
|
|
|
|
/%{_lib}/libulockmgr.so
|
2007-07-24 16:15:01 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2006-01-15 10:16:27 +00:00
|
|
|
%{_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
|
2008-02-20 21:38:16 +00:00
|
|
|
* Wed Feb 20 2008 Peter Lemenkov <lemenkov@gmail.com> 2.7.3-1
|
|
|
|
- Ver. 2.7.3
|
|
|
|
- Removed usergroup fuse
|
|
|
|
- Added chkconfig support (BZ#228088)
|
|
|
|
|
2008-02-19 18:36:38 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.7.2-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-21 15:05:36 +00:00
|
|
|
* Mon Jan 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.2-1
|
|
|
|
- bump to 2.7.2
|
|
|
|
- fix license tag
|
|
|
|
|
|
|
|
* Sun Nov 4 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-9
|
|
|
|
- fix initscript to work with chkconfig
|
2007-10-01 10:28:03 +00:00
|
|
|
|
|
|
|
* Mon Oct 1 2007 Peter Lemenkov <lemenkov@gmail.com> 2.7.0-8
|
|
|
|
- Added Require: which (BZ#312511)
|
|
|
|
|
2007-09-21 17:00:53 +00:00
|
|
|
* Fri Sep 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-7
|
|
|
|
- revert udev rules change
|
|
|
|
|
2007-09-20 19:59:00 +00:00
|
|
|
* Thu Sep 20 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-6
|
|
|
|
- change udev rules so that /dev/fuse is chmod 666 (bz 298651)
|
|
|
|
|
2007-08-29 21:24:37 +00:00
|
|
|
* Wed Aug 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-5
|
|
|
|
- fix open issue (bz 265321)
|
|
|
|
|
2007-08-29 05:21:13 +00:00
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.7.0-4
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-24 16:15:01 +00:00
|
|
|
* Sun Jul 22 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-3
|
|
|
|
- put pkgconfig file in correct place
|
|
|
|
- enable compat symlinks for files in /bin
|
|
|
|
|
2007-07-22 05:58:39 +00:00
|
|
|
* Sat Jul 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.7.0-2
|
|
|
|
- redefine exec_prefix to /
|
|
|
|
- redefine bindir to /bin
|
|
|
|
- redefine libdir to %%{_lib}
|
|
|
|
- don't pass --disable-static to configure
|
|
|
|
- manually rm generated static libs
|
|
|
|
|
|
|
|
* Wed Jul 18 2007 Peter Lemenkov <lemenkov@gmail.com> 2.7.0-1
|
|
|
|
- Version 2.7.0
|
|
|
|
- Redefined exec_prefix due to demands from NTFS-3G
|
2006-03-30 06:33:08 +00:00
|
|
|
|
2007-06-05 21:38:46 +00:00
|
|
|
* Wed Jun 6 2007 Peter Lemenkov <lemenkov@gmail.com> 2.6.5-2
|
|
|
|
- Add BR libselinux-devel (bug #235145)
|
|
|
|
- Config files properly marked as config (bug #211122)
|
|
|
|
|
2007-05-12 13:51:26 +00:00
|
|
|
* Sat May 12 2007 Peter Lemenkov <lemenkov@gmail.com> 2.6.5-1
|
|
|
|
- Version 2.6.5
|
|
|
|
|
2007-02-22 14:23:20 +00:00
|
|
|
* Thu Feb 22 2007 Peter Lemenkov <lemenkov@gmail.com> 2.6.3-2
|
|
|
|
- Fixed bug #229642
|
|
|
|
|
2007-02-07 08:58:53 +00:00
|
|
|
* Wed Feb 7 2007 Peter Lemenkov <lemenkov@gmail.com> 2.6.3-1
|
|
|
|
* Ver. 2.6.3
|
|
|
|
|
2006-12-26 18:56:22 +00:00
|
|
|
* Tue Dec 26 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.1-1
|
|
|
|
- Ver. 2.6.1
|
|
|
|
|
2006-11-25 10:43:21 +00:00
|
|
|
* Sat Nov 25 2006 Peter Lemenkov <lemenkov@gmail.com> 2.6.0-2
|
|
|
|
- fixed nasty typo (see bug #217075)
|
|
|
|
|
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.
|