OBS User unknown 2007-08-10 15:01:38 +00:00 committed by Git OBS Bridge
parent 9467b50cf5
commit 3c75a00979
3 changed files with 116 additions and 18 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 10 13:41:37 CEST 2007 - bk@suse.de
- branch off libfuse2 to avoid having to start fuse on boot (#285101)
- Add "Supplements: filesystem(fuse)" in case someone looks for fuse
- libulockmgr and ulockmgr_server are separate from fuse (#285101)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 13 18:19:50 CEST 2007 - mszeredi@suse.de Fri Jul 13 18:19:50 CEST 2007 - mszeredi@suse.de

103
fuse.spec
View File

@ -11,9 +11,9 @@
# norootforbuild # norootforbuild
Name: fuse Name: fuse
Summary: Userspace File System Summary: User space File System
Version: 2.7.0 Version: 2.7.0
Release: 4 Release: 10
License: GPL any version; LGPL any version License: GPL any version; LGPL any version
Group: System/Filesystems Group: System/Filesystems
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
@ -24,6 +24,7 @@ URL: http://fuse.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: licenses Requires: licenses
BuildRequires: licenses BuildRequires: licenses
Supplements: filesystem(fuse)
PreReq: %insserv_prereq permissions PreReq: %insserv_prereq permissions
%define _exec_prefix / %define _exec_prefix /
%define _libdir /%_lib %define _libdir /%_lib
@ -32,11 +33,11 @@ PreReq: %insserv_prereq permissions
%define pkgconfigdir %{_prefix}/%{_lib}/pkgconfig %define pkgconfigdir %{_prefix}/%{_lib}/pkgconfig
%description %description
With FUSE, a userspace program can export a file system through the With FUSE, a user space program can export a file system through the
kernel-default (Linux kernel). kernel-default (Linux kernel).
Userspace filesystems which are implemented using FUSE are provided by User space file systems which are implemented using FUSE are provided
the following packages: by the following packages:
- curlftpfs (mount FTP servers), - curlftpfs (mount FTP servers),
@ -58,8 +59,56 @@ the following packages:
- wdfs (mount of WebDAV shares) - wdfs (mount of WebDAV shares)
After installing fuse-devel, admins can compile and install other This package contains the mount binaries for fuse (might not be needed
userspace filesystems which can be found at by some FUSE filesystems like ntfs-3g) and the documentation for FUSE.
After installing fuse-devel, administrators can compile and install
other user space file systems which can be found at
http://fuse.sourceforge.net/wiki
Authors:
--------
Miklos Szeredi <miklos@szeredi.hu>
%package -n libfuse2
Summary: Library of FUSE, the User space File System for GNU/Linux and BSD
Group: System/Filesystems
%description -n libfuse2
With FUSE, a user space program can export a file system through the
kernel-default (Linux kernel).
A FUSE file system which only needs libfuse2 is ntfs-3g, other FUSE
file systems might need the fuse package in addition to have fusermount
and /sbin/mount.fuse.
User space file systems which are implemented using FUSE are provided
by the following packages:
- curlftpfs (mount FTP servers),
- encfs (layered file encryption),
- fuseiso (mount iso, img, bin, mdf and nrg CD-ROM images),
- fusepod (mount iPods),
- fusesmb (mount a fully browseable network neighborhood),
- gphotofs (mount gphoto-supported cameras),
- ntfs-3g (mount NTFS volumes read-write),
- obexfs (mount of bluetooth devices),
- sshfs (mount over ssh),
- wdfs (mount of WebDAV shares)
After installing fuse-devel, administrators can compile and install
other user space file systems which can be found at
http://fuse.sourceforge.net/wiki http://fuse.sourceforge.net/wiki
@ -71,14 +120,14 @@ Authors:
%package devel %package devel
Summary: Development package for FUSE (userspace filesystem) modules Summary: Development package for FUSE (userspace filesystem) modules
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Requires: fuse = %{version} glibc-devel Requires: fuse = %{version} libfuse2 = %{version} glibc-devel
%description devel %description devel
This package contains all include files, libraries and configuration This package contains all include files, libraries and configuration
files needed to develop programs that use the fuse (FUSE) library to files needed to develop programs that use the fuse (FUSE) library to
implement kernel-default (Linux) filesystems in userspace. implement kernel-default (Linux) file systems in user space.
Many userspace filesystems are already provided as packages for Many user space file systems are already provided as packages for
installation: installation:
- curlftpfs (mount FTP servers), - curlftpfs (mount FTP servers),
@ -101,8 +150,9 @@ installation:
- wdfs (mount of WebDAV shares) - wdfs (mount of WebDAV shares)
With fuse-devel, admins can compile and install other userspace With fuse-devel, administrators can compile and install other user
filesystems which can be found at http://fuse.sourceforge.net/wiki space file systems which can be found at
http://fuse.sourceforge.net/wiki
@ -141,7 +191,8 @@ mv .%{_libdir}/lib*.*a .%{devlibdir}
rm .%{_libdir}/lib*.so # recreate these pointing upwards: rm .%{_libdir}/lib*.so # recreate these pointing upwards:
cd .%{devlibdir} cd .%{devlibdir}
ln -s ../../lib*/libfuse.so.*.*.* libfuse.so ln -s ../../lib*/libfuse.so.*.*.* libfuse.so
ln -s ../../lib*/libulockmgr.so.*.*.* libulockmgr.so #not needed for fuse, might reappar in separate package:
#ln -s ../../lib*/libulockmgr.so.*.*.* libulockmgr.so
cd - cd -
mkdir .%{usrbindir} mkdir .%{usrbindir}
mv .%{_bindir}/fusermount .%{usrbindir}/fusermount mv .%{_bindir}/fusermount .%{usrbindir}/fusermount
@ -152,7 +203,6 @@ ln -s ../licenses/LGPL-2.0.txt COPYING.LIB
%post %post
%{insserv_force_if_yast boot.fuse} %{insserv_force_if_yast boot.fuse}
%run_ldconfig
%run_permissions %run_permissions
%verifyscript %verifyscript
@ -165,6 +215,12 @@ ln -s ../licenses/LGPL-2.0.txt COPYING.LIB
%run_ldconfig %run_ldconfig
%insserv_cleanup %insserv_cleanup
%post -n libfuse2
%run_ldconfig
%postun -n libfuse2
%run_ldconfig
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -173,7 +229,6 @@ rm -rf $RPM_BUILD_ROOT
%config %{_sysconfdir}/init.d/boot.fuse %config %{_sysconfdir}/init.d/boot.fuse
%doc AUTHORS ChangeLog FAQ NEWS README* %doc AUTHORS ChangeLog FAQ NEWS README*
%{_docdir}/COPYING* %{_docdir}/COPYING*
%{_libdir}/lib*.so.*
%if %suse_version <= 1020 %if %suse_version <= 1020
%dir %{_sysconfdir}/udev %dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/rules.d %dir %{_sysconfdir}/udev/rules.d
@ -181,17 +236,29 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%verify(not mode) %attr(4750,root,trusted) %{usrbindir}/fusermount %verify(not mode) %attr(4750,root,trusted) %{usrbindir}/fusermount
/sbin/mount.fuse /sbin/mount.fuse
%{_bindir}/ulockmgr_server # not needed for fuse, might reappar in separate package:
%exclude %{_bindir}/ulockmgr_server
%exclude %{_libdir}/libulockmgr.so.*
%files -n libfuse2
%defattr(-,root,root)
%{_libdir}/libfuse.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{devlibdir}/lib*.* %{devlibdir}/libfuse.*
%{_includedir}/fuse.h %{_includedir}/fuse.h
%{_includedir}/fuse %{_includedir}/fuse
%{_includedir}/ulockmgr.h
%{pkgconfigdir}/*.pc %{pkgconfigdir}/*.pc
# not needed for fuse, might reappar in separate package:
%exclude %{_includedir}/ulockmgr.h
%exclude %{devlibdir}/libulockmgr.*
%changelog %changelog
* Fri Aug 10 2007 - bk@suse.de
- branch off libfuse2 to avoid having to start fuse on boot (#285101)
- Add "Supplements: filesystem(fuse)" in case someone looks for fuse
- libulockmgr and ulockmgr_server are separate from fuse (#285101)
* Fri Jul 13 2007 - mszeredi@suse.de * Fri Jul 13 2007 - mszeredi@suse.de
- conditionally add udev rule if building with 10.2 or earlier - conditionally add udev rule if building with 10.2 or earlier
* Thu Jul 05 2007 - bk@suse.de * Thu Jul 05 2007 - bk@suse.de

24
rpmlintrc Normal file
View File

@ -0,0 +1,24 @@
# This line is mandatory to access the configuration functions
from Config import *
# rpmlint message:
# Your package contains a /etc/init.d scrip")
# a start dependency that is not behind $remote_fs, while it apparently
# needs $remote_fs dependency due to files being packaged under /usr.
#
# /usr/bin/fusermount is only needed when normal users want to mount,
# otherwise everything else is outside of /usr, so it can be localfs:
#
addFilter("fuse non-remote_fs-dependency")
# rpmlint message:
# The init script name should be the same as the package name in lower case,
# one with 'd' appended if it invokes a process by that name.
#
# /etc/init.d/boot.fuse is fine, no daemon is started, just a module is
# loaded (and udev creates the device) and a kernel filesystem is mounted:
#
addFilter("fuse incoherent-init-script-name")
# Everything moved away, so it got small but the docs are not huge:
addFilter("fuse package-with-huge-docs")