This commit is contained in:
parent
924382d11e
commit
af941bb77d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:71e83a5f7f4ee6495978aed9e4d2791285d717979e9e4fe65060c9e1c62b4281
|
|
||||||
size 393306
|
|
3
fuse-2.7.4.tar.bz2
Normal file
3
fuse-2.7.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:71df51aff3fd120a9ea78bfb4cd13446930ab65269d970d52c5b4079d13660e0
|
||||||
|
size 394019
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 22 01:25:59 CEST 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove static libraries and "la" files
|
||||||
|
- spec file cleanup
|
||||||
|
- update to version 2.7.4
|
||||||
|
* Fix missing pthread_mutex_destroy in error path of
|
||||||
|
fuse_lib_opendir(). Patch by Szabolcs Szakacsits
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 3 14:33:13 CEST 2009 - coolo@suse.de
|
Fri Apr 3 14:33:13 CEST 2009 - coolo@suse.de
|
||||||
|
|
||||||
|
109
fuse.spec
109
fuse.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package fuse (Version 2.7.2)
|
# spec file for package fuse (Version 2.7.4)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
Name: fuse
|
Name: fuse
|
||||||
Summary: User space File System
|
Summary: User space File System
|
||||||
Version: 2.7.2
|
Version: 2.7.4
|
||||||
Release: 62
|
Release: 1
|
||||||
License: GPL v2 or later; LGPL v2.1 or later
|
License: GPL v2 or later; LGPL v2.1 or later
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
@ -35,11 +35,6 @@ Requires: licenses
|
|||||||
BuildRequires: licenses
|
BuildRequires: licenses
|
||||||
Supplements: filesystem(fuse)
|
Supplements: filesystem(fuse)
|
||||||
PreReq: %insserv_prereq permissions
|
PreReq: %insserv_prereq permissions
|
||||||
%define _exec_prefix /
|
|
||||||
%define _libdir /%_lib
|
|
||||||
%define usrbindir %{_prefix}/bin
|
|
||||||
%define devlibdir %{_prefix}/%{_lib}
|
|
||||||
%define pkgconfigdir %{_prefix}/%{_lib}/pkgconfig
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
With FUSE, a user space program can export a file system through the
|
With FUSE, a user space program can export a file system through the
|
||||||
@ -167,6 +162,51 @@ http://fuse.sourceforge.net/wiki
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Miklos Szeredi <mszeredi@inf.bme.hu>
|
||||||
|
|
||||||
|
%package devel-static
|
||||||
|
License: GPL v2 or later; LGPL v2.1 or later
|
||||||
|
Summary: Development package for FUSE (userspace filesystem) modules
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: fuse-devel = %{version}
|
||||||
|
Provides: fuse-devel:%{_libdir}/libfuse.a
|
||||||
|
|
||||||
|
%description devel-static
|
||||||
|
This package contains all include files, libraries and configuration
|
||||||
|
files needed to develop programs that use the fuse (FUSE) library to
|
||||||
|
implement kernel-default (Linux) file systems in user space.
|
||||||
|
|
||||||
|
Many user space file systems are already provided as packages for
|
||||||
|
installation:
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
With fuse-devel, administrators can compile and install other user
|
||||||
|
space file systems which can be found at
|
||||||
|
http://fuse.sourceforge.net/wiki
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Miklos Szeredi <mszeredi@inf.bme.hu>
|
Miklos Szeredi <mszeredi@inf.bme.hu>
|
||||||
@ -181,13 +221,15 @@ Authors:
|
|||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%configure \
|
%configure --with-pic \
|
||||||
--with-pkgconfigdir=%pkgconfigdir \
|
--with-pkgconfigdir=%{_libdir}/pkgconfig \
|
||||||
|
--exec-prefix=/ \
|
||||||
|
--libdir=/%{_lib} \
|
||||||
--disable-kernel-module \
|
--disable-kernel-module \
|
||||||
--enable-lib \
|
--enable-lib \
|
||||||
--enable-util \
|
--enable-util \
|
||||||
--enable-example
|
--enable-example
|
||||||
make
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
@ -199,16 +241,12 @@ ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING.LIB | sed 's/ .*//') COPYING
|
|||||||
%if %suse_version <= 1020
|
%if %suse_version <= 1020
|
||||||
install -m644 -D util/udev.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/99-fuse.rules
|
install -m644 -D util/udev.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/99-fuse.rules
|
||||||
%endif
|
%endif
|
||||||
cd %buildroot
|
for libname in libfuse libulockmgr;do
|
||||||
mv .%{_libdir}/lib*.*a .%{devlibdir}
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/$libname.so) %{buildroot}%{_libdir}/$libname.so
|
||||||
rm .%{_libdir}/lib*.so # recreate these pointing upwards:
|
%{__rm} -v %{buildroot}/%{_lib}/$libname.{so,la}
|
||||||
cd .%{devlibdir}
|
%{__mv} -v %{buildroot}/%{_lib}/$libname.a %{buildroot}%{_libdir}
|
||||||
ln -s ../../lib*/libfuse.so.*.*.* libfuse.so
|
done
|
||||||
#not needed for fuse, might reappar in separate package:
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
#ln -s ../../lib*/libulockmgr.so.*.*.* libulockmgr.so
|
|
||||||
cd -
|
|
||||||
mkdir .%{usrbindir}
|
|
||||||
mv .%{_bindir}/fusermount .%{usrbindir}/fusermount
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{insserv_force_if_yast boot.fuse}
|
%{insserv_force_if_yast boot.fuse}
|
||||||
@ -222,14 +260,11 @@ if ! test -f /.buildenv ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%run_ldconfig
|
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
|
||||||
%post -n libfuse2
|
%post -n libfuse2 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun -n libfuse2
|
%postun -n libfuse2 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -243,27 +278,37 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_sysconfdir}/udev/rules.d
|
%dir %{_sysconfdir}/udev/rules.d
|
||||||
%{_sysconfdir}/udev/rules.d/99-fuse.rules
|
%{_sysconfdir}/udev/rules.d/99-fuse.rules
|
||||||
%endif
|
%endif
|
||||||
%verify(not mode) %attr(4750,root,trusted) %{usrbindir}/fusermount
|
%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount
|
||||||
/sbin/mount.fuse
|
/sbin/mount.fuse
|
||||||
# not needed for fuse, might reappar in separate package:
|
# not needed for fuse, might reappar in separate package:
|
||||||
%exclude %{_bindir}/ulockmgr_server
|
%exclude %{_bindir}/ulockmgr_server
|
||||||
%exclude %{_libdir}/libulockmgr.so.*
|
%exclude /%{_lib}/libulockmgr.so.*
|
||||||
|
|
||||||
%files -n libfuse2
|
%files -n libfuse2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libfuse.so.*
|
/%{_lib}/libfuse.so.2*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{devlibdir}/libfuse.*
|
%{_libdir}/libfuse.so
|
||||||
%{_includedir}/fuse.h
|
%{_includedir}/fuse.h
|
||||||
%{_includedir}/fuse
|
%{_includedir}/fuse
|
||||||
%{pkgconfigdir}/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
# not needed for fuse, might reappar in separate package:
|
# not needed for fuse, might reappar in separate package:
|
||||||
%exclude %{_includedir}/ulockmgr.h
|
%exclude %{_includedir}/ulockmgr.h
|
||||||
%exclude %{devlibdir}/libulockmgr.*
|
%exclude %{_libdir}/libulockmgr.*
|
||||||
|
|
||||||
|
%files devel-static
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libfuse.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 22 2009 crrodriguez@suse.de
|
||||||
|
- remove static libraries and "la" files
|
||||||
|
- spec file cleanup
|
||||||
|
- update to version 2.7.4
|
||||||
|
* Fix missing pthread_mutex_destroy in error path of
|
||||||
|
fuse_lib_opendir(). Patch by Szabolcs Szakacsits
|
||||||
* Fri Apr 03 2009 coolo@suse.de
|
* Fri Apr 03 2009 coolo@suse.de
|
||||||
- adding baselibs.conf to build -xxbit
|
- adding baselibs.conf to build -xxbit
|
||||||
* Mon Dec 01 2008 ro@suse.de
|
* Mon Dec 01 2008 ro@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user