]> git.pld-linux.org Git - packages/adduser.git/blobdiff - adduser.spec
- standarized line with BuildRoot field:
[packages/adduser.git] / adduser.spec
index 4399e0990ce59154e81e7cccd3e8e1bf8e12bf2f..7654dfebff1eb6e94eac4e8927eaf0d07e1a9584 100644 (file)
@@ -1,17 +1,17 @@
 Summary:     Script for easy adding users
+Summary(pl): Skrypt do prostego dodawania u¿ytkowników
 Name:        adduser
 Version:     1.06
-Release:     1
+Release:     2
 Copyright:   GPL
 Source:      %{name}-%{version}.tar.gz
 Group:       Utilities/System
-Group(pl):   U¿ytki/System
-BuildRoot:   /var/tmp/%{name}-%{version}-%{release}-root
-BuildArch:   noarch
+Group(pl):   Narzêdzia/System
 Requires:    shadow
 Obsoletes:   etcskel
 Provides:    etcskel
-Summary(pl): Skrypt do prostego dodawania u¿ytkowników
+BuildArch:   noarch
+BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
 Interactive shell script for easy adding new users to the system.
@@ -27,42 +27,56 @@ nowych u
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{usr/sbin,etc/skel,etc/adduser.d,etc/default/public_html/{pl,en}}
-install -d $RPM_BUILD_ROOT/usr/share/locale/pl/LC_MESSAGES
-install adduser $RPM_BUILD_ROOT/usr/sbin
+install -d $RPM_BUILD_ROOT/usr/{sbin,share/locale/pl/LC_MESSAGES} \
+       $RPM_BUILD_ROOT/etc/{skel,adduser.d,default/public_html/{pl,en}}
+
+install adduser $RPM_BUILD_ROOT%{_sbindir}
 install adduser.conf $RPM_BUILD_ROOT/etc/default/adduser
+
 cp -R etcskel/. $RPM_BUILD_ROOT/etc/skel
+
 for lang in pl en; do
   cp -R etcskel/$lang/public_html/* $RPM_BUILD_ROOT/etc/default/public_html/$lang
   rm -rf $RPM_BUILD_ROOT/etc/skel/$lang/public_html
 done
 ln -sf en $RPM_BUILD_ROOT/etc/skel/default
-msgfmt po/pl.po -o $RPM_BUILD_ROOT/usr/share/locale/pl/LC_MESSAGES/adduser.mo
+msgfmt po/pl.po -o $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/adduser.mo
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(700,root,root) /usr/sbin/*
-%attr(644,root,root) %lang(pl) /usr/share/locale/pl/LC_MESSAGES/adduser.mo
+%attr(700,root,root) %{_sbindir}/*
+
+%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/adduser.mo
+
 %attr(750,root,root) %dir /etc/adduser.d
+%attr(700,root,root) %dir /etc/skel/C
+%attr(700,root,root) %dir %lang(pl) /etc/skel/pl
+%attr(700,root,root) %dir %lang(en) /etc/skel/en
+
 %attr(640,root,root) %config %verify(not size mtime md5) /etc/default/adduser
-%attr(600,root,root,700) %config %verify(not size mtime md5) /etc/skel/C
-%attr(600,root,root,700) %config %verify(not size mtime md5) %lang(pl) /etc/skel/pl
-%attr(600,root,root,700) %config %verify(not size mtime md5) %lang(en) /etc/skel/en
+%attr(600,root,root) %config %verify(not size mtime md5) /etc/skel/C/*
+%attr(600,root,root) %config %verify(not size mtime md5) %lang(pl) /etc/skel/pl/*
+%attr(600,root,root) %config %verify(not size mtime md5) %lang(en) /etc/skel/en/*
 %verify(not link) /etc/skel/default
 
-%attr(755,root,root) %dir /etc/default/public_html
+%dir /etc/default/public_html
 %config %verify(not size mtime md5) /etc/default/public_html/*
 
 %changelog
+* Tue Apr 20 1999 Piotr Czerwiñski <pius@pld.org.pl>
+  [1.06-2]
+- recompiled on rpm 3,
+- cosmetics.
+
 * Sun Mar 28 1999 Marek Obuchowicz <elephant@pld.org.pl>
-[1.06-1]
+  [1.06-1]
 - corrected some quota-setting errors
 
 * Fri Mar 2 1999 Marek Obuchowicz <elephant@shadow.eu.org>
-[1.04-1d]
+  [1.04-1d]
 - international /etc/skel support
 - removed .screenrc from skeleton files
 - first CVSed release
@@ -72,19 +86,19 @@ rm -rf $RPM_BUILD_ROOT
 - /etc/adduser.d support
 
 * Mon Dec 20 1998 Marek Obuchowicz <elephant@shadow.eu.org>
-[1.03-1d]
+  [1.03-1d]
 - TMPDIR and .todo support added to /etc/skel/.bash* files
 
 * Sat Dec 19 1998 Marek Obuchowicz <elephant@shadow.eu.org>
-[1.02-1d]
+  [1.02-1d]
 - Updated to newest release
 - "not-only-for-polish" release
 
 * Thu Oct 13 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-[1.01-1d]
+  [1.01-1d]
 - added internationalization
 - few fixes
 
 * Sat Oct 10 1998 Marek Obuchowicz <elephant@shadow.eu.org>
-[1-1d]
+  [1-1d]
 - first release of packege for Polish Linux Distribution
This page took 0.045238 seconds and 4 git commands to generate.