[packages/python-crack] - refreshed spec (although the package is rather old)
qboosh
qboosh at pld-linux.org
Wed Nov 18 19:01:42 CET 2026
commit bdcaef1b39c6850dff0767765cf9119b95a6cbec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 18 19:01:41 2026 +0100
- refreshed spec (although the package is rather old)
python-crack.spec | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/python-crack.spec b/python-crack.spec
index 4288ef8..1d738e9 100644
--- a/python-crack.spec
+++ b/python-crack.spec
@@ -1,4 +1,5 @@
Summary: Python bindings for cracklib
+Summary(pl.UTF-8): Wiązania Pythona do biblioteki cracklib
Name: python-crack
Version: 0.5.1
Release: 4
@@ -9,9 +10,10 @@ Source0: http://download.savannah.gnu.org/releases/python-crack/%{name}-%{versio
URL: http://www.nongnu.org/python-crack/
BuildRequires: cracklib-devel
BuildRequires: python-devel >= 1:2.5
-BuildRequires: python-modules
+BuildRequires: python-modules >= 1:2.5
BuildRequires: rpm-pythonprov
-%pyrequires_eq python-modules
+BuildRequires: rpmbuild(macros) >= 1.189
+Requires: python-modules%{?_isa} >= 1:2.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -19,12 +21,18 @@ This module brings to Python programs the capability of evaluating
password strength. To achieve this noble aim it uses the well known
cracklib toolkit, hence the name.
+%description -l pl.UTF-8
+Ten moduł udostępnia programom w Pythonie możliwość wyliczania siły
+hasła. Aby osiągnąć ten cel, wykorzystuje dobrze znane narzędzia
+cracklib, stąd nazwa.
+
%prep
%setup -q
%build
%configure \
DEFAULT_DICTPATH=%{_datadir}/dict/cracklib_dict
+
%{__make}
%install
@@ -33,11 +41,13 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README doc/html
-%attr(755,root,root) %{py_sitedir}/*.so
-%{py_sitescriptdir}/*.py[co]
+%doc ChangeLog README doc/html
+%{py_sitedir}/_crack.so
+%{py_sitedir}/crack.py[co]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-crack.git/commitdiff/bdcaef1b39c6850dff0767765cf9119b95a6cbec
More information about the pld-cvs-commit
mailing list