Name: mpeg2dec Version: 0.4.0 Release: 0.lvn.2 Summary: MPEG-2 decoder library and program Group: System Environment/Libraries License: LGPL URL: http://libmpeg2.sourceforge.net/ Source: http://libmpeg2.sourceforge.net/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL-devel BuildRequires: XFree86-devel BuildRequires: esound-devel %description mpeg2dec is a free library for decoding MPEG-2 and MPEG-1 video streams. It is released under the terms of the GPL license. %package devel Summary: MPEG-2 decoder library development files Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel mpeg2dec-devel contains the files necessary to build packages that use the mpeg2dec library. %prep %setup -q %build %configure --enable-shared make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING INSTALL NEWS README TODO %{_bindir}/extract_mpeg2 %{_bindir}/corrupt_mpeg2 %{_bindir}/mpeg2dec %{_libdir}/libmpeg2.so.* %{_libdir}/libmpeg2convert.so.* %{_mandir}/man1/*.1* %files devel %defattr(-,root,root,-) %dir %{_includedir}/mpeg2dec %{_includedir}/mpeg2dec/*.h %{_libdir}/libmpeg2.a %{_libdir}/libmpeg2.so %{_libdir}/libmpeg2convert.a %{_libdir}/libmpeg2convert.so %{_libdir}/pkgconfig/libmpeg2.pc %{_libdir}/pkgconfig/libmpeg2convert.pc %changelog * Tue Mar 16 2004 Thomas Vander Stichele - 0.4.0-0.lvn.2: remove dash lines * Fri Jan 30 2004 Thomas Vander Stichele - 0.4.0-0.lvn.1: moved to livna updated to new version added libmpeg2convert added corrupt_mpeg2 * Fri Jul 18 2003 Thomas Vander Stichele - 0.3.1-0.fdr.1: initial rpm release