SPECS: sabayon.spec - pl, missing dir, killed bashisms, some PLD deps

qboosh qboosh at pld-linux.org
Thu May 18 23:24:05 CEST 2006


Author: qboosh                       Date: Thu May 18 21:24:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, missing dir, killed bashisms, some PLD deps

---- Files affected:
SPECS:
   sabayon.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/sabayon.spec
diff -u SPECS/sabayon.spec:1.1 SPECS/sabayon.spec:1.2
--- SPECS/sabayon.spec:1.1	Wed May 17 18:57:24 2006
+++ SPECS/sabayon.spec	Thu May 18 23:24:00 2006
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 Summary:	Tool to maintain user profiles in a GNOME desktop
+Summary(pl):	Narzędzie do zarządzania profilami użytkowników w środowisku GNOME
 Name:		sabayon
 Version:	2.12.3
 Release:	0.1
@@ -10,7 +11,7 @@
 URL:		http://www.gnome.org/projects/sabayon
 BuildRequires:	desktop-file-utils
 BuildRequires:	gettext
-BuildRequires:	gtk+2-devel >= 2.8.17
+BuildRequires:	gtk+2-devel >= 2:2.8.17
 BuildRequires:	python-devel
 BuildRequires:	python-pygtk-devel >= 2.8.6
 BuildRequires:	usermode
@@ -29,17 +30,26 @@
 Sabayon is a tool to help sysadmins and user change and maintain the
 default behaviour of the GNOME desktop.
 
+%description -l pl
+Sabayon to narzędzie pomagające administratorom i użytkownikom
+zmieniać i utrzymywać domyślne zachowanie środowiska GNOME.
+
 %package admin
 Summary:	Graphical tools for Sabayon profile management
+Summary(pl):	Graficzne narzędzia do zarządzania profilami Sabayon
 Group:		Applications/System
 Requires:	%{name} = %{version}-%{release}
-Requires:	shadow-utils
-Requires:	xorg-x11-Xnest
+Requires:	shadow
+Requires:	xorg-xserver-Xnest
 
 %description admin
 The sabayon-admin package contains the graphical tools which a
 sysadmin should use to manage Sabayon profiles.
 
+%description admin -l pl
+Ten pakiet zawiera graficzne narzędzia dla administratora do
+zarządzania profilami Sabayon.
+
 %prep
 %setup -q
 
@@ -76,25 +86,25 @@
 rm -rf $RPM_BUILD_ROOT
 
 %pre admin
-/usr/sbin/groupadd -r %{name}-admin &>/dev/null || :
-%useradd  -r -s /sbin/nologin -c "Sabayon user" -g %{name}-admin %{name}-admin &>/dev/null || :
-/usr/sbin/usermod -d "" %{name}-admin &>/dev/null || :
+%groupadd -r %{name}-admin
+%useradd -r -s /sbin/nologin -c "Sabayon user" -g %{name}-admin %{name}-admin
+/usr/sbin/usermod -d "" %{name}-admin >/dev/null 2>&1 || :
 
 %post admin
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+	gtk-update-icon-cache -q %{_datadir}/icons/hicolor
 fi
 
 %postun admin
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
-  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+	gtk-update-icon-cache -q %{_datadir}/icons/hicolor
 fi
 
 if [ $1 -eq 0 ]; then
-%{_sbindir}/userdel %{name}-admin &>/dev/null || :
-%{_sbindir}/groupdel %{name}-admin &>/dev/null || :
+	%userremove %{name}-admin
+	%groupremove %{name}-admin
 fi
 
 %files -f sabayon.lang
@@ -125,10 +135,12 @@
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_sbindir}/%{name}
 %{_libexecdir}/%{name}*
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/glade
 %{_datadir}/%{name}/glade/*.glade
 %{_desktopdir}/gnome-%{name}.desktop
 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
-%{py_sitedir}/%{name}/xlib.so
+%attr(755,root,root) %{py_sitedir}/%{name}/xlib.so
 %{py_sitedir}/%{name}/aboutdialog.py*
 %{py_sitedir}/%{name}/changeswindow.py*
 %{py_sitedir}/%{name}/editorwindow.py*
@@ -150,7 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/05/18 21:24:00  qboosh
+- pl, missing dir, killed bashisms, some PLD deps
+
 Revision 1.1  2006/05/17 16:57:24  baggins
 - initial revision
 - lots of work to do
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sabayon.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list