%define beta %nil %define cvs %nil Name: xvid Version: 1.3.2 %if "%cvs" != "" Release: 0.%cvs.1ark Source: %name-%cvs.tar.lz %else %if "%beta" != "" Release: 0.%beta.1ark Source: http://downloads.xvid.org/downloads/%{name}core-%version-%beta.tar.bz2 %else Release: 1ark Source: http://downloads.xvid.org/downloads/%{name}core-%version.tar.bz2 %endif %endif # kept here for reference, this is the last version known not to # step over max bandwidth limits Source999: xvid-20041122.tar.bz2 Summary: MPEG 4 encoding and decoding library URL: http://www.xvid.org/ License: GPL Group: Applications/Multimedia BuildRoot: %{_tmppath}/%{name}-root %description Xvid is an ISO MPEG-4 compliant video codec (coder and decoder). %package devel Summary: Development files for the Xvid video encoding/decoding library Group: Development/Libraries/Multimedia Requires: %name = %version-%release %description devel Development files for the Xvid video encoding/decoding library. %package static Summary: Libraries for linking statically to the Xvid video encoding/decoding library Group: Development/Libraries/Multimedia Requires: %name-devel = %version-%release %description static Libraries for linking statically to the Xvid video encoding/decoding library. Install %name-static if you wish to develop or compile applications that use the %name library without requiring %name to be installed on a system running the applications. %track prog %name = { url = http://www.xvid.org/ version = %version regex = "Xvid (__VER__) released" } %prep %setup -q -n %{name}core cd build/generic [ -e configure ] || ./bootstrap.sh %configure \ %ifnarch %ix86 x86_64 amd64 intel64 --disable-assembly %endif %build cd build/generic make %?_smp_mflags %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir} make -C build/generic install libdir=$RPM_BUILD_ROOT%_libdir includedir=$RPM_BUILD_ROOT%_includedir %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %_libdir/*.so* %files devel %defattr(-,root,root) %_includedir/* %files static %defattr(-,root,root) %_libdir/*.a %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version} %changelog * Mon Jun 6 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 1.3.2-1ark - 1.3.2 * Fri Apr 15 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 1.3.1-1ark - 1.3.1 * Sat Jan 15 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 1.3.0-0.rc1.1ark - 1.3.0-rc1 * Fri Jul 31 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 1.2.2-1ark - 1.2.2 - Add rpm5 tracking info * Mon Dec 15 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.2.1-1ark - 1.2.1 * Wed Jul 4 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.3-2ark - Disable assembly bits on x86_64 because they aren't PIC compliant * Thu Jun 28 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.3-1ark - 1.1.3 * Wed Nov 1 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.2-1ark - 1.1.2 * Tue Oct 31 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.1-1ark - 1.1.1 * Fri Dec 30 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.0-1ark - 1.1.0 final * Tue Oct 4 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.0-0.20051004.1ark - Update * Fri Sep 16 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.0-0.20050916.1ark - Update * Mon Aug 1 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.0-0.20050801.1ark - Update * Thu Dec 9 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.0-0.20041209.2ark - Fix static lib * Thu Dec 9 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.0-0.20041209.1ark - Update * Mon Nov 22 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1.0-0.20041122.1ark - Update * Mon Jun 7 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.1-1ark - 1.0.1 * Sun May 23 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.0-1ark - 1.0 final * Mon Apr 5 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.0-0.rc4.1ark - rc4 * Wed Mar 3 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.0-0.rc3.1ark - rc3 * Tue Feb 17 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.0-0.rc2.1ark - rc2 * Mon Feb 2 2004 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.0-0.rc1.1ark - rc1 * Sat Dec 20 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 1.0.0-0.beta2.1ark - 1.0.0 beta 2 - Split out -devel and -static packages * Wed Nov 13 2002 Bernhard Rosenkraenzer <bero@arklinux.org> - initial RPM Changes to base: - Symlink divx4.h to decore.h and encore2.h for API compatibility with older versions