Summary: The avifile library used to play AVI streams, including DivX ;-) Name: avifile Version: 0.7.45 Release: 14.2.0.1%{?dist} License: GPL Group: Applications/Multimedia Source0: http://prdownloads.sourceforge.net/avifile/%{name}-0.7-%{version}.tar.bz2 Patch0: avifile-0.7.43-xft.patch Patch1: avifile-0.7.45-qual.patch URL: http://avifile.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: gcc-c++ BuildRequires: autoconf, automake14, libtool, gettext BuildRequires: qt-devel >= 2.0.0, SDL-devel >= 1.0.0, esound-devel BuildRequires: libvorbis-devel, libjpeg-devel, libpng-devel, libmng-devel BuildRequires: divx4linux-devel, xvidcore-devel, faad2-devel, faac-devel, freetype-devel >= 2.0 BuildRequires: libXft-devel BuildRequires: zlib-devel BuildRequires: a52dec-devel BuildRequires: lame-devel BuildRequires: libmad-devel BuildRequires: ffmpeg-devel Provides: avifile-utils = %{evr} %description Avifile is a library that allows you to read and write compressed AVI files in most common video & audio formats (Indeo® Video, DivX, etc.) under x86 Linux. Compression and decompression are performed with Win32 DLLs. It includes a simple AVI player and a Video4Linux capture program To use this program, you will need to get the Win32 binaries from %{url} and put uncompress them under /usr/lib/win32. %package devel Summary: Headers for developing programs that will use avifile. Group: Development/Libraries Requires: %{name} = %{version} %description devel This package contains the headers that programmers will need to develop applications which will use avifile. %prep %setup -q -n %{name}-0.7-%{version} #patch0 -p1 %patch1 -p1 #cp -a configure.ac configure.in %build #libtoolize #aclocal-1.4 #autoconf #automake-1.4 --foreign %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ --enable-static FFMPEG_CFLAGS="$CFLAGS" export FFMPEG_CFLAGS make %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING ChangeLog README doc %{_bindir}/avibench %{_bindir}/avicap %{_bindir}/avicat %{_bindir}/avimake %{_bindir}/aviplay %{_bindir}/avirec %{_bindir}/avirecompress %{_bindir}/avitype %attr(4755, root, root) %{_bindir}/kv4lsetup %{_libdir}/*.so.* %dir %{_libdir}/avifile-0.7 %{_libdir}/avifile-0.7/*.so %ifnarch x86_64 %dir %{_libdir}/avifile-0.7/vidix %{_libdir}/avifile-0.7/vidix/*.so %endif %{_datadir}/avifile-0.7 %{_mandir}/man1/* %files devel %defattr(-,root,root,-) %{_bindir}/avifile-config %{_includedir}/avifile-0.7 %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %dir %{_libdir}/avifile-0.7 %{_libdir}/avifile-0.7/*.a %{_libdir}/avifile-0.7/*.la %ifnarch x86_64 %dir %{_libdir}/avifile-0.7/vidix %{_libdir}/avifile-0.7/vidix/*.a %{_libdir}/avifile-0.7/vidix/*.la %endif %{_datadir}/aclocal/avifile.m4 %{_libdir}/pkgconfig/avifile.pc %changelog * Sat Jun 14 2008 Axel Thimm - 0.7.45-14.2.0.1 - Fix not utf-8 specfile entries. * Thu Nov 2 2006 Axel Thimm - 0.7.45 - Update to 0.7.45. * Wed Jun 1 2005 Axel Thimm - Update to 0.7.43. * Sun Oct 17 2004 Axel Thimm - Update to 0.7.41. * Tue Apr 13 2004 Axel Thimm - Update to 0.7.40-20040413. * Sat Mar 8 2003 Axel Thimm - Update to 0.7.32-20030219. * Fri Aug 9 2002 Matthias Saou - Update to 0.7.14 20020802. - Added avirec and aclocal entries to %%files. * Fri Jun 14 2002 Matthias Saou - Update to 0.7.7 20020523. * Mon Dec 24 2001 Matthias Saou - Update to 0.6.0 20011220. * Mon Dec 17 2001 Matthias Saou - Added libjpeg and divx4linux in dependencies and the man page is now installed (thanks to Ville Skyttä). * Wed Dec 12 2001 Matthias Saou - Update to 0.6.0 20011207. - Added .a libs. * Fri Nov 16 2001 Matthias Saou - Initial RPM release... well, I couldn't fins the old package I made almost a year ago, so I re-did the spec from scratch (The Mandrake one is just too ugly).