Mailinglist Archive: opensuse-commit (1301 mails)

< Previous Next >
commit fuse
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 04 Jul 2007 23:14:07 +0200
  • Message-id: <20070704211408.0E47A678187@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package fuse
checked in at Wed Jul 4 23:14:07 CEST 2007.

--------
--- fuse/fuse.changes   2007-06-18 16:52:42.000000000 +0200
+++ /mounts/work_src_done/STABLE/fuse/fuse.changes      2007-07-03 17:36:26.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jul  3 12:44:37 CEST 2007 - bk@xxxxxxx
+
+- move libs and programs to /lib and /bin, recommended for ntfs-3g
+
+-------------------------------------------------------------------

New:
----
  fuse-pc-remove-libdir-from-Libs.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fuse.spec ++++++
--- /var/tmp/diff_new_pack.Q24438/_old  2007-07-04 23:12:18.000000000 +0200
+++ /var/tmp/diff_new_pack.Q24438/_new  2007-07-04 23:12:18.000000000 +0200
@@ -13,21 +13,30 @@
 Name:           fuse
 Summary:        Userspace File System
 Version:        2.6.5
-Release:        14
-License:        GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
+Release:        16
+License:        GPL v2 or later, LGPL v2 or later
 Group:          System/Filesystems
 Source:         %{name}-%{version}.tar.bz2
 Source1:        boot.fuse
 Patch:          fuse-install-fix.diff
+Patch2:         fuse-pc-remove-libdir-from-Libs.diff
 URL:            http://fuse.sourceforge.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 PreReq:         %insserv_prereq permissions
+%define _exec_prefix /
+%define _libdir      /%_lib
+%define usrbindir    %{_prefix}/bin
+%define pkgconfigdir %{_prefix}/%{_lib}/pkgconfig
 
 %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.
+To use fuse, you additional fuse modules like curlftpfs, encfs, obexfs,
+sshfs or wdfs.
+
+These and possibly more are likely provided as separate packages in
+this distribution.
 
 
 
@@ -36,15 +45,14 @@
     Miklos Szeredi <miklos@xxxxxxxxxx>
 
 %package devel
-Summary:        user space filesystem
-Group:          System/Filesystems
+Summary:        Development package for of FUSE (userspace filesystem) modules
+Group:          Development/Languages/C and C++
 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.
+This package contains all include files, libraries and configuration
+files needed to develop programs that use FUSE library to implement
+Linux filesystems in userspace.
 
 
 
@@ -55,12 +63,15 @@
 %prep
 %setup -q
 %patch
-%{?suse_update_config:%{suse_update_config -f}}
+%if "%{_exec_prefix}" == "/" || "%{_exec_prefix}" == "/usr"
+%patch2
+%endif
 
 %build
 autoreconf -fi
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %configure \
+    --with-pkgconfigdir=%pkgconfigdir \
     --disable-kernel-module \
     --enable-lib \
     --enable-util \
@@ -71,6 +82,11 @@
 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
+cd %buildroot
+rm -rf .%{_libdir}/lib*.la
+mv     .%{_libdir}/lib*.a  .%{_prefix}/%{_lib}/
+mkdir                          .%{usrbindir}
+mv     .%{_bindir}/fusermount  .%{usrbindir}/fusermount
 
 %post
 %{insserv_force_if_yast boot.fuse}
@@ -78,7 +94,7 @@
 %run_permissions
 
 %verifyscript
-%verify_permissions -e %{_bindir}/fusermount
+%verify_permissions -e %{usrbindir}/fusermount
 
 %preun
 %stop_on_removal boot.fuse
@@ -93,22 +109,24 @@
 %files
 %defattr(-,root,root)
 %config %{_sysconfdir}/init.d/boot.fuse
-%doc AUTHORS COPYING* ChangeLog FAQ NEWS README*
+%doc AUTHORS ChangeLog FAQ NEWS README*
 %{_libdir}/lib*.so.*
-%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount
+%verify(not mode) %attr(4750,root,trusted) %{usrbindir}/fusermount
 /sbin/mount.fuse
 %{_bindir}/ulockmgr_server
 
 %files devel
 %defattr(-,root,root)
 %{_libdir}/lib*.so
-%{_libdir}/lib*.*a
+%{_prefix}/%{_lib}/lib*.a
 %{_includedir}/fuse.h
 %{_includedir}/fuse
 %{_includedir}/ulockmgr.h
-%{_libdir}/pkgconfig/*.pc
+%{pkgconfigdir}/*.pc
 
 %changelog
+* Tue Jul 03 2007 - bk@xxxxxxx
+- move libs and programs to /lib and /bin, recommended for ntfs-3g
 * Mon Jun 18 2007 - dmueller@xxxxxxx
 - fix boot.fuse to start after boot.localfs
 * Fri May 04 2007 - mszeredi@xxxxxxx

++++++ boot.fuse ++++++
--- fuse/boot.fuse      2007-06-18 16:52:26.000000000 +0200
+++ /mounts/work_src_done/STABLE/fuse/boot.fuse 2007-07-03 12:58:11.000000000 +0200
@@ -15,8 +15,6 @@
 PATH="/sbin:/bin"
 MOUNTPOINT=/sys/fs/fuse/connections
 
-test -x /usr/bin/fusermount || exit 5
-
 . /etc/rc.status
 
 case "$1" in

++++++ fuse-pc-remove-libdir-from-Libs.diff ++++++
--- fuse.pc.in
+++ fuse.pc.in
@@ -6,5 +6,5 @@
 Name: fuse
 Description: Filesystem in Userspace
 Version: @VERSION@
-Libs: -L${libdir} -lfuse @libfuse_libs@
+Libs: -lfuse @libfuse_libs@
 Cflags: -I${includedir}/fuse -D_FILE_OFFSET_BITS=64

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread