SPECS: motion.spec - pidfile to /var/run/motion

tiwek tiwek at pld-linux.org
Fri Mar 2 10:00:28 CET 2007


Author: tiwek                        Date: Fri Mar  2 09:00:28 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pidfile to /var/run/motion

---- Files affected:
SPECS:
   motion.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: SPECS/motion.spec
diff -u SPECS/motion.spec:1.43 SPECS/motion.spec:1.44
--- SPECS/motion.spec:1.43	Tue Feb 13 07:46:54 2007
+++ SPECS/motion.spec	Fri Mar  2 10:00:22 2007
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Motion - programowy wykrywacz ruchu
 Name:		motion
 Version:	3.2.7
-Release:	2
+Release:	2.1
 License:	GPL
 Group:		Applications/Graphics
 Source0:	http://dl.sourceforge.net/motion/%{name}-%{version}.tar.gz
@@ -86,6 +86,8 @@
 $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_examplesdir}/%{name}-%{version},%{_sysconfdir}/%{name}} \
 	$RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
 
+install -d $RPM_BUILD_ROOT/var/run/%{name}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -133,6 +135,7 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motion/motion.conf
 %{_datadir}/motion
 %{_mandir}/man1/*
+%attr(750,motion,motion) %dir /var/run/%{name}
 
 %files init
 %defattr(644,root,root,755)
@@ -145,6 +148,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2007/03/02 09:00:22  tiwek
+- pidfile to /var/run/motion
+
 Revision 1.43  2007/02/13 06:46:54  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/motion.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list