Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
x264
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
x264.spec
@@ -1,22 +1,31 @@ -%define date 20061031 -%define svnrelease 54 +# norootforbuild + +%define binname x264 +%define realname libx264 +%define soname 57 +%define svn 20071225 + +Name: %{binname} +Summary: A free h264/avc encoder - encoder binary. +Version: 0.0svn%{svn} +Release: 1 +License: GPL +Group: Productivity/Multimedia/Video +Url: http://developers.videolan.org/x264.html + +Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{svn}-2245.tar.bz2 + +BuildRoot: %{_tmppath}/build-root-%{name} + +Requires: %{realname}-%{soname} -Name: x264 -Summary: A free h264/avc encoder. -Version: 0.0svn%date -Release: 1 -License: GPL -Group: Multimedia -Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/%name-snapshot-%date-2245.tar.bz2 -BuildRoot: %{_tmppath}/build-root-%{name} -Url: http://developers.videolan.org/x264.html %ifarch x86_64 BuildRequires: nasm yasm %else BuildRequires: nasm %endif -%description +%description x264 is a free library for encoding next-generation H264/AVC video streams. The code is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans @@ -46,11 +55,28 @@ moment so please use mencoder or another tool that supports x264 library for all other file types. -%package devel -Summary: Libraries and include file for the x264 encoder. -Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} -%description devel +%package -n %{realname}-%{soname} +Summary: A free h264/avc encoder - encoder binary +Group: Productivity/Multimedia/Video + +%description -n %{realname}-%{soname} +x264 is a free library for encoding next-generation H264/AVC video +streams. The code is written from scratch by Laurent Aimar, Loren +Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans +Rullgard, Radek Czyz, Christian Heine (asm), Alex Izvorski (asm), and +Alex Wright. It is released under the terms of the GPL license. This +package contains a static library and a header needed for the +development with libx264. This library is needed to build +mplayer/mencoder with H264 encoding support. + + +%package -n %{realname}-devel +Summary: Libraries and include file for the x264 encoder. +Group: Development/Libraries/C and C++ +Requires: %{realname}-%{soname} = %{version}-%{release} +Requires: %{buildrequires} + +%description -n %{realname}-devel x264 is a free library for encoding next-generation H264/AVC video streams. The code is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans @@ -61,35 +87,45 @@ mplayer/mencoder with H264 encoding support. %prep -%setup -q -n x264-snapshot-%date-2245 +%setup -q -n x264-snapshot-%{svn}-2245 + %build %{configure} --enable-shared --enable-pic #TODO: to compile with --enable-mp4-output gpac is needed, this should be added in the future... %{__make} %{?jobs:-j%{jobs}} + %install %makeinstall rm $RPM_BUILD_ROOT/%{_libdir}/libx264.so cd $RPM_BUILD_ROOT/%{_libdir} -ln -s libx264.so.%{svnrelease} libx264.so +ln -s libx264.so.%{soname} libx264.so + %clean -rm -rf $RPM_BUILD_ROOT +%__rm -rf %{buildroot} + + %files %defattr(755,root,root) %doc doc/*.txt %{_bindir}/x264 -%{_libdir}/libx264.so.%{svnrelease} -%files devel +%files -n %{realname}-%{soname} +%defattr(755,root,root) +%{_libdir}/libx264.so.%{soname} + + +%files -n %{realname}-devel %defattr(755,root,root) %{_libdir}/pkgconfig/x264.pc %{_includedir}/x264.h %{_libdir}/libx264.so %{_libdir}/libx264.a + %changelog * Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build
Added
x264-snapshot-20071225-2245.tar.bz2
^