]> git.pld-linux.org Git - packages/cracklib.git/blob - cracklib.spec
7a9acc9ba7d6170ac9550cad65184c9aea8e1291
[packages/cracklib.git] / cracklib.spec
1 Summary:        Password checking library
2 Summary(fr):    Bibliothèque de vérification de mots de passe
3 Summary(pl):    Biblioteka sprawdzania hase³
4 Summary(tr):    Parola denetim kitaplýðý
5 Name:           cracklib
6 Version:        2.7
7 Release:        14
8 License:        Artistic
9 Group:          Libraries
10 Source0:        ftp://coast.cs.purdue.edu/pub/tools/unix/cracklib/%{name}_%{version}.tgz
11 Patch0:         %{name}.patch
12 Patch1:         %{name}-pld.patch
13 Patch2:         %{name}-nss.patch
14 BuildRequires:  words
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Checks passwords for security related characteristics - length,
19 uniqueness, whether they are in a word database, etc.
20
21 %description -l de
22 Überprüft Paßwörter auf Sicherheitsmerkmale - Länge, Eindeutigkeit,
23 Anwesenheit in einer Wörter-Datenbank usw.
24
25 %description -l fr
26 Vérifie les caractéristiques liées à la sécurité des mots de passe -
27 longueur, unicité, s'ils sont dans une base de mots, etc.
28
29 %description -l pl
30 Sprawdza has³a pod k±tem bezpieczeñstwa - d³ugo¶æ, unikalno¶æ, czy
31 wystêpuj± w s³owniu itp.
32
33 %description -l tr
34 Parolalarýn uzunluklarý, sistemde tek olmalarý, sözcük veri tabanýnda
35 bulunmamalarý gibi güvenlikle ilgili özelliklerini kontrol eder.
36
37 %package devel
38 Summary:        Header files and documentation for cracklib
39 Summary(pl):    Pliki nag³ówkowe i dokumentacja dla cracklib
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}
42
43 %description devel
44 Header files and documentation for cracklib.
45
46 %description devel -l pl
47 Pliki nag³ówkowe i dokumentacja dla cracklib.
48
49 %package dicts
50 Summary:        Standard dictionaries (/usr/share/dict/words)
51 Summary(de):    Standard-Wörterbücher (/usr/share/dict/words)
52 Summary(fr):    Dictionnaires standards (/usr/share/dict/words)
53 Summary(pl):    Standardowe s³owniki (/usr/share/dict/words)
54 Summary(tr):    Standart sözlükler (/usr/share/dict/words)
55 Group:          Applications/System
56
57 %description dicts
58 Includes the cracklib dictionaries for the standard /usr/dict/words,
59 as well as utilities needed to create new dictionaries.
60
61 %description dicts -l de
62 Enthält die Cracklib-Wörterbücher für die
63 Standard-/usr/share/dict/Wörter sowie Utilities zum Erstellen neuer
64 Wörterbücher"
65
66 %description dicts -l fr
67 Contient les dictionnaires cracklib pour le /usr/share/dict/words
68 standard, ainsi que les utilitaires nécessaires à la création de
69 nouveaux dictionnaires.
70
71 %description dicts -l pl
72 Pakiet zawiera s³owniki cracklib'a dla standardowego
73 /usr/share/dict/words oraz narzêdzia do tworzenia nowych s³owników.
74
75 %description dicts -l tr
76 /usr/share/dict/words dosyasý için 'cracklib' kitaplýklarýný ve yeni
77 sözlükler yaratýlmasý için gerekli yardýmcý programlarý içerir.
78
79 %prep
80 %setup  -q -n %{name},%{version}
81 %patch0 -p1
82 %patch1 -p1
83 %patch2 -p1
84
85 %build
86 %{__make} all
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir},%{_datadir}/dict}
91
92 %{__make} install \
93         ROOT=$RPM_BUILD_ROOT
94
95 gzip -9nf README MANIFEST LICENCE POSTER HISTORY
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post   -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
102
103 %files
104 %defattr(644,root,root,755)
105 %doc {README,MANIFEST,LICENCE,POSTER}.gz
106
107 %attr(755,root,root) %{_libdir}/lib*so.*
108
109 %files devel
110 %defattr(644,root,root,755)
111 %doc HISTORY.gz
112 %attr(755,root,root) %{_libdir}/lib*.so
113 %{_includedir}/*
114
115 %files dicts
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_sbindir}/*
118 %{_datadir}/dict/cracklib_dict*
This page took 0.089502 seconds and 3 git commands to generate.