SPECS: tuxaator.spec - precise files, fixes

glen glen at pld-linux.org
Fri Sep 16 22:42:19 CEST 2005


Author: glen                         Date: Fri Sep 16 20:42:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- precise files, fixes

---- Files affected:
SPECS:
   tuxaator.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/tuxaator.spec
diff -u SPECS/tuxaator.spec:1.2 SPECS/tuxaator.spec:1.3
--- SPECS/tuxaator.spec:1.2	Fri Jul 22 00:11:17 2005
+++ SPECS/tuxaator.spec	Fri Sep 16 22:42:13 2005
@@ -6,7 +6,7 @@
 Version:	2.0
 %define	_pre	pre2
 %define	_snap	20050718
-Release:	0.%{_pre}.%{_snap}.21
+Release:	0.%{_pre}.%{_snap}.24
 Epoch:		0
 License:	BSD
 Group:		Applications/Communications
@@ -15,6 +15,7 @@
 Source1:	%{name}.init
 Patch0:		%{name}-schema.patch
 Patch1:		%{name}-basedir.patch
+Patch2:		%{name}-perl.patch
 URL:		http://tuxaator.sourceforge.net/
 BuildRequires:	rpmbuild(macros) >= 1.228
 Requires(pre):  /usr/bin/getgid
@@ -55,6 +56,7 @@
 %setup -q -n %{name}-%{_snap}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 find -name CVS -print0 | xargs -0 rm -rf
 
 %install
@@ -66,7 +68,7 @@
 cat <<'EOF' > $RPM_BUILD_ROOT%{_bindir}/%{name}
 #!/bin/sh
 cd %{_appdir}
-exec perl %{name} "$@"
+exec ./%{name} "$@"
 EOF
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
@@ -97,7 +99,7 @@
 
 %preun init
 if [ "$1" = "0" ]; then
-	%service %{name} stop
+	%service -q %{name} stop
 	/sbin/chkconfig --del %{name}
 fi
 
@@ -113,7 +115,13 @@
 %dir %attr(750,root,tuxaator) %{_sysconfdir}
 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,tuxaator) %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/*
-%{_appdir}
+%dir %{_appdir}
+%attr(755,root,root) %{_appdir}/tuxaator
+%{_appdir}/Plugins
+%{_appdir}/config
+%{_appdir}/*.pm
+%{_appdir}/*.txt
+%{_appdir}/reasons
 
 %files init
 %defattr(644,root,root,755)
@@ -125,6 +133,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/09/16 20:42:13  glen
+- precise files, fixes
+
 Revision 1.2  2005/07/21 22:11:17  qboosh
 - pl, strict internal dep
 
================================================================

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




More information about the pld-cvs-commit mailing list