190 lines
5.4 KiB
RPMSpec
190 lines
5.4 KiB
RPMSpec
#
|
|
# spec file for package fuse (Version 2.6.5)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: fuse
|
|
Summary: Userspace File System
|
|
Version: 2.6.5
|
|
Release: 1
|
|
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
|
Group: System/Filesystems
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Source1: boot.fuse
|
|
Patch: fuse-install-fix.diff
|
|
URL: http://fuse.sourceforge.net
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
PreReq: %insserv_prereq permissions
|
|
|
|
%description
|
|
With FUSE, a userspace program can export a file system through the
|
|
Linux kernel.
|
|
|
|
To use fuse, you need an additional fuse module, like sshfs.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Miklos Szeredi <miklos@szeredi.hu>
|
|
|
|
%package devel
|
|
Summary: user space filesystem
|
|
Group: System/Filesystems
|
|
Requires: fuse = %{version} glibc-devel
|
|
|
|
%description devel
|
|
With FUSE a userspace program can export a filesystem through the Linux
|
|
kernel.
|
|
|
|
To use fuse you need an additional fuse module, like fuse_kio.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Miklos Szeredi <mszeredi@inf.bme.hu>
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
%build
|
|
autoreconf -fi
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
%configure \
|
|
--disable-kernel-module \
|
|
--enable-lib \
|
|
--enable-util \
|
|
--enable-example
|
|
make
|
|
|
|
%install
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d
|
|
install -m755 -D %{S:1} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/boot.fuse
|
|
|
|
%post
|
|
%{insserv_force_if_yast boot.fuse}
|
|
%run_ldconfig
|
|
%run_permissions
|
|
|
|
%verifyscript
|
|
%verify_permissions -e %{_bindir}/fusermount
|
|
|
|
%preun
|
|
%stop_on_removal boot.fuse
|
|
|
|
%postun
|
|
%run_ldconfig
|
|
%insserv_cleanup
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%config %{_sysconfdir}/init.d/boot.fuse
|
|
%doc AUTHORS COPYING* ChangeLog FAQ NEWS README*
|
|
%{_libdir}/lib*.so.*
|
|
%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount
|
|
/sbin/mount.fuse
|
|
%{_bindir}/ulockmgr_server
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.*a
|
|
%{_includedir}/fuse.h
|
|
%{_includedir}/fuse
|
|
%{_includedir}/ulockmgr.h
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|
|
* Wed May 02 2007 - mszeredi@suse.de
|
|
- updated to version 2.6.5
|
|
* mount.fuse script fixes
|
|
* fix exiting on umount for filesystems which block SIGHUP
|
|
- udev rule for fuse device is now in udev package
|
|
- don't remove fuse module in the init-script
|
|
- use 'fusectl' as the filesystem source
|
|
* Fri Feb 09 2007 - ro@suse.de
|
|
- change fillup_and_insserv to insserv_force_if_yast in post-script
|
|
(there is no sysconfig file involved here)
|
|
* Wed Feb 07 2007 - mszeredi@suse.cz
|
|
- added init script which loads the fuse module and mounts the control
|
|
filesystem (#223663)
|
|
* Mon Feb 05 2007 - mszeredi@suse.cz
|
|
- updated to version 2.6.3:
|
|
* fix regression causing an abort during heavy filesystem use
|
|
* update author's email
|
|
* Tue Jan 30 2007 - tiwai@suse.de
|
|
- updated to version 2.6.2:
|
|
* fix 64bit compile problems
|
|
* fix fuse_teardown problem
|
|
* fix unaligned access in file descriptor in libfuse
|
|
* fix detection of fuseblk
|
|
* fix use after free in fuse_flush
|
|
* fix compatible API for opts == NULL
|
|
* Thu Jan 18 2007 - tiwai@suse.de
|
|
- fix compat API (#233870)
|
|
* Tue Dec 19 2006 - tiwai@suse.de
|
|
- updated to version 2.6.1:
|
|
* improved fusermout help texts
|
|
* fix automake problems
|
|
* Mon Oct 23 2006 - cthiel@suse.de
|
|
- update to version 2.6.0
|
|
* Improved read characteristics (asynchronous reads)
|
|
* Support for aborting filesystem connection
|
|
* POSIX file locking support
|
|
* Request interruption support
|
|
* Building module for Linux kernels earlier than 2.6.9 not supported
|
|
* Allow block device based filesystems to support swap files
|
|
* Several bugs fixed, including a rare system hang on SMP
|
|
* Mon Aug 21 2006 - cthiel@suse.de
|
|
- fix requirements of -devel package, to require fuse by version (#200496)
|
|
* Tue Aug 08 2006 - tiwai@suse.de
|
|
- fixed a syntax error in udev rules.
|
|
* Mon Jul 03 2006 - cthiel@suse.de
|
|
- fix build
|
|
* Mon May 15 2006 - tiwai@suse.de
|
|
- updated to version 2.5.3.
|
|
* Add missing rwlock initialization
|
|
* Fix negative entry handling.
|
|
* Fix race between RELEASE and UNLINK, which might leave
|
|
.fuse_hidden* files around
|
|
* libfuse: fix use-after-free bug in interruptred reply_entry().
|
|
* Fri Feb 03 2006 - cthiel@suse.de
|
|
- update to version 2.5.2
|
|
* lib: if "fsname=" option was given, pass it to fusermount
|
|
* fuse_opt: fix memory leak in handling "--" option
|
|
* fuse_opt.h: fix incompatibility with C++ compilers by renaming
|
|
'template' structure member to 'templ'
|
|
* fuse.h: fix compatibility bugs.
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Sat Jan 14 2006 - cthiel@suse.de
|
|
- update to version 2.5.0
|
|
* Wed Nov 23 2005 - cthiel@suse.de
|
|
- update to version 2.4.2
|
|
- changed permission of /usr/bin/fusermount to 4755
|
|
* Fri Oct 28 2005 - cthiel@suse.de
|
|
- readded -fno-strict-aliasing
|
|
* Fri Oct 28 2005 - cthiel@suse.de
|
|
- update to version 2.4.1
|
|
* Fri Sep 30 2005 - tiwai@suse.de
|
|
- fixed CFLAGS to pass RPM_OPT_FLAGS.
|
|
- added -fno-strict-aliasing.
|
|
* Wed Jun 08 2005 - tiwai@suse.de
|
|
- updated to version 2.3.0.
|
|
* Tue Feb 03 2004 - adrian@suse.de
|
|
- initial package of version 1.1-pre2
|