Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 7111527a3dbdb6c4b559c68334fafdea > files > 2

motion-3.2.9-1mdv2008.1.src.rpm

%define name	motion
%define version 3.2.9
%define release %mkrel 1

Summary:      	Software motion detector
Name: 		%{name}
Version: 	%{version}
Release:	%{release}
Group:	        Video
License: 	GPL
Source: 	http://heanet.dl.sourceforge.net/motion/%{name}-%{version}.tar.gz
URL: 		http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
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
perl -pi -e 's!LDFLAGS="-Wl,-rpath,.*"!!g' configure

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
mv $RPM_BUILD_ROOT%{_sysconfdir}/motion-dist.conf $RPM_BUILD_ROOT%{_sysconfdir}/motion.conf
rm -Rf $RPM_BUILD_ROOT/%_datadir/doc/
%clean
rm -rf $RPM_BUILD_ROOT

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




%changelog
* Sat Mar 01 2008 Michael Scherer <misc@mandriva.org> 3.2.9-1mdv2008.1
+ Revision: 177343
- new version, fix bug 37389
- add url

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild
    - fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake
    - kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Aug 14 2007 Michael Scherer <misc@mandriva.org> 3.2.8-1mdv2008.0
+ Revision: 63433
- new version 3.2.8


* Fri Mar 23 2007 Emmanuel Andry <eandry@mandriva.org> 3.2.7-1mdv2007.1
+ Revision: 148257
- New version 3.2.7
- Import motion

* Tue Feb 28 2006 Spencer Anderson <sdander@mandriva.org> 3.2.4-1mdk
- 3.2.4
- use mkrel

* Thu Apr 28 2005 Olivier Blin <oblin@mandriva.com> 3.1.19-1mdk
- 3.1.19
- new url
- remove obsolete tricks and Patch1
- ship motion-dist.conf as motion.conf
- disable rpath

* Fri Feb 11 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 3.0.7-3mdk
- rpmlint fixes

* Fri Feb 11 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 3.0.7-2mdk
- rebuilt against new mysql libs