Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > c7b78ff03ffbd55b7800c77d49d626f1 > files > 3

motion-3.0.7-1mdk.src.rpm

%define name	motion
%define	version 3.0.7
%define release 1mdk

Summary:      	Motion is a software motion detector.
Name: 		%{name}
Version: 	%{version}
Release:	%{release}
Group:	        Video
License: 	GPL
Source: 	%{name}-%{version}-1.tar.bz2
URL: 		http://motion.sourceforge.net
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
Patch1:		motion-wrongincludepath.patch.bz2
BuildRequires:	jpeg-devel ffmpeg-devel mysql-devel

%description
Motion is a software motion detector.
It grabs images from video4linux devices and/or from webcams (such as the 
axis network cameras). Motion is the perfect tool for keeping an eye on your
property keeping only those images that are interesting.

%prep
%setup -q
%patch1 -p1
chmod +x configure

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

rm -rf $RPM_BUILD_ROOT/usr/doc/%{name}-%{version} doc
mv $RPM_BUILD_ROOT/usr/examples/%{name}-%{version} $RPM_BUILD_ROOT/%{_datadir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-,root,root)
%doc CHANGELOG COPYING CREDITS FAQ README README.axis_2100 mask.pgm  motion_guide.html
%config(noreplace) %{_sysconfdir}/motion.conf
%{_datadir}/motion
%{_bindir}/motion
%{_mandir}/man1/motion.1*


%changelog
* Sun Dec 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 3.0.7-1mdk
- 3.0.7
- drop Prefix tag
- fix buildrequires (lib64..)
- make package --short-circuitable
- quiet setup

* Thu Aug  7 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 3.0.6-2mdk
- call correct configure macro

* Sat Jun 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 3.0.6-1mdk
- 3.0.6

* Fri Jan 24 2003 Warly <warly@mandrakesoft.com> 3.0.5-1mdk
- new version

* Tue Jul 23 2002 Lenny Cartier <lenny@mandrakesoft.com> 3.0.4-1mdk
- patch1: fix wrong includepath in motion.h
- from Florent BERANGER <cosmic.flo@libertysurf.fr> :
	- initial Mandrake package