diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20110723/9f6fa65f/attachment.bin')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20110723/9f6fa65f/attachment.bin | 381 |
1 files changed, 381 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20110723/9f6fa65f/attachment.bin b/zarb-ml/mageia-dev/attachments/20110723/9f6fa65f/attachment.bin new file mode 100644 index 000000000..3438dab0b --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20110723/9f6fa65f/attachment.bin @@ -0,0 +1,381 @@ +Name: zoneminder +Version: 1.24.4 +Release: %mkrel 2 +Summary: ZoneMinder, the all-in one Linux GPL'd security camera solution. +URL: http://www.zoneminder.com/ +Source0: http://www2.zoneminder.com/downloads/%{name}-%{version}.tar.gz +Patch0: zoneminder-1.24.4-src.patch +Patch1: zoneminder-1.24.4-install.patch +License: GPLv2+ +Group: System Environment/Daemons +# take current user as user, to allow change of user:group during chmod (make install): +%define zmuid $(id -un) +%define zmgid $(id -gn) + +# Need for configuration +BuildRequires: automake +BuildRequires: ffmpeg +BuildRequires: gnutls-devel +BuildRequires: ffmpeg-devel +BuildRequires: gnutls-devel +BuildRequires: jpeg-devel +BuildRequires: mysql-devel +BuildRequires: pcre-devel + +BuildRequires: perl(Archive::Tar) +BuildRequires: perl(Archive::Zip) +BuildRequires: perl(Date::Manip) +BuildRequires: perl(DBD::mysql) +BuildRequires: perl(Device::SerialPort) +BuildRequires: perl(MIME::Lite) +# if apache is not here, make install is failing: +BuildRequires: apache +# need for post +Requires(post): /sbin/chkconfig +# need to run: +Requires: php-mysql + +%description +ZoneMinder, security camera monitoring solution. + +%prep +%setup -q +%patch0 -p0 +%patch1 -p0 + +%build +autoreconf +# remove ffmpeg compilation issue, see : +# http://www.zoneminder.com/wiki/index.php/FAQ#When_running_configure_I_am_getting_a_lot_of_messages_about_not_being_able_to_compile_the_ffmpeg_libraries +export CPPFLAGS=-D__STDC_CONSTANT_MACROS +OPTS="" +%ifnarch %{ix86} x86_64 + OPTS+=" --disable-crashtrace" +%endif + +%configure2_5x --with-webdir=%{_localstatedir}/www/%{name} \ + --with-cgidir=%{_localstatedir}/www/cgi-bin/%{name} \ + --with-libarch=%{_lib} \ + --with-mysql=%{_prefix}/ \ + --enable-mmap=no \ + --disable-debug \ + --with-webuser=%{zmuid} \ + --with-webgroup=%{zmgid} \ + $OPTS + +%make + +%install +rm -rf %{buildroot} +%makeinstall DESTDIR=%{buildroot} \ + INST_MAN3DIR=%{buildroot}/%{_mandir}/man3 \ + bindir=%{_bindir} \ + sysconfdir=%{_sysconfdir}/%{name} + +rm -fr %{buildroot}/%{_localstatedir}/log/zm +# don't know how to get rid of this another way: +cp -R %{buildroot}/%{_prefix}/local/share/man/man3/ZoneMinder* %{buildroot}/%{_mandir}/man3/ +rm -fr %{buildroot}/%{_prefix}/local/share/man/man3/ZoneMinder* +# some directories creations: +install -m 755 -d %{buildroot}/%{_localstatedir}/log/%{name} +install -m 755 -d %{buildroot}/%{_localstatedir}/lib/%{name}/sock +install -m 755 -d %{buildroot}/%{_localstatedir}/lib/%{name}/swap +install -m 755 -d %{buildroot}/%{_localstatedir}/spool/%{name}-upload +install -D -m 755 scripts/zm %{buildroot}/%{_initrddir}/%{name} + +%clean +rm -rf %{buildroot} + +%post +# Add zoneminder to to rc.d +/sbin/chkconfig --add %{name} + +%preun +if [ $1 -eq 0 ]; then + # stop service + /sbin/service %{name} stop > /dev/null 2>&1 || : + + /sbin/chkconfig --del %{name} +fi + +%postun +if [ $1 -ge 1 ]; then + /sbin/service %{name} condrestart > /dev/null 2>&1 || : +fi + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING README +%_bindir/zma +%_bindir/zmc +%_bindir/zmf +%_bindir/zmfix +%_bindir/zmstreamer +%_bindir/zmu +%_bindir/zmaudit.pl +%_bindir/zmcontrol.pl +%_bindir/zmdc.pl +%_bindir/zmfilter.pl +%_bindir/zmpkg.pl +%_bindir/zmtrack.pl +%_bindir/zmtrigger.pl +%_bindir/zmupdate.pl +%_bindir/zmvideo.pl +%_bindir/zmwatch.pl +%_bindir/zmx10.pl +%{_initrddir}/zoneminder +%dir %{_localstatedir}/www/%{name} +%dir %{_localstatedir}/www/cgi-bin/%{name} +%attr(-,apache,apache) %config(noreplace) %{_localstatedir}/www/%{name}/index.php +%{_sysconfdir}/%{name}/zm.conf +%{perl_sitelib}/ZoneMinder.pm +%{perl_sitelib}/ZoneMinder/Base.pm +%{perl_sitelib}/ZoneMinder/Config.pm +%{perl_sitelib}/ZoneMinder/ConfigAdmin.pm +%{perl_sitelib}/ZoneMinder/ConfigData.pm +%{perl_sitelib}/ZoneMinder/Control.pm +%{perl_sitelib}/ZoneMinder/Control/AxisV2.pm +%{perl_sitelib}/ZoneMinder/Control/Ncs370.pm +%{perl_sitelib}/ZoneMinder/Control/PanasonicIP.pm +%{perl_sitelib}/ZoneMinder/Control/PelcoD.pm +%{perl_sitelib}/ZoneMinder/Control/Visca.pm +%{perl_sitelib}/ZoneMinder/Control/mjpgStreamer.pm +%{perl_sitelib}/ZoneMinder/Database.pm +%{perl_sitelib}/ZoneMinder/Debug.pm +%{perl_sitelib}/ZoneMinder/General.pm +%{perl_sitelib}/ZoneMinder/Memory.pm +%{perl_sitelib}/ZoneMinder/Memory/Mapped.pm +%{perl_sitelib}/ZoneMinder/Memory/Shared.pm +%{perl_sitelib}/ZoneMinder/Trigger/Channel.pm +%{perl_sitelib}/ZoneMinder/Trigger/Channel/File.pm +%{perl_sitelib}/ZoneMinder/Trigger/Channel/Handle.pm +%{perl_sitelib}/ZoneMinder/Trigger/Channel/Inet.pm +%{perl_sitelib}/ZoneMinder/Trigger/Channel/Serial.pm +%{perl_sitelib}/ZoneMinder/Trigger/Channel/Spawning.pm +%{perl_sitelib}/ZoneMinder/Trigger/Channel/Unix.pm +%{perl_sitelib}/ZoneMinder/Trigger/Connection.pm +%{perl_sitelib}/ZoneMinder/Trigger/Connection/Example.pm +%{_mandir}/man3/.exists.xz +%{_mandir}/man3/ZoneMinder* +%{_localstatedir}/www/cgi-bin/%{name}/nph-zms +%{_localstatedir}/www/cgi-bin/%{name}/zms +%{_localstatedir}/www/%{name}/ajax/alarm.php +%{_localstatedir}/www/%{name}/ajax/control.php +%{_localstatedir}/www/%{name}/ajax/event.php +%{_localstatedir}/www/%{name}/ajax/status.php +%{_localstatedir}/www/%{name}/ajax/stream.php +%{_localstatedir}/www/%{name}/ajax/zone.php +%{_localstatedir}/www/%{name}/css/reset.css +%{_localstatedir}/www/%{name}/graphics/favicon.ico +%{_localstatedir}/www/%{name}/graphics/transparent.gif +%{_localstatedir}/www/%{name}/includes/actions.php +%{_localstatedir}/www/%{name}/includes/config.php +%{_localstatedir}/www/%{name}/includes/control_functions.php +%{_localstatedir}/www/%{name}/includes/database.php +%{_localstatedir}/www/%{name}/includes/functions.php +%{_localstatedir}/www/%{name}/includes/lang.php +%{_localstatedir}/www/%{name}/js/mootools.ext.js +%{_localstatedir}/www/%{name}/lang/big5_big5.php +%{_localstatedir}/www/%{name}/lang/cn_zh.php +%{_localstatedir}/www/%{name}/lang/cs_cz.php +%{_localstatedir}/www/%{name}/lang/de_de.php +%{_localstatedir}/www/%{name}/lang/dk_dk.php +%{_localstatedir}/www/%{name}/lang/en_gb.php +%{_localstatedir}/www/%{name}/lang/en_us.php +%{_localstatedir}/www/%{name}/lang/es_ar.php +%{_localstatedir}/www/%{name}/lang/et_ee.php +%{_localstatedir}/www/%{name}/lang/fr_fr.php +%{_localstatedir}/www/%{name}/lang/he_il.php +%{_localstatedir}/www/%{name}/lang/hu_hu.php +%{_localstatedir}/www/%{name}/lang/it_it.php +%{_localstatedir}/www/%{name}/lang/ja_jp.php +%{_localstatedir}/www/%{name}/lang/nl_nl.php +%{_localstatedir}/www/%{name}/lang/pl_pl.php +%{_localstatedir}/www/%{name}/lang/pt_br.php +%{_localstatedir}/www/%{name}/lang/ro_ro.php +%{_localstatedir}/www/%{name}/lang/ru_ru.php +%{_localstatedir}/www/%{name}/lang/se_se.php +%{_localstatedir}/www/%{name}/skins/classic/css/control.css +%{_localstatedir}/www/%{name}/skins/classic/css/export.css +%{_localstatedir}/www/%{name}/skins/classic/css/skin.css +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-d.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-dl.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-dr.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-l-d.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-l-u.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-l.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-r.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-u.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-ul.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/arrow-ur.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/center.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/point-g.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/point-o.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/point-r.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/seq-d.gif +%{_localstatedir}/www/%{name}/skins/classic/graphics/seq-u.gif +%{_localstatedir}/www/%{name}/skins/classic/includes/config.php +%{_localstatedir}/www/%{name}/skins/classic/includes/control_functions.php +%{_localstatedir}/www/%{name}/skins/classic/includes/export_functions.php +%{_localstatedir}/www/%{name}/skins/classic/includes/functions.php +%{_localstatedir}/www/%{name}/skins/classic/includes/init.php +%{_localstatedir}/www/%{name}/skins/classic/includes/timeline_functions.php +%{_localstatedir}/www/%{name}/skins/classic/js/skin.js +%{_localstatedir}/www/%{name}/skins/classic/js/skin.js.php +%{_localstatedir}/www/%{name}/skins/classic/skin.php +%{_localstatedir}/www/%{name}/skins/classic/views/Makefile.am +%{_localstatedir}/www/%{name}/skins/classic/views/bandwidth.php +%{_localstatedir}/www/%{name}/skins/classic/views/blank.php +%{_localstatedir}/www/%{name}/skins/classic/views/console.php +%{_localstatedir}/www/%{name}/skins/classic/views/control.php +%{_localstatedir}/www/%{name}/skins/classic/views/controlcap.php +%{_localstatedir}/www/%{name}/skins/classic/views/controlcaps.php +%{_localstatedir}/www/%{name}/skins/classic/views/controlpreset.php +%{_localstatedir}/www/%{name}/skins/classic/views/css/console.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/control.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/controlcaps.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/devices.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/event.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/events.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/export.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/filter.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/frame.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/frames.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/groups.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/monitor.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/montage.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/montage_2wide.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/montage_3wide.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/montage_3wide50enlarge.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/montage_4wide.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/montage_freeform.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/options.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/stats.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/timeline.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/timeline.css.php +%{_localstatedir}/www/%{name}/skins/classic/views/css/video.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/watch.css +%{_localstatedir}/www/%{name}/skins/classic/views/css/zone.css +%{_localstatedir}/www/%{name}/skins/classic/views/cycle.php +%{_localstatedir}/www/%{name}/skins/classic/views/device.php +%{_localstatedir}/www/%{name}/skins/classic/views/devices.php +%{_localstatedir}/www/%{name}/skins/classic/views/donate.php +%{_localstatedir}/www/%{name}/skins/classic/views/error.php +%{_localstatedir}/www/%{name}/skins/classic/views/event.php +%{_localstatedir}/www/%{name}/skins/classic/views/eventdetail.php +%{_localstatedir}/www/%{name}/skins/classic/views/events.php +%{_localstatedir}/www/%{name}/skins/classic/views/export.php +%{_localstatedir}/www/%{name}/skins/classic/views/filter.php +%{_localstatedir}/www/%{name}/skins/classic/views/filtersave.php +%{_localstatedir}/www/%{name}/skins/classic/views/frame.php +%{_localstatedir}/www/%{name}/skins/classic/views/frames.php +%{_localstatedir}/www/%{name}/skins/classic/views/function.php +%{_localstatedir}/www/%{name}/skins/classic/views/group.php +%{_localstatedir}/www/%{name}/skins/classic/views/groups.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/Makefile.am +%{_localstatedir}/www/%{name}/skins/classic/views/js/console.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/console.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/control.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/controlpreset.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/controlpreset.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/cycle.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/cycle.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/devices.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/donate.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/donate.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/event.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/event.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/events.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/events.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/export.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/export.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/filter.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/filter.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/group.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/groups.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/login.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/monitor.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/monitor.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/monitorpreset.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/monitorprobe.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/montage.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/montage.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/options.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/postlogin.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/state.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/state.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/timeline.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/timeline.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/user.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/version.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/version.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/video.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/video.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/watch.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/watch.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/js/zone.js +%{_localstatedir}/www/%{name}/skins/classic/views/js/zone.js.php +%{_localstatedir}/www/%{name}/skins/classic/views/login.php +%{_localstatedir}/www/%{name}/skins/classic/views/logout.php +%{_localstatedir}/www/%{name}/skins/classic/views/monitor.php +%{_localstatedir}/www/%{name}/skins/classic/views/monitorpreset.php +%{_localstatedir}/www/%{name}/skins/classic/views/monitorprobe.php +%{_localstatedir}/www/%{name}/skins/classic/views/montage.php +%{_localstatedir}/www/%{name}/skins/classic/views/none.php +%{_localstatedir}/www/%{name}/skins/classic/views/optionhelp.php +%{_localstatedir}/www/%{name}/skins/classic/views/options.php +%{_localstatedir}/www/%{name}/skins/classic/views/postlogin.php +%{_localstatedir}/www/%{name}/skins/classic/views/settings.php +%{_localstatedir}/www/%{name}/skins/classic/views/state.php +%{_localstatedir}/www/%{name}/skins/classic/views/stats.php +%{_localstatedir}/www/%{name}/skins/classic/views/status.php +%{_localstatedir}/www/%{name}/skins/classic/views/timeline.php +%{_localstatedir}/www/%{name}/skins/classic/views/user.php +%{_localstatedir}/www/%{name}/skins/classic/views/version.php +%{_localstatedir}/www/%{name}/skins/classic/views/video.php +%{_localstatedir}/www/%{name}/skins/classic/views/watch.php +%{_localstatedir}/www/%{name}/skins/classic/views/zone.php +%{_localstatedir}/www/%{name}/skins/classic/views/zones.php +%{_localstatedir}/www/%{name}/skins/mobile/css/skin.css +%{_localstatedir}/www/%{name}/skins/mobile/includes/config.php +%{_localstatedir}/www/%{name}/skins/mobile/includes/control_functions.php +%{_localstatedir}/www/%{name}/skins/mobile/includes/functions.php +%{_localstatedir}/www/%{name}/skins/mobile/includes/init.php +%{_localstatedir}/www/%{name}/skins/mobile/skin.php +%{_localstatedir}/www/%{name}/skins/mobile/views/console.php +%{_localstatedir}/www/%{name}/skins/mobile/views/css/console.css +%{_localstatedir}/www/%{name}/skins/mobile/views/devices.php +%{_localstatedir}/www/%{name}/skins/mobile/views/error.php +%{_localstatedir}/www/%{name}/skins/mobile/views/event.php +%{_localstatedir}/www/%{name}/skins/mobile/views/eventdetails.php +%{_localstatedir}/www/%{name}/skins/mobile/views/events.php +%{_localstatedir}/www/%{name}/skins/mobile/views/filter.php +%{_localstatedir}/www/%{name}/skins/mobile/views/frame.php +%{_localstatedir}/www/%{name}/skins/mobile/views/function.php +%{_localstatedir}/www/%{name}/skins/mobile/views/login.php +%{_localstatedir}/www/%{name}/skins/mobile/views/montage.php +%{_localstatedir}/www/%{name}/skins/mobile/views/state.php +%{_localstatedir}/www/%{name}/skins/mobile/views/video.php +%{_localstatedir}/www/%{name}/skins/mobile/views/watch.php +%{_localstatedir}/www/%{name}/skins/xml/includes/config.php +%{_localstatedir}/www/%{name}/skins/xml/includes/functions.php +%{_localstatedir}/www/%{name}/skins/xml/includes/init.php +%{_localstatedir}/www/%{name}/skins/xml/skin.php +%{_localstatedir}/www/%{name}/skins/xml/views/actions.php +%{_localstatedir}/www/%{name}/skins/xml/views/console.php +%{_localstatedir}/www/%{name}/skins/xml/views/none.php +%{_localstatedir}/www/%{name}/skins/xml/views/notfound.png +%{_localstatedir}/www/%{name}/tools/mootools/mootools-1.2.5-core-nc.js +%{_localstatedir}/www/%{name}/tools/mootools/mootools-1.2.5-core-yc.js +%{_localstatedir}/www/%{name}/tools/mootools/mootools-1.2.5.1-more-nc.js +%{_localstatedir}/www/%{name}/tools/mootools/mootools-1.2.5.1-more-yc.js +%{_localstatedir}/www/%{name}/tools/mootools/mootools-core.js +%{_localstatedir}/www/%{name}/tools/mootools/mootools-more.js +%{_localstatedir}/www/%{name}/views/file.php +%{_localstatedir}/www/%{name}/views/image.php + +%changelog +* Wed Jun 29 2011 Vincent Hervieux <vincent.hervieux@gmail.com> 1.24.4-1.mga1 ++ Revision: 520056 +- building ZoneMinder for Mageia + |