OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / user / shadow / shadow.spec.in
1 # shadow-utils.spec generated automatically from shadow-utils.spec.in
2 # $Id: shadow.spec.in,v 1.1 2002/02/17 20:58:34 kloczek Exp $
3
4 Summary:        Shadow password file utilities for Linux
5 Name:           shadow-utils
6 Version:        @VERSION@
7 Release:        1
8 Copyright:      Free
9 Group:          Utilities/System
10 Source:         ftp://ftp.pld.org.pl/software/shadow/%{name}-%{version}.tar.gz
11 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12 Obsoletes:      adduser
13
14 %description
15 This package includes the programs necessary to convert traditional
16 V7 UNIX password files to the SVR4 shadow password format and additional
17 tools to work with shadow passwords.
18         - 'pwconv' converts everything to the shadow password format.
19         - 'pwunconv' converts back to non-shadow passwords.
20         - 'pwck' checks the integrity of the password and shadow files.
21         - 'lastlog' prints out the last login times of all users.
22         - 'useradd', 'userdel', 'usermod' to manage user accounts.
23         - 'groupadd', 'groupdel', 'groupmod' to manage groups.
24
25 A number of man pages are also included that relate to these utilities,
26 and shadow passwords in general.
27
28 %prep
29 %setup
30
31 %build
32 %configure \
33         --disable-shared \
34         --prefix=/usr \
35         --exec-prefix=/usr
36 make
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make install DESTDIR=$RPM_BUILD_ROOT
42
43 mkdir -p $RPM_BUILD_ROOT/etc/default
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %doc doc/ANNOUNCE doc/CHANGES doc/HOWTO
50 %doc doc/LICENSE doc/README doc/README.linux
51 %dir /etc/default
52 %config /etc/default/useradd
53 %config /etc/login.defs
54 %{_bindir}/chage
55 %{_bindir}/gpasswd
56 %{_bindir}/lastlog
57 %{_mandir}/man1/chage.1*
58 %{_mandir}/man1/gpasswd.1*
59 %{_mandir}/man3/shadow.3*
60 %{_mandir}/man5/shadow.5*
61 %{_mandir}/man8/chpasswd.8*
62 %{_mandir}/man8/groupadd.8*
63 %{_mandir}/man8/groupdel.8*
64 %{_mandir}/man8/groupmod.8*
65 %{_mandir}/man8/grpck.8*
66 %{_mandir}/man8/lastlog.8*
67 %{_mandir}/man8/newusers.8*
68 %{_mandir}/man8/pwck.8*
69 %{_mandir}/man8/pwconv.8*
70 %{_mandir}/man8/useradd.8*
71 %{_mandir}/man8/userdel.8*
72 %{_mandir}/man8/usermod.8*
73 %{_sbindir}/chpasswd
74 %{_sbindir}/groupadd
75 %{_sbindir}/groupdel
76 %{_sbindir}/groupmod
77 %{_sbindir}/grpck
78 %{_sbindir}/grpconv
79 %{_sbindir}/grpunconv
80 %{_sbindir}/newusers
81 %{_sbindir}/pwck
82 %{_sbindir}/pwconv
83 %{_sbindir}/pwunconv
84 %{_sbindir}/useradd
85 %{_sbindir}/userdel
86 %{_sbindir}/usermod
87
88 %changelog
89 * Sun Dec 14 1997 Marek Michalkiewicz <marekm@piast.t19.ds.pwr.wroc.pl>
90 - Lots of changes, see doc/CHANGES for more details
91
92 * Sun Jun 08 1997 Timo Karjalainen <timok@iki.fi>
93 - Initial release