]>
Commit | Line | Data |
---|---|---|
20787c11 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = libpwquality | |
e7079cd7 | 7 | version = 1.4.5 |
11ed4d4b | 8 | release = 2 |
20787c11 SS |
9 | |
10 | groups = System/Base | |
e7079cd7 | 11 | url = https://github.com/libpwquality/libpwquality |
20787c11 SS |
12 | license = BSD or GPL+ |
13 | summary = A library for password generation and password quality checking. | |
14 | ||
15 | description | |
16 | This is a library for password quality checks and generation of random | |
17 | passwords that pass the checks. This library uses the cracklib and | |
18 | cracklib dictionaries to perform some of the checks. | |
19 | end | |
20 | ||
e7079cd7 | 21 | source_dl = https://github.com/libpwquality/libpwquality/releases/download/%{thisapp}/ |
20787c11 SS |
22 | sources = %{thisapp}.tar.bz2 |
23 | ||
24 | build | |
25 | requires | |
26 | cracklib-devel | |
27 | gettext | |
28 | pam-devel | |
1220db42 | 29 | python3-devel |
11ed4d4b | 30 | zlib-devel |
20787c11 | 31 | end |
1220db42 MT |
32 | |
33 | configure_options += \ | |
34 | --disable-static \ | |
35 | --with-pythonsitedir=%{python3_sitearch} \ | |
36 | --with-python-binary=%{python3} | |
20787c11 SS |
37 | end |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | ||
1220db42 MT |
42 | package python3-%{name} |
43 | template PYTHON3 | |
20787c11 SS |
44 | end |
45 | ||
46 | package %{name}-devel | |
47 | template DEVEL | |
48 | end | |
49 | ||
50 | package %{name}-debuginfo | |
51 | template DEBUGINFO | |
52 | end | |
53 | end |