]> git.pld-linux.org Git - packages/adduser.git/blob - adduser.spec
- standarized line with BuildRoot field:
[packages/adduser.git] / adduser.spec
1 Summary:     Script for easy adding users
2 Summary(pl): Skrypt do prostego dodawania u¿ytkowników
3 Name:        adduser
4 Version:     1.06
5 Release:     2
6 Copyright:   GPL
7 Source:      %{name}-%{version}.tar.gz
8 Group:       Utilities/System
9 Group(pl):   Narzêdzia/System
10 Requires:    shadow
11 Obsoletes:   etcskel
12 Provides:    etcskel
13 BuildArch:   noarch
14 BuildRoot:      /tmp/%{name}-%{version}-root
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,share/locale/pl/LC_MESSAGES} \
31         $RPM_BUILD_ROOT/etc/{skel,adduser.d,default/public_html/{pl,en}}
32
33 install adduser $RPM_BUILD_ROOT%{_sbindir}
34 install adduser.conf $RPM_BUILD_ROOT/etc/default/adduser
35
36 cp -R etcskel/. $RPM_BUILD_ROOT/etc/skel
37
38 for lang in pl en; do
39   cp -R etcskel/$lang/public_html/* $RPM_BUILD_ROOT/etc/default/public_html/$lang
40   rm -rf $RPM_BUILD_ROOT/etc/skel/$lang/public_html
41 done
42 ln -sf en $RPM_BUILD_ROOT/etc/skel/default
43 msgfmt po/pl.po -o $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/adduser.mo
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %attr(700,root,root) %{_sbindir}/*
51
52 %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/adduser.mo
53
54 %attr(750,root,root) %dir /etc/adduser.d
55 %attr(700,root,root) %dir /etc/skel/C
56 %attr(700,root,root) %dir %lang(pl) /etc/skel/pl
57 %attr(700,root,root) %dir %lang(en) /etc/skel/en
58
59 %attr(640,root,root) %config %verify(not size mtime md5) /etc/default/adduser
60 %attr(600,root,root) %config %verify(not size mtime md5) /etc/skel/C/*
61 %attr(600,root,root) %config %verify(not size mtime md5) %lang(pl) /etc/skel/pl/*
62 %attr(600,root,root) %config %verify(not size mtime md5) %lang(en) /etc/skel/en/*
63 %verify(not link) /etc/skel/default
64
65 %dir /etc/default/public_html
66 %config %verify(not size mtime md5) /etc/default/public_html/*
67
68 %changelog
69 * Tue Apr 20 1999 Piotr Czerwiñski <pius@pld.org.pl>
70   [1.06-2]
71 - recompiled on rpm 3,
72 - cosmetics.
73
74 * Sun Mar 28 1999 Marek Obuchowicz <elephant@pld.org.pl>
75   [1.06-1]
76 - corrected some quota-setting errors
77
78 * Fri Mar 2 1999 Marek Obuchowicz <elephant@shadow.eu.org>
79   [1.04-1d]
80 - international /etc/skel support
81 - removed .screenrc from skeleton files
82 - first CVSed release
83 - updated default home page :)
84 - default quota support
85 - command line argument parsing and help
86 - /etc/adduser.d support
87
88 * Mon Dec 20 1998 Marek Obuchowicz <elephant@shadow.eu.org>
89   [1.03-1d]
90 - TMPDIR and .todo support added to /etc/skel/.bash* files
91
92 * Sat Dec 19 1998 Marek Obuchowicz <elephant@shadow.eu.org>
93   [1.02-1d]
94 - Updated to newest release
95 - "not-only-for-polish" release
96
97 * Thu Oct 13 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
98   [1.01-1d]
99 - added internationalization
100 - few fixes
101
102 * Sat Oct 10 1998 Marek Obuchowicz <elephant@shadow.eu.org>
103   [1-1d]
104 - first release of packege for Polish Linux Distribution
This page took 0.064771 seconds and 3 git commands to generate.