diff --git a/README.md b/README.md index ada4c6b..08d2619 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libpwquality +libpwquality is a library for password quality checking and generation of random passwords that pass the checks. + diff --git a/libpwquality.spec b/libpwquality.spec new file mode 100644 index 0000000..98689c1 --- /dev/null +++ b/libpwquality.spec @@ -0,0 +1,96 @@ +Name: libpwquality +Version: 1.2.3 +Release: 1mamba +Summary: A library for password quality checking and generation of random passwords +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://fedorahosted.org/libpwquality/ +Source: https://fedorahosted.org/releases/l/i/libpwquality/libpwquality-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libaudit-devel +BuildRequires: libcrack-devel +BuildRequires: libpython-devel +BuildRequires: libz-devel +BuildRequires: pam-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libpwquality is a library for password quality checking and generation of random passwords that pass the checks. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sysconfdir}/security/pwquality.conf +%{_bindir}/pwmake +%{_bindir}/pwscore +%{_libdir}/libpwquality.so.* +%{python_sitearch}/pwquality.so +%{_libdir}/security/pam_pwquality.a +%{_libdir}/security/pam_pwquality.la +%{_libdir}/security/pam_pwquality.so +%{_mandir}/man1/pwmake.1.gz +%{_mandir}/man1/pwscore.1.gz +%{_mandir}/man5/pwquality.conf.5.gz +%{_mandir}/man8/pam_pwquality.8.gz +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/pwquality.h +%{_libdir}/libpwquality.a +%{_libdir}/libpwquality.la +%{_libdir}/libpwquality.so +%{_libdir}/pkgconfig/pwquality.pc +%doc ChangeLog NEWS README + +%changelog +* Sun Sep 15 2013 Automatic Build System 1.2.3-1mamba +- automatic update by autodist + +* Sat Jun 22 2013 Automatic Build System 1.2.2-1mamba +- automatic version update by autodist + +* Tue May 21 2013 Silvan Calarco 1.2.1-2mamba +- python 2.7 mass rebuild + +* Mon Dec 31 2012 Automatic Build System 1.2.1-1mamba +- automatic version update by autodist + +* Mon Oct 08 2012 Silvan Calarco 1.2.0-1mamba +- package created by autospec