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