SPECS: glusterfs.spec - pl for new packages - fixed init script - ...

qboosh qboosh at pld-linux.org
Sat Jan 12 22:50:58 CET 2008


Author: qboosh                       Date: Sat Jan 12 21:50:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl for new packages
- fixed init script
- separated -static

---- Files affected:
SPECS:
   glusterfs.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/glusterfs.spec
diff -u SPECS/glusterfs.spec:1.6 SPECS/glusterfs.spec:1.7
--- SPECS/glusterfs.spec:1.6	Fri Jan  4 16:40:11 2008
+++ SPECS/glusterfs.spec	Sat Jan 12 22:50:53 2008
@@ -1,8 +1,5 @@
 # $Revision$, $Date$
 # TODO: package docs
-# TODO: Fix init scripts
-# 	They work as expected, pid file contains correct pid, 
-#	but status and stop whip about daemon being dead.
 Summary:	Clustered File Storage that can scale to peta bytes
 Summary(pl.UTF-8):	Klastrowy system przechowywania plików skalujący się do petabajtów
 Name:		glusterfs
@@ -18,7 +15,6 @@
 BuildRequires:	flex
 BuildRequires:	libfuse-devel
 BuildRequires:	rpmbuild(macros) >= 1.228
-Requires(post,preun):	/sbin/chkconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,7 +27,6 @@
 userspace and easily manageable.
 
 %description -l pl.UTF-8
-
 GlusterFS to klastrowy system plików skalujący się do petabajtów.
 Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP
 w jeden duży, równoległy sieciowy system plików. GlusterFS to
@@ -42,7 +37,8 @@
 
 %package common
 Summary:	GlusterFS Library and Translators
-Group:		Applications/System
+Summary(pl.UTF-8):	Biblioteka i translatory GlusterFS-a
+Group:		Libraries
 
 %description common
 GlusterFS is a clustered file-system capable of scaling to several
@@ -57,68 +53,67 @@
 common to both GlusterFS server and client framework.
 
 %description common -l pl.UTF-8
-Pakiet zawiera libglusterfs i moduly translatorow glusterfs wspolne
-dla klienta jak i serwera GlusterFS.
+GlusterFS to klastrowy system plików skalujący się do petabajtów.
+Scala różne kawałki miejsca po łączach Infiniband RDMA lub TCP/IP
+w jeden duży, równoległy sieciowy system plików. GlusterFS to
+jeden z najbardziej wyszukanych systemów plików jeśli chodzi o
+możliwości i rozszerzalność. Zapożycza potężną ideę o nazwie
+Translators z jądra GNU Hurd. Duża część kodu GlusterFS działa w
+przestrzeni użytkownika i jest łatwo zarządzalna.
+
+Ten pakiet zawiera libglusterfs i moduły translatorów glusterfs
+wspólne dla klienta jak i serwera GlusterFS-a.
 
 %package server
 Summary:	GlusterFS Server
-Group:		Applications/System
-Requires:	%{name}-common = %{version}
-
+Summary(pl.UTF-8):	Serwer GlusterFS-a
+Group:		Daemons
+Requires:	%{name}-common = %{version}-%{release}
+Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
 
 %description server
-GlusterFS is a clustered file-system capable of scaling to several
-peta-bytes. It aggregates various storage bricks over Infiniband RDMA
-or TCP/IP interconnect into one large parallel network file system.
-GlusterFS is one of the most sophisticated file system in terms of
-features and extensibility. It borrows a powerful concept called
-Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
-userspace and easily manageable.
-
 This package provides the glusterfs server daemon.
 
 %description server -l pl.UTF-8
-Pakiet zawiera czesc serwerowa GlusterFS.
-
+Ten pakiet zawiera część serwerową GlusterFS-a.
 
 %package client
 Summary:	GlusterFS Client
+Summary(pl.UTF-8):	Klient GlusterFS
 Group:		Applications/System
-Requires:	%{name}-common = %{version}
+Requires:	%{name}-common = %{version}-%{release}
 
 %description client
-GlusterFS is a clustered file-system capable of scaling to several
-peta-bytes. It aggregates various storage bricks over Infiniband RDMA
-or TCP/IP interconnect into one large parallel network file system.
-GlusterFS is one of the most sophisticated file system in terms of
-features and extensibility. It borrows a powerful concept called
-Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
-userspace and easily manageable.
-
 This package provides the FUSE based GlusterFS client.
 
 %description client -l pl.UTF-8
-Pliki bazujacego na FUSE klienta GlusterFS.
+Ten pakiet udostępnia opartego na FUSE klienta GlusterFS-a.
 
 %package devel
-Summary:	GlusterFS Development Libraries
+Summary:	GlusterFS development files
+Summary(pl.UTF-8):	Pliki programistyczne GlusterFS-a
 Group:		Development/Libraries
-Requires:	%{name}-common = %{version}
+Requires:	%{name}-common = %{version}-%{release}
 
 %description devel
-GlusterFS is a clustered file-system capable of scaling to several
-peta-bytes. It aggregates various storage bricks over Infiniband RDMA
-or TCP/IP interconnect into one large parallel network file system.
-GlusterFS is one of the most sophisticated file system in terms of
-features and extensibility. It borrows a powerful concept called
-Translators from GNU Hurd kernel. Much of the code in GlusterFS is in
-userspace and easily manageable.
-
-This package provides the development libraries.
+This package provides the development header files for GlusterFS
+library.
 
 %description devel -l pl.UTF-8
-Pliki i biblioteki potrzebne do rozwoju GlusterFS.
+Ten pakiet udostępnia pliki nagłówkowe biblioteki GlusterFS-a.
+
+%package static
+Summary:	Static GlusterFS library
+Summary(pl.UTF-8):	Statyczna biblioteka GlusterFS-a
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static GlusterFS library.
 
+%description static -l pl.UTF-8
+Statyczna biblioteka GlusterFS-a.
 
 %prep
 %setup -q
@@ -130,17 +125,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/glusterfsd
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/glusterfsd
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files common
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
@@ -154,32 +148,29 @@
 %dir %{_libdir}/glusterfs/%{version}/xlator
 %dir %{_libdir}/glusterfs/%{version}/xlator/*
 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/*/*.so
-
 %dir /var/log/glusterfs
 
-
 %files server
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
 %attr(754,root,root) /etc/rc.d/init.d/glusterfsd
 %attr(755,root,root) %{_sbindir}/glusterfsd
 
-
 %files client
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
 %attr(755,root,root) %{_sbindir}/glusterfs
 %attr(755,root,root) /sbin/mount.glusterfs
 
 %files devel
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS
-%{_libdir}/libglusterfs.a
+%attr(755,root,root) %{_libdir}/libglusterfs.so
 %{_libdir}/libglusterfs.la
 ##%{_includedir}/*.h
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libglusterfs.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -187,6 +178,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-01-12 21:50:53  qboosh
+- pl for new packages
+- fixed init script
+- separated -static
+
 Revision 1.6  2008-01-04 15:40:11  matkor
 - Release 1. Added init.d script for launching glusterfsd.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glusterfs.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list