fuse/fuse.spec

161 lines
4.4 KiB
RPMSpec

#
# spec file for package fuse (Version 2.6.1)
#
# 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.1
Release: 4
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
Patch: fuse-install-fix.diff
Patch1: fuse-compat-abort-fix.diff
URL: http://fuse.sf.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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 <mszeredi@inf.bme.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
%patch1
%{?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
%post
/sbin/ldconfig
%run_permissions
%verifyscript
%verify_permissions -e %{_bindir}/fusermount
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog FAQ NEWS README*
%{_libdir}/lib*.so.*
%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount
%dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/rules.d
%{_sysconfdir}/udev/rules.d/99-fuse.rules
/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 -n fuse
* 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