Name: libxvidcore Version: 1.3.2 Release: 1mamba Summary: Free reimplementation of the OpenDivX video codec Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.xvid.org/ Source: http://downloads.xvid.org/downloads/xvidcore-%{version}.tar.bz2 Patch0: xvidcore-1.1.3-configure_fix_nasm.patch License: GPL BuildRequires: nasm ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Free reimplementation of the OpenDivX video codec. You can play OpenDivX and DivX4 videos with it, as well as encode compatible files. %package devel Summary: Static library, headers and documentation of the XviD video codec Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version} %description devel Free reimplementation of the OpenDivX video codec. You can play OpenDivX and DivX4 videos with it, as well as encode compatible files. This package contains the static library, header files and API documentation needed to build applications that will use the XviD video codec. %prep %setup -q -n xvidcore #%patch0 -p1 %build pushd build/generic %configure %make popd %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeoldinstall \ -C build/generic # make a .so symlink to the so.x.x file pushd %{buildroot}%{_libdir} %{__ln_s} %{name}.so* %{name}.so popd # fixup strange shared library permissions chmod 755 %{buildroot}%{_libdir}/*.so* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %{_libdir}/*.so.* %doc AUTHORS ChangeLog LICENSE README TODO %files devel %defattr(-, root, root) %{_includedir}/* %{_libdir}/*.a %{_libdir}/*.so %doc CodingStyle examples/{README,cactus.pgm.bz2,*.c} %changelog * Sat Dec 01 2012 Automatic Build System 1.3.2-1mamba - automatic version update by autodist * Mon Dec 01 2008 gil 1.2.0-1mamba - update to 1.2.0 - removed patch * Thu May 22 2008 Silvan Calarco 1.1.3-1mamba - update to 1.1.3 - changed package maintainer * Mon Jun 12 2006 Stefano Cotta Ramusino 1.1.0-1qilnx - update to version 1.1.0 by autospec * Sun Oct 03 2004 Davide Madrisan 1.0.1-2qilnx - specfile modified to match QiLinux standards - library name modified (was xvidcore) * Tue Sep 14 2004 Matteo Bernasconi 1.0.1-1qilnx - first build