Name: smjpeg Version: 0.2.1 Release: 1%{?dist} Summary: SMJPEG library for SDL License: LGPL Group: System Environment/Libraries URL: http://icculus.org/smjpeg/ Source0: %{name}-%{version}.tar.gz Patch0: smjpeg-0.2.1-fixes.patch BuildRequires: SDL-devel %description SMJPEG is a custom Motion JPEG format used by Loki Entertainment Software in the games that they port. %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %prep %setup -q #%patch0 -p0 -b .fixes %build #%{__libtoolize} --force --copy %configure --disable-static make %{?_smp_mflags} %install rm -rf %{buildroot} make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_libdir}/libsmjpeg.la %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING README SMJPEG.txt %{_bindir}/* %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/smjpeg %{_libdir}/*.so %changelog * Sat May 30 2009 Peter Lemenkov 0.2.1-1 - Initial package * Sun Jan 04 2004 Dag Wieers - 0.2.1-0 - Initial package. (using DAR)