SPECS: libuser.spec - pl - some general fixes/cleanups

qboosh qboosh at pld-linux.org
Mon Jan 28 18:29:47 CET 2008


Author: qboosh                       Date: Mon Jan 28 17:29:47 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- some general fixes/cleanups

---- Files affected:
SPECS:
   libuser.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libuser.spec
diff -u SPECS/libuser.spec:1.1 SPECS/libuser.spec:1.2
--- SPECS/libuser.spec:1.1	Mon Dec 17 15:57:41 2007
+++ SPECS/libuser.spec	Mon Jan 28 18:29:41 2008
@@ -1,10 +1,11 @@
 # $Revision$, $Date$
 Summary:	A user and group account administration library
+Summary(pl.UTF-8):	Biblioteka do administrowania kontami użytkowników i grup
 Name:		libuser
 Version:	0.56.6
 Release:	1
 License:	LGPL v2+
-Group:		Base
+Group:		Applications/System
 Source0:	%{name}-%{version}.tar.bz2
 # Source0-md5:	74bd4ad52d81ccf67a8f6cd110add809
 Patch0:		%{name}-0.56.6-selinux.patch
@@ -25,25 +26,45 @@
 Sample applications modeled after those included with the shadow
 password suite are included.
 
+%description -l pl.UTF-8
+Biblioteka libuser implementuje ustandaryzowany interfejs do
+manipulowania i administrowania kontami użytkowników i grup.
+Wykorzystuje system wtyczek backendów współpracujących ze źródłami
+danych.
+
+Do pakietu dołączone są przykładowe aplikacje korzystające z
+biblioteki, opracowane na podstawie odpowiedników z pakietu shadow.
+
 %package devel
 Summary:	Files needed for developing applications which use libuser
+Summary(pl.UTF-8):	Pliki do tworzenia aplikacji wykorzystujących libuser
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel
 
 %description devel
-The libuser-devel package contains header files, static libraries, and
-other files useful for developing applications with libuser.
+The libuser-devel package contains header and other files useful for
+developing applications with libuser.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe i inne przydatne do tworzenia
+aplikacji wykorzystujących bibliotekę libuser.
 
 %package -n python-libuser
 Summary:	Python bindings for the libuser library
-Group:		Development/Libraries
+Summary(pl.UTF-8):	Wiązania Pythona do biblioteki libuser
+Group:		Libraries/Python
 Requires:	libuser = %{version}-%{release}
 
 %description -n python-libuser
-The libuser-python package contains the Python bindings for the
-libuser library, which provides a Python API for manipulating and
-administering user and group accounts.
+This package contains the Python bindings for the libuser library,
+which provides a Python API for manipulating and administering user
+and group accounts.
+
+%description -n python-libuser -l pl.UTF-8
+Ten pakiet zawiera wiązania Pythona do biblioteki libuser. Udostępnia
+pythonowe API do manipulowania i administrowania kontami użytkowników
+i grup.
 
 %prep
 %setup -q
@@ -53,21 +74,24 @@
 %configure \
 	--with-selinux \
 	--with-ldap \
-	--with-html-dir=%{_datadir}/gtk-doc/html
+	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
-%clean
-rm -fr $RPM_BUILD_ROOT
-
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+rm $RPM_BUILD_ROOT%{py_sitedir}/*.la
+
 %find_lang %{name}
 
-%post	-p /sbin/ldconfig
+%clean
+rm -fr $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
@@ -82,21 +106,19 @@
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man1/*
 %{_mandir}/man5/*
-%exclude %{_libdir}/%{name}/*.la
-
-%files -n python-libuser
-%defattr(644,root,root,755)
-%doc python/modules.txt
-%{py_sitedir}/*.so
-%exclude %{py_sitedir}/*.la
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/libuser
 %attr(755,root,root) %{_libdir}/*.so
 %{_libdir}/*.la
+%{_includedir}/libuser
 %{_pkgconfigdir}/*
-%{_datadir}/gtk-doc/html/*
+%{_gtkdocdir}/*
+
+%files -n python-libuser
+%defattr(644,root,root,755)
+%doc python/modules.txt
+%{py_sitedir}/*.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-01-28 17:29:41  qboosh
+- pl
+- some general fixes/cleanups
+
 Revision 1.1  2007-12-17 14:57:41  patrys
 - initial release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libuser.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list