%define name vdr2jpeg %define version 0.1.0 %define rel 1 Summary: Grab JPEG images of VDR recordings Name: %name Version: %version Release: %mkrel %rel Group: Video License: LGPL URL: http://xxv.berlios.de/content/blogcategory/20/42/ Source: http://prdownload.berlios.de/xxv/vdr2jpeg-%{version}.tgz Patch0: vdr2jpeg-0.1.0-gcc4.3.patch Patch1: vdr2jpeg-0.1.0-ffmpeg-new-header-location.patch BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: ffmpeg-devel >= 0.4.9-0.pre1.20060309 %description This is a simple c++ program to grab jpeg images from VDR-Recordings. It's based on vdrsync.pl and ffmain, and was designed as a little study to enhance xxv. %prep %setup -q %patch0 -p1 %patch1 -p0 %build %make CXXFLAGS="%optflags -Wl,--as-needed -Wl,--no-undefined" %install rm -rf %{buildroot} install -D -m755 %{name} %{buildroot}%{_bindir}/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc HISTORY LIESMICH README %{_bindir}/%{name} %changelog * Sun Jun 08 2008 Funda Wang <fundawang@mandriva.org> 0.1.0-1mdv2009.0 + Revision: 216779 - New version 0.1.0 - add gcc 4.3 compile patch - add patch to adopt new header location of ffmepg * Thu Dec 27 2007 Anssi Hannula <anssi@mandriva.org> 0.0.12-1mdv2008.1 + Revision: 138204 - new version - update URL + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Jul 19 2007 Anssi Hannula <anssi@mandriva.org> 0.0.11-1mdv2008.0 + Revision: 53680 - 0.0.11 * Sun Jan 21 2007 Anssi Hannula <anssi@mandriva.org> 0.0.10-1mdv2007.0 + Revision: 111480 - 0.0.10 - Import vdr2jpeg * Fri Jul 28 2006 Anssi Hannula <anssi@mandriva.org> 0.0.9-1mdv2007.0 - 0.0.9 * Sat Jun 03 2006 Anssi Hannula <anssi@mandriva.org> 0.0.8b-1mdv2007.0 - initial Mandriva release