SPECS: motion.spec - macros r1.268 for %service, adapterized
glen
glen at pld-linux.org
Thu Mar 23 21:16:14 CET 2006
Author: glen Date: Thu Mar 23 20:16:14 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- macros r1.268 for %service, adapterized
---- Files affected:
SPECS:
motion.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SPECS/motion.spec
diff -u SPECS/motion.spec:1.29 SPECS/motion.spec:1.30
--- SPECS/motion.spec:1.29 Thu Mar 23 20:26:03 2006
+++ SPECS/motion.spec Thu Mar 23 21:16:08 2006
@@ -6,14 +6,14 @@
%bcond_without pgsql # build PostgreSQL support
%bcond_without mysql # build MySQL support
%bcond_without xmlrpc # build XMLRPC support
-#
+#
Summary: Motion is a software motion detector
Summary(pl): Motion - programowy wykrywacz ruchu
Name: motion
Version: 3.2.5.1
Release: 1.5
-Group: Applications/Graphics
License: GPL
+Group: Applications/Graphics
Source0: http://dl.sourceforge.net/motion/%{name}-%{version}.tar.gz
# Source0-md5: 2ea49b07582b70284699fb448d6137f7
Source1: %{name}.init
@@ -25,6 +25,7 @@
BuildRequires: libjpeg-devel
%{?with_mysql:BuildRequires: mysql-devel}
%{?with_pgsql:BuildRequires: postgresql-devel}
+BuildRequires: rpmbuild(macros) >= 1.268
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -40,11 +41,11 @@
tylko interesujące obrazy.
%package init
-Summary: Init script for Motion
-Summary(pl): Skrypt init dla systemu Motion
-Group: Applications/System
-Requires(post,preun): /sbin/chkconfig
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Summary: Init script for Motion
+Summary(pl): Skrypt init dla systemu Motion
+Group: Applications/System
+Requires(post,preun): /sbin/chkconfig
+Requires: %{name} = %{epoch}:%{version}-%{release}
%description init
Init script for Motion.
@@ -68,8 +69,8 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_examplesdir}/%{name}-%{version},%{_sysconfdir}} \
- $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,motion}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_examplesdir}/%{name}-%{version},%{_sysconfdir}/motion} \
+ $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -98,7 +99,7 @@
%doc CHANGELOG CREDITS FAQ README README.axis_2100 motion_guide.html *.conf motion.init-RH
%attr(755,root,root) %{_bindir}/motion
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/motion.conf
-%dir /etc/motion
+%dir %{_sysconfdir}/motion
%{_datadir}/motion
%{_mandir}/man1/*
@@ -113,6 +114,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2006/03/23 20:16:08 glen
+- macros r1.268 for %service, adapterized
+
Revision 1.29 2006/03/23 19:26:03 blues
- init subpackage - use it for starting daemon-mode motion detector.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/motion.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list