Accepting request 86258 from home:-miska-

enabling libulockmgr (needed by libguestfs)

OBS-URL: https://build.opensuse.org/request/show/86258
OBS-URL: https://build.opensuse.org/package/show/filesystems/fuse?expand=0&rev=28
This commit is contained in:
Pavol Rusnak 2011-10-18 09:30:50 +00:00 committed by Git OBS Bridge
parent 0b52c981df
commit 56dd63b0a4
2 changed files with 64 additions and 4 deletions

View File

@ -3,6 +3,11 @@ Sat Oct 1 05:39:08 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to make the spec file more reliable
-------------------------------------------------------------------
Mon Sep 26 21:50:37 CEST 2011 - mhrusecky@suse.cz
- enabling libulockmgr
-------------------------------------------------------------------
Mon Aug 29 20:48:16 UTC 2011 - crrodriguez@opensuse.org

View File

@ -83,6 +83,52 @@ http://fuse.sourceforge.net/wiki
Authors:
--------
Miklos Szeredi <miklos@szeredi.hu>
%package -n libulockmgr1
License: GPLv2+ ; LGPLv2.1+
Summary: Library of FUSE, the User space File System for GNU/Linux and BSD
Group: System/Filesystems
%description -n libulockmgr1
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
Authors:
--------
Miklos Szeredi <miklos@szeredi.hu>
@ -138,6 +184,7 @@ License: GPLv2+ ; LGPLv2.1+
Summary: Development package for FUSE (userspace filesystem) modules
Group: Development/Languages/C and C++
Requires: fuse = %{version} libfuse2 = %{version} glibc-devel
Requires: libulockmgr1 = %{version}
%description devel
This package contains all include files, libraries and configuration
@ -258,10 +305,7 @@ for libname in libfuse libulockmgr;do
done
%{__rm} -f %{buildroot}%{_libdir}/*.la
# not needed for fuse, might reappar in separate package:
%{__rm} -f %{buildroot}/%{_bindir}/ulockmgr_server
%{__rm} -f %{buildroot}/%{_libdir}/libulockmgr.*
%{__rm} -f %{buildroot}/%{_lib}/libulockmgr.so.*
%{__rm} -f %{buildroot}/%{_includedir}/ulockmgr.h
%{__rm} -f %{buildroot}/%{_libdir}/libulockmgr.a
(cd example && %{__make} clean)
%{__rm} -rf example/.deps example/Makefile.am example/Makefile.in
@ -275,6 +319,10 @@ done
%postun -n libfuse2 -p /sbin/ldconfig
%post -n libulockmgr1 -p /sbin/ldconfig
%postun -n libulockmgr1 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
@ -288,18 +336,25 @@ rm -rf $RPM_BUILD_ROOT
%endif
%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount
/sbin/mount.fuse
%{_bindir}/ulockmgr_server
%files -n libfuse2
%defattr(-,root,root)
/%{_lib}/libfuse.so.2*
%files -n libulockmgr1
%defattr(-,root,root)
/%{_lib}/libulockmgr.so.*
%files devel
%defattr(-,root,root)
%doc example doc
%{_libdir}/libfuse.so
%{_libdir}/libulockmgr.so
%{_includedir}/fuse.h
%{_includedir}/fuse
%{_libdir}/pkgconfig/*.pc
%{_includedir}/ulockmgr.h
%files devel-static
%defattr(-,root,root)