54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = libpwquality
|
|
version = 1.4.5
|
|
release = 2
|
|
|
|
groups = System/Base
|
|
url = https://github.com/libpwquality/libpwquality
|
|
license = BSD or GPL+
|
|
summary = A library for password generation and password quality checking.
|
|
|
|
description
|
|
This 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.
|
|
end
|
|
|
|
source_dl = https://github.com/libpwquality/libpwquality/releases/download/%{thisapp}/
|
|
sources = %{thisapp}.tar.bz2
|
|
|
|
build
|
|
requires
|
|
cracklib-devel
|
|
gettext
|
|
pam-devel
|
|
python3-devel
|
|
zlib-devel
|
|
end
|
|
|
|
configure_options += \
|
|
--disable-static \
|
|
--with-pythonsitedir=%{python3_sitearch} \
|
|
--with-python-binary=%{python3}
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
|
|
package python3-%{name}
|
|
template PYTHON3
|
|
end
|
|
|
|
package %{name}-devel
|
|
template DEVEL
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|