]> git.pld-linux.org Git - packages/adduser.git/blob - adduser.spec
o Updated to 1.06
[packages/adduser.git] / adduser.spec
1 Summary:     Script for easy adding users
2 Name:        adduser
3 Version:     1.06
4 Release:     1
5 Copyright:   GPL
6 Source:      %{name}-%{version}.tar.gz
7 Group:       Utilities/System
8 Group(pl):   U¿ytki/System
9 BuildRoot:   /var/tmp/%{name}-%{version}-%{release}-root
10 BuildArch:   noarch
11 Requires:    shadow
12 Obsoletes:   etcskel
13 Provides:    etcskel
14 Summary(pl): Skrypt do prostego dodawania u¿ytkowników
15
16 %description
17 Interactive shell script for easy adding new users to the system.
18 Package contains files copied to new users home directories.
19
20 %description -l pl
21 Skrypt shella pozwalaj±cy interaktywnie dodawaæ nowych u¿ytkowników
22 do systemu. Pakiet zawiera pliki kopiowane do katalogów domowych
23 nowych u¿ytkowników.
24
25 %prep
26 %setup -q -n %{name}
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT/{usr/sbin,etc/skel,etc/adduser.d,etc/default/public_html/{pl,en}}
31 install -d $RPM_BUILD_ROOT/usr/share/locale/pl/LC_MESSAGES
32 install adduser $RPM_BUILD_ROOT/usr/sbin
33 install adduser.conf $RPM_BUILD_ROOT/etc/default/adduser
34 cp -R etcskel/. $RPM_BUILD_ROOT/etc/skel
35 for lang in pl en; do
36   cp -R etcskel/$lang/public_html/* $RPM_BUILD_ROOT/etc/default/public_html/$lang
37   rm -rf $RPM_BUILD_ROOT/etc/skel/$lang/public_html
38 done
39 ln -sf en $RPM_BUILD_ROOT/etc/skel/default
40 msgfmt po/pl.po -o $RPM_BUILD_ROOT/usr/share/locale/pl/LC_MESSAGES/adduser.mo
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(700,root,root) /usr/sbin/*
48 %attr(644,root,root) %lang(pl) /usr/share/locale/pl/LC_MESSAGES/adduser.mo
49 %attr(750,root,root) %dir /etc/adduser.d
50 %attr(640,root,root) %config %verify(not size mtime md5) /etc/default/adduser
51 %attr(600,root,root,700) %config %verify(not size mtime md5) /etc/skel/C
52 %attr(600,root,root,700) %config %verify(not size mtime md5) %lang(pl) /etc/skel/pl
53 %attr(600,root,root,700) %config %verify(not size mtime md5) %lang(en) /etc/skel/en
54 %verify(not link) /etc/skel/default
55
56 %attr(755,root,root) %dir /etc/default/public_html
57 %config %verify(not size mtime md5) /etc/default/public_html/*
58
59 %changelog
60 * Sun Mar 28 1999 Marek Obuchowicz <elephant@pld.org.pl>
61 [1.06-1]
62 - corrected some quota-setting errors
63
64 * Fri Mar 2 1999 Marek Obuchowicz <elephant@shadow.eu.org>
65 [1.04-1d]
66 - international /etc/skel support
67 - removed .screenrc from skeleton files
68 - first CVSed release
69 - updated default home page :)
70 - default quota support
71 - command line argument parsing and help
72 - /etc/adduser.d support
73
74 * Mon Dec 20 1998 Marek Obuchowicz <elephant@shadow.eu.org>
75 [1.03-1d]
76 - TMPDIR and .todo support added to /etc/skel/.bash* files
77
78 * Sat Dec 19 1998 Marek Obuchowicz <elephant@shadow.eu.org>
79 [1.02-1d]
80 - Updated to newest release
81 - "not-only-for-polish" release
82
83 * Thu Oct 13 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
84 [1.01-1d]
85 - added internationalization
86 - few fixes
87
88 * Sat Oct 10 1998 Marek Obuchowicz <elephant@shadow.eu.org>
89 [1-1d]
90 - first release of packege for Polish Linux Distribution
This page took 0.211237 seconds and 4 git commands to generate.