Author: qboosh                       Date: Sat Jun 25 21:38:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, some cleanups

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

---- Diffs:

================================================================
Index: SPECS/job.spec
diff -u SPECS/job.spec:1.1 SPECS/job.spec:1.2
--- SPECS/job.spec:1.1  Thu Jun 23 20:25:09 2005
+++ SPECS/job.spec      Sat Jun 25 23:38:49 2005
@@ -1,12 +1,14 @@
 # $Revision$, $Date$
+Summary:       Linux Jobs
+Summary(pl):   Narzędzia do obsługi zadań pod Linuksem
 Name:          job
 Version:       1.5.0
 Release:       0.1
-Summary:       Linux Jobs
-Source0:       
ftp://oss.sgi.com/projects/pagg/download/%{name}-%{version}.tar.gz
 License:       GPL
-URL:           http://oss.sgi.com/projects/pagg/
 Group:         Applications/System
+Source0:       
ftp://oss.sgi.com/projects/pagg/download/%{name}-%{version}.tar.gz
+# Source0-md5: 4cc7c983765c934e33d4078bf530a978
+URL:           http://oss.sgi.com/projects/pagg/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -17,10 +19,19 @@
 allows the administrator to specify which point-of-entry services on
 the system (rlogin, gdm, xdm, ftp, etc.) should create new jobs.
 
+%description -l pl
+Pakiet job dostarcza zestaw poleceń, moduł PAM, strony podręcznika
+oraz plik konfiguracyjny. Polecenia służą do wysyłania sygnałów do
+zadań, oczekiwania na zadania, odczytu informacji o zadaniach oraz dla
+administratorów do kontroli dołączania procesów do zadań. Moduł PAM
+umożliwia administratorowi określenie, które usługi wejściowe systemu
+(rlogin, gdm, xdm, ftp itp.) powinny tworzyć nowe zadania.
+
 %prep
 %setup -q -n %{name}
 
 %build
+# TODO: optflags
 %{__make} build \
        ROOT="$RPM_BUILD_ROOT"
 
@@ -35,18 +46,19 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(754,root,root) /etc/rc.d/init.d/job
-%attr(755,root,root) /lib/security/pam_job.so
-%{_includedir}/job.h
-%attr(755,root,root) %{_prefix}/lib/libjob.so
+%doc AUTHORS COPYING INSTALL README
 %attr(755,root,root) %{_bindir}/jdetach
 %attr(755,root,root) %{_bindir}/jkill
 %attr(755,root,root) %{_bindir}/jsethid
 %attr(755,root,root) %{_bindir}/jstat
 %attr(755,root,root) %{_bindir}/jwait
 %attr(755,root,root) %{_bindir}/jattach
+%attr(755,root,root) %{_libdir}/libjob.so
+%attr(755,root,root) /%{_lib}/security/pam_job.so
+%attr(754,root,root) /etc/rc.d/init.d/job
 %{_mandir}/*/*
-%doc AUTHORS COPYING INSTALL README
+# -devel?
+#%{_includedir}/job.h
 
 %preun
 if [ "$1" = 0 ] ; then
@@ -58,18 +70,12 @@
                echo ""
                exit 1
        fi
-       which chkconfig > /dev/null
-       if [ $? -eq 0 ] ; then
-               chkconfig --del job
-       fi
+       /sbin/chkconfig --del job
 fi
 exit 0
 
 %post
-which chkconfig > /dev/null
-if [ $? -eq 0 ] ; then
-       chkconfig --add job
-fi
+/sbin/chkconfig --add job
 echo "You must add references to pam_job.so in the /etc/pam.d/* config"
 echo "files to enable the PAM services for creating jobs.  You only"
 echo "need to add the reference for services that you want to fall under"
@@ -94,6 +100,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/06/25 21:38:49  qboosh
+- pl, some cleanups
+
 Revision 1.1  2005/06/23 18:25:09  arekm
 - worse than raw
-
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to