]> git.pld-linux.org Git - packages/adduser.git/commitdiff
- more macros
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 28 Jul 1999 12:45:22 +0000 (12:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cleaned up %files

Changed files:
    adduser.spec -> 1.12

adduser.spec

index a6252b4b0ef6afa8bb617203e36a0d2fcb81bb4a..f43d7a728b7ec4c82907d16ab1e038ca9c2adb28 100644 (file)
@@ -1,16 +1,16 @@
-Summary:     Script for easy adding users
-Summary(pl): Skrypt do prostego dodawania u¿ytkowników
-Name:        adduser
-Version:     1.06
-Release:     2
-Copyright:   GPL
-Source:      %{name}-%{version}.tar.gz
-Group:       Utilities/System
-Group(pl):   Narzêdzia/System
-Requires:    shadow
-Obsoletes:   etcskel
-Provides:    etcskel
-BuildArch:   noarch
+Summary:       Script for easy adding users
+Summary(pl):   Skrypt do prostego dodawania u¿ytkowników
+Name:          adduser
+Version:       1.06
+Release:       2
+Copyright:     GPL
+Source:                %{name}-%{version}.tar.gz
+Group:         Utilities/System
+Group(pl):     Narzêdzia/System
+Requires:      shadow
+Obsoletes:     etcskel
+Provides:      etcskel
+BuildArch:     noarch
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -23,11 +23,11 @@ do systemu. Pakiet zawiera pliki kopiowane do katalog
 nowych u¿ytkowników.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/{sbin,share/locale/pl/LC_MESSAGES} \
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_datadir}/locale/pl/LC_MESSAGES} \
        $RPM_BUILD_ROOT/etc/{skel,adduser.d,default/public_html/{pl,en}}
 
 install adduser $RPM_BUILD_ROOT%{_sbindir}
@@ -49,17 +49,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(700,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/*
 
-%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(755,root,root) %dir /etc/adduser.d
+%attr(755,root,root) %dir /etc/skel/C
+%attr(755,root,root) %dir %lang(pl) /etc/skel/pl
+%attr(755,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) %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/*
+%config %verify(not size mtime md5) /etc/default/adduser
+%config %verify(not size mtime md5) /etc/skel/C/*
+%config %verify(not size mtime md5) /etc/skel/C/.[a-zA-Z0-9]*
+#%config %verify(not size mtime md5) %lang(pl) /etc/skel/pl/*
+%config %verify(not size mtime md5) %lang(pl) /etc/skel/pl/.[a-zA-Z0-9]*
+#%config %verify(not size mtime md5) %lang(en) /etc/skel/en/*
+%config %verify(not size mtime md5) %lang(en) /etc/skel/en/.[a-zA-Z0-9]*
 %verify(not link) /etc/skel/default
 
 %dir /etc/default/public_html
This page took 0.071964 seconds and 4 git commands to generate.