]> git.pld-linux.org Git - packages/cracklib.git/blob - cracklib.spec
- added missing %attr(755, root, root) for /usr/sbin/*.
[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 Name:        cracklib
5 Version:     2.7
6 Release:     3
7 Group:       Development/Libraries
8 Source:      ftp://coast.cs.purdue.edu/pub/tools/unix/cracklib/%{name}_%{version}.tgz
9 URL:         ftp://coast.cs.purdue.edu/pub/tools/unix/cracklib/
10 Copyright:   artistic
11 Patch:       cracklib-2.7-redhat.patch
12 Buildroot:   /tmp/%{name}-%{version}-root
13
14 %description
15 Checks passwords for security related characteristics - length, uniqueness, 
16 whether they are in a word database, etc.
17
18 %description -l de
19 Überprüft Paßwörter auf Sicherheitsmerkmale - Länge, Eindeutigkeit, 
20 Anwesenheit in einer Wörter-Datenbank usw.
21
22 %description -l fr
23 Vérifie les caractéristiques liées à la sécurité des  mots de passe - longueur,
24 unicité, s'ils sont dans une base de mots, etc.
25
26 %description -l tr
27 Parolalarýn uzunluklarý, sistemde tek olmalarý, sözcük veri tabanýnda
28 bulunmamalarý gibi güvenlikle ilgili özelliklerini kontrol eder.
29
30 %package devel
31 Summary:     Header files and documentation for cracklib
32 Group:       Development/Libraries
33 Requires:    %{name} = %{version}
34
35 %description devel
36 Header files and documentation for cracklib.
37
38 %package dicts
39 Summary:     Standard dictionaries (/usr/dict/words)
40 Summary(de): Standard-Wörterbücher (/usr/dict/words)
41 Summary(fr): Dictionnaires standards (/usr/dict/words)
42 Summary(tr): Standart sözlükler
43 Group:       Utilities/System
44
45 %description dicts
46 Includes the cracklib dictionaries for the standard /usr/dict/words, as
47 well as utilities needed to create new dictionaries.
48
49 %description -l de dicts
50 Enthält die Cracklib-Wörterbücher für die Standard-/usr/dict/Wörter sowie
51 Utilities zum Erstellen neuer Wörterbücher"
52
53 %description -l fr dicts
54 Contient les dictionnaires cracklib pour le /usr/dict/words standard, ainsi
55 que les utilitaires nécessaires à la création de nouveaux dictionnaires.
56
57 %description -l tr dicts
58 /usr/dict/words dosyasý için 'cracklib' kitaplýklarýný ve yeni sözlükler
59 yaratýlmasý için gerekli yardýmcý programlarý içerir.
60
61
62 %prep
63 %setup -q -n %{name},%{version}
64 %patch -p1
65
66 %build
67 make all
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT/usr/{sbin,lib,include}
72 make install ROOT=$RPM_BUILD_ROOT
73
74 strip $RPM_BUILD_ROOT/usr/lib/lib*.so.*.*
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644, root, root, 755)
84 %doc README MANIFEST LICENCE POSTER
85 %attr(755, root, root) /usr/lib/lib*so.*.*
86
87 %files devel
88 %defattr(644, root, root, 755)
89 %doc HISTORY
90 %attr(755, root, root) /usr/lib/lib*so
91 /usr/include/*
92
93 %files dicts
94 %defattr(644, root, root, 755)
95 %attr(755, root, root) /usr/sbin/*
96 /usr/lib/cracklib_dict*
97
98 %changelog
99 * Sat Aug 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
100   [2.7-3]
101 - added -q %setup parameter,
102 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
103 - added using %%{name} and %%{version} in Source and %setup,
104 - added striping shared libraries,
105 - added devel subpackage,
106 - added %attr and %defattr macros in %files (allow build package from
107   non-root account).
108
109 * Sat May 09 1998 Prospector System <bugs@redhat.com>
110 - translations modified for de, fr, tr
111
112 * Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
113 - updated to 2.7
114 - build shared libraries
115
116 * Mon Nov 03 1997 Donnie Barnes <djb@redhat.com>
117 - added -fPIC
118
119 * Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
120 - basic spec file cleanups
121
122 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
123 - built against glibc
This page took 0.33499 seconds and 3 git commands to generate.