SPECS: libfuse.spec - swapped: main package is libfuse now, kernel...
qboosh
qboosh at pld-linux.org
Sat Jan 28 11:32:47 CET 2006
Author: qboosh Date: Sat Jan 28 10:32:47 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- swapped: main package is libfuse now, kernel*-misc-fuse as optional subpackages
---- Files affected:
SPECS:
libfuse.spec (1.52 -> 1.53)
---- Diffs:
================================================================
Index: SPECS/libfuse.spec
diff -u SPECS/libfuse.spec:1.52 SPECS/libfuse.spec:1.53
--- SPECS/libfuse.spec:1.52 Wed Jan 25 19:46:26 2006
+++ SPECS/libfuse.spec Sat Jan 28 11:32:40 2006
@@ -1,8 +1,5 @@
# $Revision$, $Date$
#
-# TODO:
-# - review patches
-#
# Condtional build:
%bcond_without dist_kernel # without distribution kernel
%bcond_without kernel # don't build kernel modules
@@ -14,19 +11,19 @@
%undefine with_smp
%endif
#
-Name: kernel-misc-fuse
Summary: Filesystem in Userspace
Summary(pl): System plików w przestrzeni użytkownika
+Name: libfuse
Version: 2.5.1
%define _rel 1
-Release: %{_rel}@%{_kernel_ver_str}
+Release: %{_rel}
Epoch: 0
License: GPL v2
Group: Base/Kernel
Source0: http://dl.sourceforge.net/fuse/fuse-%{version}.tar.gz
# Source0-md5: c752f881c8b6586ce086fc8df3fb16e8
Source1: fuse.conf
-Patch0: %{name}-Makefile.am.patch
+Patch0: kernel-misc-fuse-Makefile.am.patch
URL: http://fuse.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -35,9 +32,6 @@
%endif
BuildRequires: libtool
BuildRequires: sed >= 4.0
-%{?with_dist_kernel:%requires_releq_kernel_up}
-Requires(post,postun): /sbin/depmod
-%{?with_dist_kernel:Requires(postun): kernel}
Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -46,6 +40,8 @@
aims to provide a secure method for non privileged users to create and
mount their own filesystem implementations.
+This package contains a shared library.
+
%description -l pl
FUSE stanowi prosty interfejs dla programów działających w przestrzeni
użytkownika eksportujący wirtualny system plików do jądra Linuksa.
@@ -53,6 +49,56 @@
montowania własnych implementacji systemów plików przez zwykłych
(nieuprzywilejowanych) użytkowników.
+Ten pakiet zawiera bibliotekę współdzieloną.
+
+%package devel
+Summary: Filesytem in Userspace - Development header files
+Summary(pl): System plików w przestrzeni użytkownika - pliki nagłówkowe
+Group: Development/Libraries
+Requires: %{name} = %{epoch}:%{version}-%{_rel}
+
+%description devel
+Libfuse library header files.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki libfuse.
+
+%package static
+Summary: Filesytem in Userspace - static library
+Summary(pl): System plików w przestrzeni użytkownika - biblioteka statyczna
+Group: Development/Libraries
+Release: %{_rel}
+Requires: libfuse-devel = %{epoch}:%{version}-%{_rel}
+
+%description static
+Static libfuse libraries.
+
+%description static -l pl
+Statyczna biblioteka libfuse.
+
+%package -n kernel-misc-fuse
+Summary: Filesystem in Userspace
+Summary(pl): System plików w przestrzeni użytkownika
+Release: %{_rel}@%{_kernel_ver_str}
+License: GPL v2
+Group: Base/Kernel
+%{?with_dist_kernel:%requires_releq_kernel_up}
+Requires(post,postun): /sbin/depmod
+%{?with_dist_kernel:Requires(postun): kernel}
+
+%description -n kernel-misc-fuse
+FUSE (Filesystem in Userspace) is a simple interface for userspace
+programs to export a virtual filesystem to the Linux kernel. FUSE also
+aims to provide a secure method for non privileged users to create and
+mount their own filesystem implementations.
+
+%description -n kernel-misc-fuse -l pl
+FUSE stanowi prosty interfejs dla programów działających w przestrzeni
+użytkownika eksportujący wirtualny system plików do jądra Linuksa.
+FUSE ma również na celu udostępnienie bezpiecznej metody tworzenia i
+montowania własnych implementacji systemów plików przez zwykłych
+(nieuprzywilejowanych) użytkowników.
+
%package -n kernel-smp-misc-fuse
Summary: Filesystem in Userspace
Summary(pl): System plików w przestrzeni użytkownika
@@ -77,48 +123,10 @@
montowania własnych implementacji systemów plików przez zwykłych
(nieuprzywilejowanych) użytkowników.
-%package -n libfuse
-Summary: Shared library for Filesytem in Userspace
-Summary(pl): Biblioteki dzielone Systemu plików w przestrzeni użytkownika
-Group: Applications/System
-Release: %{_rel}
-Obsoletes: fusermount
-
-%description -n libfuse
-Shared library for Filesytem in Userspace
-
-%description -n libfuse -l pl
-Biblioteki dzielone Systemu plików w przestrzeni użytkownika
-
-%package -n libfuse-devel
-Summary: Filesytem in Userspace - Development header fiels and libraries
-Summary(pl): Systemu plików w przestrzeni użytkownika - Biblioteki dzielone
-Group: Development/Libraries
-Release: %{_rel}
-Requires: libfuse = %{epoch}:%{version}-%{_rel}
-
-%description -n libfuse-devel
-Libfuse library header files.
-
-%description -n libfuse-devel -l pl
-Libfuse biblioteki nagłówkowe dla programistów.
-
-%package -n libfuse-static
-Summary: Filesytem in Userspace - static libraries
-Summary(pl): Systemu plików w przestrzeni użytkownika - Biblioteki statyczne
-Group: Development/Libraries
-Release: %{_rel}
-Requires: libfuse-devel = %{epoch}:%{version}-%{_rel}
-
-%description -n libfuse-static
-Static libfuse libraries.
-
-%description -n libfuse-static -l pl
-Statyczne biblioteki libfuse
-
%prep
%setup -q -n fuse-%{version}
%patch0 -p1
+
sed -i '/FUSERMOUNT_PROG/s,fusermount,%{_bindir}/fusermount,' lib/mount.c
%build
@@ -128,9 +136,9 @@
%{__autoconf}
%{__automake}
%configure \
- --enable-lib \
- --enable-util \
- --with-kernel=%{_kernelsrcdir}
+ --enable-lib \
+ --enable-util \
+ --with-kernel=%{_kernelsrcdir}
%if %{with kernel}
cd kernel
@@ -207,10 +215,13 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post -n kernel-misc-fuse
%depmod %{_kernel_ver}
-%postun
+%postun -n kernel-misc-fuse
%depmod %{_kernel_ver}
%post -n kernel-smp-misc-fuse
@@ -219,50 +230,49 @@
%postun -n kernel-smp-misc-fuse
%depmod %{_kernel_ver}smp
-%post -n libfuse -p /sbin/ldconfig
-%postun -n libfuse -p /sbin/ldconfig
-
-%if %{with kernel}
+%if %{with userspace}
%files
%defattr(644,root,root,755)
%doc README NEWS ChangeLog AUTHORS doc/*
-/lib/modules/%{_kernel_ver}/kernel/fs/fuse.ko*
-
-%if %{with smp} && %{with dist_kernel}
-%files -n kernel-smp-misc-fuse
-%defattr(644,root,root,755)
-%doc README NEWS ChangeLog AUTHORS doc/*
-/lib/modules/%{_kernel_ver}smp/kernel/fs/fuse.ko*
-%endif
-%endif
-
-%if %{with userspace}
-%files -n libfuse
-%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fuse.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/fuse.rules
-%attr(755,root,root) %{_libdir}/libfuse.so.*.*.*
%attr(755,root,root) %{_bindir}/fusermount
%attr(755,root,root) /sbin/mount.fuse
+%attr(755,root,root) %{_libdir}/libfuse.so.*.*.*
-%files -n libfuse-devel
+%files devel
%defattr(644,root,root,755)
-%{_includedir}/fuse*
-%{_libdir}/libfuse.la
%attr(755,root,root) %{_libdir}/libfuse.so
+%{_libdir}/libfuse.la
+%{_includedir}/fuse*
%{_pkgconfigdir}/fuse.pc
-%files -n libfuse-static
+%files static
%defattr(644,root,root,755)
%{_libdir}/libfuse.a
%endif
+%if %{with kernel}
+%files -n kernel-misc-fuse
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}/kernel/fs/fuse.ko*
+
+%if %{with smp} && %{with dist_kernel}
+%files -n kernel-smp-misc-fuse
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}smp/kernel/fs/fuse.ko*
+%endif
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.53 2006/01/28 10:32:40 qboosh
+- swapped: main package is libfuse now, kernel*-misc-fuse as optional subpackages
+
Revision 1.52 2006/01/25 18:46:26 tommat
- version 2.5.1
- removed configure.in patch - obsolete now
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libfuse.spec?r1=1.52&r2=1.53&f=u
More information about the pld-cvs-commit
mailing list