[packages/libpwquality] - pl, cleanup

qboosh qboosh at pld-linux.org
Sat Oct 20 06:42:56 CEST 2012


commit 36fca662e2b4a84d227220dbd64262dd439e469c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 20 06:43:17 2012 +0200

    - pl, cleanup

 libpwquality.spec | 36 +++++++++++++++++++++++-------------
 1 file changed, 23 insertions(+), 13 deletions(-)
---
diff --git a/libpwquality.spec b/libpwquality.spec
index ff9d5db..d0661b2 100644
--- a/libpwquality.spec
+++ b/libpwquality.spec
@@ -3,16 +3,17 @@
 %bcond_without	static_libs	# don't build static library
 #
 Summary:	Library for password quality checking and generating random passwords
+Summary(pl.UTF-8):	Biblioteka do sprawdzania jakości oraz generowania losowych haseł
 Name:		libpwquality
 Version:	1.2.0
 Release:	2
-License:	BSD
+License:	BSD or GPL v2+
 Group:		Libraries
 Source0:	https://fedorahosted.org/releases/l/i/libpwquality/%{name}-%{version}.tar.bz2
 # Source0-md5:	8827419118064539db70090cbed5cb21
 URL:		https://fedorahosted.org/libpwquality/
 BuildRequires:	cracklib-devel >= 2.8
-BuildRequires:	gettext-devel
+BuildRequires:	gettext-devel >= 0.15
 BuildRequires:	pam-devel
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel
@@ -25,11 +26,17 @@ libpwquality is a library for password quality checks and generation
 of random passwords that pass the checks. This library uses the
 cracklib and cracklib dictionaries to perform some of the checks.
 
+%description -l pl.UTF-8
+libpwquality to biblioteka do sprawdzania jakości haseł oraz
+generowania haseł losowych przechodzących te testy. Biblioteka
+wykorzystuje bibliotekę cracklib oraz słowniki crackliba do
+wykonywania testów.
+
 %package devel
 Summary:	Header files for libpwquality library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libpwquality
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 
 %description devel
 Header files for libpwquality library.
@@ -41,7 +48,7 @@ Pliki nagłówkowe biblioteki libpwquality.
 Summary:	Static libpwquality library
 Summary(pl.UTF-8):	Statyczna biblioteka libpwquality
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
 Static libpwquality library.
@@ -51,12 +58,16 @@ Statyczna biblioteka libpwquality.
 
 %package -n python-pwquality
 Summary:	Python bindings for the libpwquality library
-Group:		Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Summary(pl.UTF-8):	Wiązania Pythona do biblioteki libpwquality
+Group:		Libraries/Python
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description -n python-pwquality
 Python bindings for the libpwquality library.
 
+%description -n python-pwquality -l pl.UTF-8
+Wiązania Pythona do biblioteki libpwquality.
+
 %prep
 %setup -q
 
@@ -80,13 +91,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README NEWS AUTHORS
+%doc AUTHORS COPYING NEWS README
 %attr(755,root,root) %{_bindir}/pwmake
 %attr(755,root,root) %{_bindir}/pwscore
 %attr(755,root,root) %{_libdir}/libpwquality.so.*.*.*
@@ -100,9 +110,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/pwquality.h
-%{_libdir}/libpwquality.so
+%attr(755,root,root) %{_libdir}/libpwquality.so
 %{_libdir}/libpwquality.la
+%{_includedir}/pwquality.h
 %{_pkgconfigdir}/pwquality.pc
 
 %if %{with static_libs}
@@ -113,4 +123,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n python-pwquality
 %defattr(644,root,root,755)
-%{py_sitedir}/pwquality.so
+%attr(755,root,root) %{py_sitedir}/pwquality.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libpwquality.git/commitdiff/36fca662e2b4a84d227220dbd64262dd439e469c



More information about the pld-cvs-commit mailing list