packages: python-crack/python-crack.spec (NEW) - initial
arekm
arekm at pld-linux.org
Tue Dec 1 15:03:20 CET 2009
Author: arekm Date: Tue Dec 1 14:03:20 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/python-crack:
python-crack.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-crack/python-crack.spec
diff -u /dev/null packages/python-crack/python-crack.spec:1.1
--- /dev/null Tue Dec 1 15:03:20 2009
+++ packages/python-crack/python-crack.spec Tue Dec 1 15:03:15 2009
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+Summary: Python bindings for cracklib
+Name: python-crack
+Version: 0.5.1
+Release: 1
+License: MIT
+Group: Libraries/Python
+Source0: http://download.savannah.gnu.org/releases/python-crack/%{name}-%{version}.tar.gz
+# Source0-md5: 0a0cadc8679e8dcb052dd9c22a5e032e
+URL: http://www.nongnu.org/python-crack/
+BuildRequires: cracklib-devel
+BuildRequires: python-devel >= 1:2.5
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+%prep
+%setup -q
+
+%build
+%configure \
+DEFAULT_DICTPATH=%{_datadir}/dict/words
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%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]
+
+%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.1 2009/12/01 14:03:15 arekm
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list