diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20110701/723d3193 | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20110701/723d3193')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment-0001.bin | 93 | ||||
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment.bin | 93 |
2 files changed, 186 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment-0001.bin b/zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment-0001.bin new file mode 100644 index 000000000..2f99dccd5 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment-0001.bin @@ -0,0 +1,93 @@ +%define name ZoneMinder +%define version 1.24.4 +%define release %mkrel 1 + +Summary: ZoneMinder, the all-in one Linux GPL'd security camera solution. +Name: %{name} +Version: %{version} +Release: %{release} +URL: http://www.zoneminder.com/ +Source0: http://www2.zoneminder.com/downloads/%{name}-%{version}.tar.gz +Patch0: ZoneMinder-1.24.4-src.patch +License: GPLv2+ +Group: System Environment/Daemons +# Need for configuration +BuildRequires: automake +BuildRequires: ffmpeg +BuildRequires: gnutls-devel +BuildRequires: %{_lib}ffmpeg-devel +BuildRequires: %{_lib}gnutls-devel +BuildRequires: %{_lib}jpeg-devel +BuildRequires: %{_lib}mysql-devel +BuildRequires: %{_lib}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 + +%build +# 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=/var/www/%{name} \ + --with-cgidir=/var/cgi-bin/%{name} \ + --with-libarch=%{_lib} \ + --with-mysql=%{_prefix}/ \ + --enable-mmap=no \ + --disable-debug \ + $OPTS + +%make + +%install +install -d %{buildroot}%{_localstatedir}/run +%makeinstall DESTDIR=%{buildroot} +rm -fr %{buildroot} + +%clean +rm -rf %{buildroot} + +%post +# Add zoneminder to to rc.d +/sbin/chkconfig --add zoneminder + +%postun +#[ $1 = 0 ] || exit 0 + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING README +%_bindir/zma +%_bindir/zmc +%_bindir/zmf +%_bindir/zmfix +%_bindir/zms +%_bindir/zmstreamer +%_bindir/zmu + + + +%changelog +* Wed Jun 29 2011 Vincent Hervieux <vincent.hervieux@gmail.com> 1.24.4-1.mga1 ++ Revision: 520056 +- building ZoneMinder for Mageia + diff --git a/zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment.bin b/zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment.bin new file mode 100644 index 000000000..2f99dccd5 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20110701/723d3193/attachment.bin @@ -0,0 +1,93 @@ +%define name ZoneMinder +%define version 1.24.4 +%define release %mkrel 1 + +Summary: ZoneMinder, the all-in one Linux GPL'd security camera solution. +Name: %{name} +Version: %{version} +Release: %{release} +URL: http://www.zoneminder.com/ +Source0: http://www2.zoneminder.com/downloads/%{name}-%{version}.tar.gz +Patch0: ZoneMinder-1.24.4-src.patch +License: GPLv2+ +Group: System Environment/Daemons +# Need for configuration +BuildRequires: automake +BuildRequires: ffmpeg +BuildRequires: gnutls-devel +BuildRequires: %{_lib}ffmpeg-devel +BuildRequires: %{_lib}gnutls-devel +BuildRequires: %{_lib}jpeg-devel +BuildRequires: %{_lib}mysql-devel +BuildRequires: %{_lib}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 + +%build +# 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=/var/www/%{name} \ + --with-cgidir=/var/cgi-bin/%{name} \ + --with-libarch=%{_lib} \ + --with-mysql=%{_prefix}/ \ + --enable-mmap=no \ + --disable-debug \ + $OPTS + +%make + +%install +install -d %{buildroot}%{_localstatedir}/run +%makeinstall DESTDIR=%{buildroot} +rm -fr %{buildroot} + +%clean +rm -rf %{buildroot} + +%post +# Add zoneminder to to rc.d +/sbin/chkconfig --add zoneminder + +%postun +#[ $1 = 0 ] || exit 0 + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING README +%_bindir/zma +%_bindir/zmc +%_bindir/zmf +%_bindir/zmfix +%_bindir/zms +%_bindir/zmstreamer +%_bindir/zmu + + + +%changelog +* Wed Jun 29 2011 Vincent Hervieux <vincent.hervieux@gmail.com> 1.24.4-1.mga1 ++ Revision: 520056 +- building ZoneMinder for Mageia + |