Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
xvid
> xvid.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xvid.spec of Package xvid (Revision 5)
Currently displaying revision
5
,
show latest
%define name xvid %define ver 1.1.3 %define rel 1 Name: %{name} Summary: Xvid is a high quality MPEG-4 ASP video codec. Summary(de): Xvid ist ein hochqualitativer MPEG-4 ASP Videocodec. Version: %{ver} Release: %{rel} License: GPL Group: Development/Libraries URL: http://www.xvid.org/ Source0: xvidcore-1.1.3.tar.bz2 Obsoletes: xvidcore Provides: xvidcore ExclusiveArch: %{ix86} ppc sparc sparc64 sparcv9 x86_64 amd64 ia32e BuildRequires: gcc-c++ BuildRequires: yasm BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) %description Xvid is a high quality MPEG-4 ASP video codec. Xvid encoded MPEG-4 videos can be played back by other MPEG-4 implementations decoders such as DivX, FFmpeg MPEG-4 or standalone DVD players capable of MPEG-4 playback. %description -l de Xvid ist ein hochqualitativer MPEG-4 ASP Videocodec. Xvid encodete MPEG-4 Videos können von anderen MPEG-4 Decodern wie DivX, FFmpeg MPEG-4 oder separaten DVD-Playern mit MPEG-4 Implementierungen wieder gegeben werden. %package devel Summary: Development files of XviD video codec Summary(pl): Pliki programistyczne dla kodeka wideo XviD Summary(de): Entwicklerdateien des XviD Video-Codecs Summary(fi): Kehitystiedostot XviD-videokodekille Group: Development/Libraries Requires: %{name} = %{version}-%{release} Obsoletes: xvidcore-devel Provides: xvidcore-devel Provides: libxvidcore.so %description devel Development files of XviD video codec. %description devel -l pl Pliki programistyczne dla kodeka wideo XviD. %description devel -l de Entwicklerdateien des XviD Video-Codecs. %description devel -l fi Kehitystiedostot XviD-videokodekille. %prep %setup -q -n %{name}core-%{version} %build export CFLAGS="${RPM_OPT_FLAGS}" cd build/generic %configure %{__make} %{?jobs:-j%{jobs}} %install [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %{__install} -d %{buildroot}{%{_libdir},%{_includedir}} #cd %{name}core-%{version}/build/generic cd build/generic/=build %{__install} *.so* %{buildroot}%{_libdir} %{__install} *.a %{buildroot}%{_libdir} cd ../../../src %{__install} xvid.h %{buildroot}%{_includedir} cd %{buildroot}%{_libdir} %{__ln_s} libxvidcore.so.4.1 libxvidcore.so.4 %{__ln_s} libxvidcore.so.4.1 libxvidcore.so %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %post %if 0%{?suse_version} %run_ldconfig %else /sbin/ldconfig %endif %postun %if 0%{?suse_version} %run_ldconfig %else /sbin/ldconfig %endif %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog LICENSE README TODO %{_libdir}/*.so.* %files devel %defattr(644,root,root,755) %doc CodingStyle doc examples %{_includedir}/*.h %{_libdir}/*.so %{_libdir}/*.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build