Репозитории ALT
S: | 4.5.1-alt1 |
5.1: | 3.2.11-alt1.svn20090216.1 |
4.1: | 3.2.10-alt1.svn20080126.1 |
4.0: | 3.2.10-alt0.svn20080126.M40.1 |
3.0: | 3.1.19-alt1 |
Группа :: Видео
Пакет: motion
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- rpm-spec -*-
# $Id: motion,v 1.18 2005/04/25 05:07:36 grigory Exp $
Name: motion
Version: 3.1.19
Release: alt1
Summary: %name - Detect motion using a video4linux device
License: GPL
Group: Video
URL: http://motion.sourceforge.net/
Source0: %url%name-%version.tar.gz
# Patch0: %name-makefile.patch
# Patch1: %name-ffmpeg.patch
# Patch2: %name-xmlrpc-check.patch
# Automatically added by buildreq on Wed Oct 23 2002
BuildRequires: libcurl-devel libjpeg-devel libssl-devel zlib-devel
BuildRequires: postgresql-devel postgresql-perl
BuildRequires: libMySQL-devel
BuildRequires: ffmpeg-devel
%description
With motion you can use a video4linux device as a motion detector.
It will make snapshots if motion is detected.
%prep
%setup -q
# %patch0 -p1
# %patch1 -p1
# %patch2 -p1
%__subst 's|<postgresql[/]libpq-fe.h>|<pgsql/libpq-fe.h>|' %name.h
%__subst 's|\(if [\\(]cnt->conf\.mysql_db && sqltype[\)]\)|//\1|' event.c
%__subst 's|\(put_mysql[\(]&cnt->conf, cnt->database, filename, tm, sqltype[\)]\)|//\1|' event.c
%__subst 's|\(motion\.conf\)\(\*\)|\1.\2|' Makefile.in
%__subst 's|\(^.*c->quality\).*|//\1|' ffmpeg.c
%build
%__autoconf
%configure --with-libavcodec=yes
%make_build
%install
%makeinstall
%__mv %buildroot%_sysconfdir/%name-dist.conf %buildroot%_sysconfdir/%name.conf
%files
%doc CHANGELOG COPYING CREDITS FAQ INSTALL README* *.conf*
%config %attr(0644,root,root) %_sysconfdir/%name.conf
%_bindir/%name
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
# $Id: motion,v 1.18 2005/04/25 05:07:36 grigory Exp $
Name: motion
Version: 3.1.19
Release: alt1
Summary: %name - Detect motion using a video4linux device
License: GPL
Group: Video
URL: http://motion.sourceforge.net/
Source0: %url%name-%version.tar.gz
# Patch0: %name-makefile.patch
# Patch1: %name-ffmpeg.patch
# Patch2: %name-xmlrpc-check.patch
# Automatically added by buildreq on Wed Oct 23 2002
BuildRequires: libcurl-devel libjpeg-devel libssl-devel zlib-devel
BuildRequires: postgresql-devel postgresql-perl
BuildRequires: libMySQL-devel
BuildRequires: ffmpeg-devel
%description
With motion you can use a video4linux device as a motion detector.
It will make snapshots if motion is detected.
%prep
%setup -q
# %patch0 -p1
# %patch1 -p1
# %patch2 -p1
%__subst 's|<postgresql[/]libpq-fe.h>|<pgsql/libpq-fe.h>|' %name.h
%__subst 's|\(if [\\(]cnt->conf\.mysql_db && sqltype[\)]\)|//\1|' event.c
%__subst 's|\(put_mysql[\(]&cnt->conf, cnt->database, filename, tm, sqltype[\)]\)|//\1|' event.c
%__subst 's|\(motion\.conf\)\(\*\)|\1.\2|' Makefile.in
%__subst 's|\(^.*c->quality\).*|//\1|' ffmpeg.c
%build
%__autoconf
%configure --with-libavcodec=yes
%make_build
%install
%makeinstall
%__mv %buildroot%_sysconfdir/%name-dist.conf %buildroot%_sysconfdir/%name.conf
%files
%doc CHANGELOG COPYING CREDITS FAQ INSTALL README* *.conf*
%config %attr(0644,root,root) %_sysconfdir/%name.conf
%_bindir/%name
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь