SPECS: zoneminder.spec - add shm based live stream viewer
arekm
arekm at pld-linux.org
Fri Nov 30 19:50:23 CET 2007
Author: arekm Date: Fri Nov 30 18:50:23 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add shm based live stream viewer
---- Files affected:
SPECS:
zoneminder.spec (1.41 -> 1.42)
---- Diffs:
================================================================
Index: SPECS/zoneminder.spec
diff -u SPECS/zoneminder.spec:1.41 SPECS/zoneminder.spec:1.42
--- SPECS/zoneminder.spec:1.41 Fri Nov 30 19:26:39 2007
+++ SPECS/zoneminder.spec Fri Nov 30 19:50:18 2007
@@ -19,6 +19,8 @@
Source2: zm-init
Source3: zm.conf
Source4: zm-logrotate_d
+Source5: http://dig.hopto.org/xlib_shm/xlib_shm-0.6.3.tar.bz2
+# Source5-md5: 469a65bdf658e68e23445f5cc6f07f07
Patch0: zm-fedora.patch
Patch1: zm-c++.patch
Patch2: zm-shell.patch
@@ -103,7 +105,7 @@
kamery.
%prep
-%setup -q -n ZoneMinder-%{version}
+%setup -q -n ZoneMinder-%{version} -a5
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -143,6 +145,8 @@
-e 's/(ZM_WEB_USER=).*$/${1}http/;' \
-e 's/(ZM_WEB_GROUP=).*$/${1}http/;' zm.conf
+%{__cc} %{rpmcflags} %{rpmldflags} xlib_shm-*/xlib_shm.c -lXv -lXext -lX11 -lmysqlclient -o zm_xlib_shm
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_localstatedir}/{run,log/zoneminder},/etc/logrotate.d}
@@ -167,6 +171,8 @@
install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zoneminder.conf
install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
+install zm_xlib_shm $RPM_BUILD_ROOT%{_bindir}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -200,6 +206,7 @@
%attr(755,root,root) %{_bindir}/zmupdate.pl
%attr(755,root,root) %{_bindir}/zmvideo.pl
%attr(755,root,root) %{_bindir}/zmwatch.pl
+%attr(755,root,root) %{_bindir}/zm_xlib_shm
%dir %{_datadir}/zoneminder
%dir %{_datadir}/zoneminder/cgi-bin
%attr(755,root,root) %{_datadir}/zoneminder/cgi-bin/*
@@ -241,6 +248,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.42 2007-11-30 18:50:18 arekm
+- add shm based live stream viewer
+
Revision 1.41 2007-11-30 18:26:39 arekm
- some R hints
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zoneminder.spec?r1=1.41&r2=1.42&f=u
More information about the pld-cvs-commit
mailing list