2024-01-06 05:28:10 +01:00
|
|
|
Name: libpwquality
|
2024-01-06 05:28:11 +01:00
|
|
|
Version: 1.4.5
|
2024-01-06 05:28:10 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:28:10 +01:00
|
|
|
Summary: A library for password quality checking and generation of random passwords
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:28:11 +01:00
|
|
|
URL: https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement
|
2024-01-06 05:28:10 +01:00
|
|
|
Source: https://github.com/libpwquality/libpwquality/releases/download/libpwquality-%{version}/libpwquality-%{version}.tar.bz2
|
2024-01-06 05:28:10 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcrack-devel
|
2024-01-06 05:28:10 +01:00
|
|
|
BuildRequires: libpam-devel
|
2024-01-06 05:28:11 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 05:28:10 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:28:11 +01:00
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:28:10 +01:00
|
|
|
|
|
|
|
%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}
|
2024-01-06 05:28:11 +01:00
|
|
|
Requires: pkg-config
|
2024-01-06 05:28:10 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 05:28:11 +01:00
|
|
|
%package tools
|
|
|
|
Group: Applications/Security
|
|
|
|
Summary: Tools provided with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains the tools provided with %{name}.
|
|
|
|
|
|
|
|
%package -n python-pwquality
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings to %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-pwquality
|
|
|
|
This package contains the Python bindings to %{name}.
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 05:28:10 +01:00
|
|
|
%configure \
|
2024-01-06 05:28:11 +01:00
|
|
|
--with-securedir=%{_libdir}/security \
|
|
|
|
--with-python-binary=python3 \
|
|
|
|
--with-python-rev=%{python3_version}
|
2024-01-06 05:28:10 +01:00
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
%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)
|
|
|
|
%{_libdir}/libpwquality.so.*
|
2024-01-06 05:28:11 +01:00
|
|
|
%{_libdir}/security/pam_pwquality.a
|
|
|
|
%{_libdir}/security/pam_pwquality.so
|
2024-01-06 05:28:10 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/pwquality.h
|
|
|
|
%{_libdir}/libpwquality.a
|
|
|
|
%{_libdir}/libpwquality.so
|
|
|
|
%{_libdir}/pkgconfig/pwquality.pc
|
2024-01-06 05:28:10 +01:00
|
|
|
%{_mandir}/man3/pwquality.3*
|
2024-01-06 05:28:10 +01:00
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
2024-01-06 05:28:11 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/security/pwquality.conf
|
|
|
|
%{_bindir}/pwmake
|
|
|
|
%{_bindir}/pwscore
|
|
|
|
%{_mandir}/man1/pwmake.1*
|
|
|
|
%{_mandir}/man1/pwscore.1*
|
|
|
|
%{_mandir}/man5/pwquality.conf.5*
|
|
|
|
%{_mandir}/man8/pam_pwquality.8*
|
|
|
|
|
|
|
|
%files -n python-pwquality
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python3_sitearch}/pwquality-%{version}-py*.egg
|
|
|
|
%{python3_sitearch}/pwquality-%{version}-py*.egg/*
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
%changelog
|
2024-01-06 05:28:11 +01:00
|
|
|
* Tue Nov 22 2022 Automatic Build System <autodist@mambasoft.it> 1.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Wed Oct 21 2020 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Sat Nov 09 2019 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Thu Sep 26 2019 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Sun Dec 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
|
|
|
- install pam files into /%{_lib}/security
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Wed Dec 23 2015 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:28:10 +01:00
|
|
|
* Sun Sep 15 2013 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 22 2013 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue May 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Mon Dec 31 2012 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- package created by autospec
|