diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 38fe763..0000000 --- a/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -cambozola-0.68.tar.gz -jscalendar-1.0.zip -mootools-1.2.3-core-yc.js -ZoneMinder-1.24.2.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 537d8ee..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: zoneminder -# $Id$ -NAME := zoneminder -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/README.Fedora b/README.Fedora deleted file mode 100644 index 254f60f..0000000 --- a/README.Fedora +++ /dev/null @@ -1,31 +0,0 @@ -New installs -============ - -1. Unless you are already using the MySQL server or you are running it - remotely you will need to ensure that the server is installed: - - yum install mysql-server - -2. You will need to create the ZoneMinder database. These commands should do - the trick: - - mysql mysql < /usr/share/zoneminder/db/zm_create.sql - mysqladmin reload - -3. The ZoneMinder web interface is disabled by default, you will need to edit - this file to enable it: - - /etc/httpd/conf.d/zoneminder.conf - -4. This package probably does not work with SELinux enabled at the moment. It - may be necessary to disable SELinux for httpd, or even completely for - ZoneMinder to function. This will be addressed in a later release. - - -Upgrades -======== - -1. You will need to upgrade the ZoneMinder database as described in the - manual. This command should be sufficient: - - zmupdate.pl --version= diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..d82fb65 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Moving to rpmfusion repo diff --git a/redalert.wav b/redalert.wav deleted file mode 100755 index 41e23e0..0000000 Binary files a/redalert.wav and /dev/null differ diff --git a/sources b/sources deleted file mode 100644 index 39edb8a..0000000 --- a/sources +++ /dev/null @@ -1,4 +0,0 @@ -e4fac8b6ee94c9075b14bb95be4f860b cambozola-0.68.tar.gz -10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip -2107736d116f31767cadb15902c6c7fd mootools-1.2.3-core-yc.js -550d2f8f08852134028c3b1cf8fa437f ZoneMinder-1.24.2.tar.gz diff --git a/zoneminder-1.22.3-installfix.patch b/zoneminder-1.22.3-installfix.patch deleted file mode 100644 index 516d634..0000000 --- a/zoneminder-1.22.3-installfix.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.am.orig 2006-12-25 01:21:07.000000000 +0000 -+++ Makefile.am 2006-12-25 01:22:04.000000000 +0000 -@@ -23,9 +23,9 @@ - # Yes, you are correct. This is a HACK! - install-data-hook: - ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) ) -- -( if ! test -e $(RUNDIR); then mkdir $(RUNDIR); fi ) -- ( if ! test -e $(ZM_RUNDIR); then mkdir $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) ) -+ -( if ! test -e $(DESTDIR)$(RUNDIR); then mkdir $(DESTDIR)$(RUNDIR); fi ) -+ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir $(DESTDIR)$(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR) ) - - uninstall-hook: - @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) -- @-( rm -rf $(ZM_RUNDIR) ) -+ @-( rm -rf $(DESTDIR)$(ZM_RUNDIR) ) diff --git a/zoneminder-1.24.1-perldep.patch b/zoneminder-1.24.1-perldep.patch deleted file mode 100644 index aa327b9..0000000 --- a/zoneminder-1.24.1-perldep.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- scripts/ZoneMinder/lib/ZoneMinder/Memory/Mapped.pm.perldep 2009-04-11 19:00:53.000000000 +0100 -+++ scripts/ZoneMinder/lib/ZoneMinder/Memory/Mapped.pm 2009-04-11 19:00:29.000000000 +0100 -@@ -66,7 +66,8 @@ - use ZoneMinder::Config qw(:all); - use ZoneMinder::Debug qw(:all); - --use Sys::Mmap; -+# Remove this, we don't use it but RPM is finding it as a dependency -+# use Sys::Mmap; - - sub zmMemKey( $ ) - { diff --git a/zoneminder-1.24.1-runlevel.patch b/zoneminder-1.24.1-runlevel.patch deleted file mode 100644 index 7e356ba..0000000 --- a/zoneminder-1.24.1-runlevel.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- scripts/zm.in.runlevel 2009-03-15 00:24:49.000000000 +0000 -+++ scripts/zm.in 2009-03-15 00:28:20.000000000 +0000 -@@ -1,6 +1,6 @@ - #!/bin/sh - # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 --# chkconfig: 2345 99 00 -+# chkconfig: - 99 00 - # processname: zmpkg.pl - - # Source function library. diff --git a/zoneminder-1.24.2-dbinstall.patch b/zoneminder-1.24.2-dbinstall.patch deleted file mode 100644 index b43fb83..0000000 --- a/zoneminder-1.24.2-dbinstall.patch +++ /dev/null @@ -1,143 +0,0 @@ -diff -up ./configure.ac.dbinstall ./configure.ac ---- ./configure.ac.dbinstall 2009-06-24 05:22:23.000000000 -0500 -+++ ./configure.ac 2009-07-19 22:40:16.000000000 -0500 -@@ -1,11 +1,9 @@ - AC_PREREQ(2.59) --AC_INIT(zm,1.24.2,support@zoneminder.com,ZoneMinder) -+AC_INIT(zm,1.24.2,support@zoneminder.com,zoneminder) - AM_INIT_AUTOMAKE - AC_CONFIG_SRCDIR(src/zm.h) - AM_CONFIG_HEADER(config.h) - --PATH_BUILD=`pwd` --AC_SUBST(PATH_BUILD) - TIME_BUILD=`date +'%s'` - AC_SUBST(TIME_BUILD) - -@@ -319,8 +317,10 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC - - AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) - AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) -+AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) -+AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") - AC_SUBST(RUNDIR,"/var/run") --AC_SUBST(ZM_RUNDIR,"$RUNDIR/zm") -+AC_SUBST(ZM_RUNDIR,"$RUNDIR/$PACKAGE") - AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") - AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) - AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") -diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am ---- ./db/Makefile.am.dbinstall 2009-03-31 09:06:34.000000000 -0500 -+++ ./db/Makefile.am 2009-07-19 22:27:02.000000000 -0500 -@@ -1,7 +1,16 @@ - AUTOMAKE_OPTIONS = gnu - -+zmdbdatadir = $(pkgdatadir)/db -+ - EXTRA_DIST = \ - zm_create.sql.in \ -+ $(dbupgrade_scripts) -+ -+dist_zmdbdata_DATA = \ -+ zm_create.sql \ -+ $(dbupgrade_scripts) -+ -+dbupgrade_scripts = \ - zm_update-0.0.1.sql \ - zm_update-0.9.7.sql \ - zm_update-0.9.8.sql \ -diff -up ./scripts/zm.in.dbinstall ./scripts/zm.in ---- ./scripts/zm.in.dbinstall 2009-03-20 07:07:02.000000000 -0500 -+++ ./scripts/zm.in 2009-07-19 22:27:02.000000000 -0500 -@@ -6,10 +6,10 @@ - # Source function library. - . /etc/rc.d/init.d/functions - --prog=ZoneMinder -+prog="@PACKAGE@" - ZM_CONFIG="@ZM_CONFIG@" - pidfile="@ZM_RUNDIR@" --LOCKFILE=/var/lock/subsys/zm -+LOCKFILE=/var/lock/subsys/$prog - - loadconf() - { -@@ -27,9 +27,8 @@ command="$ZM_PATH_BIN/zmpkg.pl" - start() - { - zmupdate || return $? -- loadconf || return $? - #Make sure the directory for our PID folder exists or create one. -- [ ! -d /var/run/zm ] \ -+ [ ! -d $pidfile ] \ - && mkdir -m 774 $pidfile \ - && chown $ZM_WEB_USER:$ZM_WEB_GROUP $pidfile - #Make sure the folder for the socks file exists or create one -@@ -56,7 +55,6 @@ start() - - stop() - { -- loadconf - echo -n $"Stopping $prog: " - $command stop - RETVAL=$? -@@ -67,22 +65,21 @@ stop() - - zmstatus() - { -- loadconf - result=`$command status` - if [ "$result" = "running" ]; then -- echo "ZoneMinder is running" -+ echo "$prog is running" - $ZM_PATH_BIN/zmu -l - RETVAL=0 - else -- echo "ZoneMinder is stopped" -+ echo "$prog is stopped" - RETVAL=1 - fi - } - - zmupdate() - { -- if [ -x $ZM_PATH_BIN/zm_update ]; then -- $ZM_PATH_BIN/zm_update noi -+ if [ -x $ZM_PATH_BIN/zmupdate.pl ]; then -+ $ZM_PATH_BIN/zmupdate.pl --freshen >/dev/null - fi - } - -@@ -99,7 +96,6 @@ case "$1" in - start - ;; - 'condrestart') -- loadconf - result=`$ZM_PATH_BIN/zmdc.pl check` - if [ "$result" = "running" ]; then - $ZM_PATH_BIN/zmdc.pl shutdown > /dev/null ---- ./scripts/zmupdate.pl.in.dbinstall 2009-06-30 02:42:12.000000000 -0500 -+++ ./scripts/zmupdate.pl.in 2009-07-19 22:27:02.000000000 -0500 -@@ -403,7 +403,7 @@ if ( $version ) - $command .= " -p".$db_pass; - } - } -- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; -+ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; - - print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); - my $output = qx($command); -diff -up ./zm.conf.in.dbinstall ./zm.conf.in ---- ./zm.conf.in.dbinstall 2009-03-20 07:07:10.000000000 -0500 -+++ ./zm.conf.in 2009-07-19 22:27:02.000000000 -0500 -@@ -12,8 +12,8 @@ - # Current version of ZoneMinder - ZM_VERSION=@VERSION@ - --# Path to build directory, used mostly for finding DB upgrade scripts --ZM_PATH_BUILD=@PATH_BUILD@ -+# Path to installed data directory, used mostly for finding DB upgrade scripts -+ZM_PATH_DATA=@PKGDATADIR@ - - # Build time, used to record when to trigger various checks - ZM_TIME_BUILD=@TIME_BUILD@ diff --git a/zoneminder-1.24.2-gcc44.patch b/zoneminder-1.24.2-gcc44.patch deleted file mode 100644 index 149b922..0000000 --- a/zoneminder-1.24.2-gcc44.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- src/zm_utils.cpp.gcc44 2009-05-28 03:47:59.000000000 -0500 -+++ src/zm_utils.cpp 2009-07-20 00:28:43.000000000 -0500 -@@ -20,7 +20,8 @@ - //#include "zm_debug.h" - #include "zm_utils.h" - --#include -+#include -+#include - - const std::string stringtf( const char *format, ... ) - { ---- src/Makefile.am.frepo 2009-04-11 02:08:57.000000000 +0100 -+++ src/Makefile.am 2009-04-11 02:09:07.000000000 +0100 -@@ -1,7 +1,7 @@ - AUTOMAKE_OPTIONS = gnu - - AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline --AM_CXXFLAGS = -frepo -+#AM_CXXFLAGS = -frepo - - CLEANFILES = *.rpo - diff --git a/zoneminder-1.24.2-noffmpeg.patch b/zoneminder-1.24.2-noffmpeg.patch deleted file mode 100644 index c8e81d6..0000000 --- a/zoneminder-1.24.2-noffmpeg.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- configure.ac.noffmpeg 2009-07-20 00:24:37.000000000 -0500 -+++ configure.ac 2009-07-20 00:25:51.000000000 -0500 -@@ -244,10 +244,10 @@ - AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) - fi - AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) --AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) --AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) --AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) --AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) -+dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) -+dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) -+dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) -+dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) - AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) - AC_CHECK_LIB(z,compress,,) - diff --git a/zoneminder.conf b/zoneminder.conf deleted file mode 100644 index 3e61dcc..0000000 --- a/zoneminder.conf +++ /dev/null @@ -1,30 +0,0 @@ -# The Zoneminder web interface has been disabled by default due to a small -# security issue in the default install. -# -# When using Zoneminder's own authentication, recorded CCTV images are -# accessible from the web directly without passing the authentication. This -# means any attacker could see your CCTV images without a password. In order -# to avoid this you can disable Zoneminder's authentication and configure -# standard Apache authentication (see the Apache documentation for details on -# this). -# -# If you still wish to use Zoneminder's own authentication, or have an -# internal site which needs no authentication, you need to delete the line -# marked below and restart Apache. - -Alias /zm "/usr/share/zoneminder/www" - - Options -Indexes MultiViews FollowSymLinks - AllowOverride All - Order allow,deny - Allow from all -Deny from all # DELETE THIS LINE - - -ScriptAlias /cgi-bin/zm "/usr/libexec/zoneminder/cgi-bin" - - AllowOverride All - Options ExecCGI - Order allow,deny - Allow from all - diff --git a/zoneminder.spec b/zoneminder.spec deleted file mode 100644 index 067d106..0000000 --- a/zoneminder.spec +++ /dev/null @@ -1,280 +0,0 @@ -%define zmuid $(id -un) -%define zmgid $(id -gn) -%define zmuid_final apache -%define zmgid_final apache - -Name: zoneminder -Version: 1.24.2 -Release: 3%{?dist} -Summary: A camera monitoring and analysis tool -Group: System Environment/Daemons -# jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ -# Mootools is inder the MIT license: http://mootools.net/ -License: GPLv2+ and LGPLv2+ and MIT -URL: http://www.zoneminder.com/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: http://www.zoneminder.com/fileadmin/downloads/ZoneMinder-%{version}.tar.gz -Source1: http://www.charliemouse.com/code/cambozola/cambozola-0.68.tar.gz -Source2: zoneminder.conf -Source3: redalert.wav -Source4: README.Fedora -Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip -Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js -Patch1: zoneminder-1.24.2-dbinstall.patch -Patch2: zoneminder-1.24.1-runlevel.patch -Patch3: zoneminder-1.24.2-noffmpeg.patch -Patch4: zoneminder-1.24.1-perldep.patch -Patch10: zoneminder-1.22.3-installfix.patch -Patch11: zoneminder-1.24.2-gcc44.patch - -Conflicts: zm <= 1.22.3 - -BuildRequires: automake gnutls-devel -BuildRequires: mysql-devel pcre-devel libjpeg-devel -BuildRequires: perl(Archive::Tar) perl(Archive::Zip) -BuildRequires: perl(Date::Manip) perl(DBD::mysql) -BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) -BuildRequires: perl(MIME::Entity) perl(MIME::Lite) -BuildRequires: perl(PHP::Serialization) - -Requires: httpd php php-mysql -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(DBD::mysql) perl(Archive::Tar) perl(Archive::Zip) -Requires: perl(MIME::Entity) perl(MIME::Lite) perl(Net::SMTP) perl(Net::FTP) - -Requires(post): /sbin/chkconfig -Requires(preun): /sbin/chkconfig -Requires(preun): /sbin/service -Requires(postun): /sbin/service - - -%description -ZoneMinder is a set of applications which is intended to provide a complete -solution allowing you to capture, analyse, record and monitor any cameras you -have attached to a Linux based machine. It is designed to run on kernels which -support the Video For Linux (V4L) interface and has been tested with cameras -attached to BTTV cards, various USB cameras and IP network cameras. It is -designed to support as many cameras as you can attach to your computer without -too much degradation of performance. This package includes cambozola.jar. - - -%prep -%setup -q -n ZoneMinder-%{version} - -# Unpack jscalendar and move some files around -%setup -q -D -T -a 5 -n ZoneMinder-%{version} -mkdir jscalendar-doc -pushd jscalendar-1.0 -mv *html *php doc/* README ../jscalendar-doc -rmdir doc -popd - -%patch1 -p0 -b .dbinstall -%patch2 -p0 -b .runlevel -%patch3 -p0 -b .noffmpeg -%patch4 -p0 -b .perldep -%patch10 -p0 -b .installfix -%patch11 -p0 -b .gcc44 -gunzip -c %{SOURCE1} | tar xf - cambozola-*/dist/cambozola.jar -cp %{SOURCE4} README.Fedora - -cat <> db/zm_create.sql.in -update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS'; -use mysql; -grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'; -EOF - - -%build -autoreconf - -OPTS="" -%ifnarch %{ix86} x86_64 - OPTS="$OPTS --disable-crashtrace" -%endif - -%configure \ - --with-libarch=%{_lib} \ - --with-mysql=%{_prefix} \ - --with-webdir=%{_datadir}/%{name}/www \ - --with-cgidir=%{_libexecdir}/%{name}/cgi-bin \ - --with-webuser=%{zmuid} \ - --with-webgroup=%{zmgid} \ - --disable-debug \ - $OPTS -make %{?_smp_mflags} -%{__perl} -pi -e 's/(ZM_WEB_USER=).*$/${1}%{zmuid_final}/;' \ - -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf - - -%install -rm -rf $RPM_BUILD_ROOT - -install -d $RPM_BUILD_ROOT%{_localstatedir}/run -make install DESTDIR=$RPM_BUILD_ROOT \ - INSTALLDIRS=vendor -rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_lib}/perl5/vendor_perl/*.*/*-* -rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_lib}/perl5/*.*/*-* -rm -f $RPM_BUILD_ROOT%{_bindir}/zmx10.pl - -install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/zoneminder -for dir in events images temp -do - install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/zoneminder/$dir - rmdir $RPM_BUILD_ROOT%{_datadir}/%{name}/www/$dir - ln -sf ../../../..%{_localstatedir}/lib/zoneminder/$dir $RPM_BUILD_ROOT%{_datadir}/%{name}/www/$dir -done -install -D -m 755 scripts/zm $RPM_BUILD_ROOT%{_initrddir}/zoneminder -install -D -m 644 cambozola-*/dist/cambozola.jar $RPM_BUILD_ROOT%{_datadir}/%{name}/www/cambozola.jar -install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zoneminder.conf -install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/www/sounds/redalert.wav - -# Install jscalendar - this really should be in its own package -install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/www/jscalendar -cp -rp jscalendar-1.0/* $RPM_BUILD_ROOT%{_datadir}/%{name}/www/jscalendar - -# Install mootools -pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/www -install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js -ln -s mootools-1.2.3-core-yc.js mootools.js -popd - -%clean -rm -rf $RPM_BUILD_ROOT - - -%post -/sbin/chkconfig --add zoneminder - - -%preun -if [ $1 -eq 0 ]; then - /sbin/service zoneminder stop > /dev/null 2>&1 || : - /sbin/chkconfig --del zoneminder -fi - - -%postun -if [ $1 -ge 1 ]; then - /sbin/service zoneminder condrestart > /dev/null 2>&1 || : -fi - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README README.Fedora jscalendar-doc -%config(noreplace) %attr(640,root,%{zmgid_final}) %{_sysconfdir}/zm.conf -%config(noreplace) %attr(644,root,root) %{_sysconfdir}/httpd/conf.d/zoneminder.conf -%attr(755,root,root) %{_initrddir}/zoneminder - -%{_bindir}/zma -%{_bindir}/zmaudit.pl -%{_bindir}/zmc -%{_bindir}/zmcontrol.pl -%{_bindir}/zmdc.pl -%{_bindir}/zmf -%{_bindir}/zmfilter.pl -%attr(4755,root,root) %{_bindir}/zmfix -%{_bindir}/zmpkg.pl -%{_bindir}/zmtrack.pl -%{_bindir}/zmtrigger.pl -%{_bindir}/zmu -%{_bindir}/zmupdate.pl -%{_bindir}/zmvideo.pl -%{_bindir}/zmwatch.pl - -%{perl_vendorlib}/ZoneMinder* -%{_mandir}/man*/* -%dir %{_libexecdir}/%{name} -%{_libexecdir}/%{name}/cgi-bin -%dir %{_datadir}/%{name} -%{_datadir}/%{name}/db -%{_datadir}/%{name}/www - -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/events -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/images -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/temp -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/log/zoneminder - - -%changelog -* Mon Jul 27 2009 Fedora Release Engineering - 1.24.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-2 -- Bump release since 1.24.2-1 was mistakenly tagged a few months ago. - -* Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-1 -- Initial update to 1.24.2. -- Rebase patches. -- Update mootools download location. -- Update to mootools 1.2.3. -- Add additional dependencies for some optional features. - -* Sat Apr 11 2009 Martin Ebourne - 1.24.1-3 -- Remove unused Sys::Mmap perl dependency RPM is finding - -* Sat Apr 11 2009 Martin Ebourne - 1.24.1-2 -- Update gcc44 patch to disable -frepo, seems to be broken with gcc44 -- Added noffmpeg patch to make building outside mock easier - -* Sat Mar 21 2009 Martin Ebourne - 1.24.1-1 -- Patch for gcc 4.4 compilation errors -- Upgrade to 1.24.1 - -* Wed Feb 25 2009 Fedora Release Engineering - 1.23.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Jan 24 2009 Caolán McNamara - 1.23.3-3 -- rebuild for dependencies - -* Mon Dec 15 2008 Martin Ebourne - 1.23.3-2 -- Fix permissions on zm.conf - -* Fri Jul 11 2008 Jason L Tibbitts III - 1.23.3-1 -- Initial attempt at packaging 1.23. - -* Tue Jul 1 2008 Martin Ebourne - 1.22.3-15 -- Add perl module compat dependency, bz #453590 - -* Tue May 6 2008 Martin Ebourne - 1.22.3-14 -- Remove default runlevel, bz #441315 - -* Mon Apr 28 2008 Jason L Tibbitts III - 1.22.3-13 -- Backport patch for CVE-2008-1381 from 1.23.3 to 1.22.3. - -* Tue Feb 19 2008 Fedora Release Engineering - 1.22.3-12 -- Autorebuild for GCC 4.3 - -* Thu Jan 3 2008 Martin Ebourne - 1.22.3-11 -- Fix compilation on gcc 4.3 - -* Thu Dec 6 2007 Martin Ebourne - 1.22.3-10 -- Rebuild for new openssl - -* Thu Aug 2 2007 Martin Ebourne - 1.22.3-8 -- Fix licence tag - -* Thu Jul 12 2007 Martin Ebourne - 1.22.3-7 -- Fixes from testing by Jitz including missing dependencies and database creation - -* Sat Jun 30 2007 Martin Ebourne - 1.22.3-6 -- Disable crashtrace on ppc - -* Sat Jun 30 2007 Martin Ebourne - 1.22.3-5 -- Fix uid for directories in /var/lib/zoneminder - -* Tue Jun 26 2007 Martin Ebourne - 1.22.3-4 -- Added perl Archive::Tar dependency -- Disabled web interface due to lack of access control on the event images - -* Sun Jun 10 2007 Martin Ebourne - 1.22.3-3 -- Changes recommended in review by Jason Tibbitts - -* Mon Apr 2 2007 Martin Ebourne - 1.22.3-2 -- Standardised on package name of zoneminder - -* Thu Dec 28 2006 Martin Ebourne - 1.22.3-1 -- First version. Uses some parts from zm-1.20.1 by Corey DeLasaux and Serg Oskin