Name        : x264                         Relocations: (not relocatable)
Version     : 0.45.478                          Vendor: Penguin Liberation Front
Release     : 1plf                          Build Date: Wed 22 Mar 2006 
11:03:41 PM CET
Install Date: (not installed)               Build Host: localhost
Group       : Video                         Source RPM: (none)
Size        : 449323      License: GPL
Signature   : (none)
Packager    : Austin Acton <[EMAIL PROTECTED]>
URL         : http://developers.videolan.org/x264.html
Summary     : H264/AVC encoder
Description :
x264 is a free library for encoding H264/AVC video streams. The code
is written by Laurent Aimar, Eric Petit(OS X), Min Chen (vfw/nasm),
Justin Clay(vfw), Måns Rullgård and Loren Merritt from scratch. It is
released under the terms of the GPL license.

---------------
Austin Acton <[EMAIL PROTECTED]> 0.45.478-1plf
- new checkout
- build shared library
---------------

---------------
Index: x264.spec
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/x264/x264.spec,v
retrieving revision 1.1
diff -u -r1.1 x264.spec
--- x264.spec   6 Sep 2005 15:02:20 -0000       1.1
+++ x264.spec   22 Mar 2006 22:04:12 -0000
@@ -1,20 +1,28 @@
-%define name x264
-%define version 0
-%define svn 291
-%define rel 0.%svn.1
-%define release %mkrel %rel
+%define name   x264
+%define version 0.45.478 
+%define svn    478
+%define release %mkrel 1
 #fixed2
 %{?!mkrel:%define mkrel(c:) %{-c: 0.%{-c*}.}%{!?_with_unstable:%(perl -e 
'$_="%{1}";m/(.\*\\D\+)?(\\d+)$/;$rel=${2}-1;re;print 
"$1$rel";').%{?subrel:%subrel}%{!?subrel:1}.%{?distversion:%distversion}%{?!distversion:%(echo
 
$[%{mdkversion}/10])}}%{?_with_unstable:%{1}}%{?distsuffix:%distsuffix}%{?!distsuffix:mdk}}
 %define distsuffix plf
 
-Summary: H264/AVC encoder
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Source0: %{name}-%{svn}.tar.bz2
-License: GPL
-Group: Video
-Url: http://developers.videolan.org/x264.html
+%define major   45
+%define libname %mklibname %{name}_ %major
+
+Summary:       H264/AVC encoder
+Name:          %{name}
+Version:       %{version}
+Release:       %{release}
+Source0:       %{name}-%{svn}.tar.bz2
+
+License:       GPL
+Group:                 Video
+Url:           http://developers.videolan.org/x264.html
+%ifarch x86_64
+BuildRequires: yasm
+%else
+BuildRequires: nasm
+%endif
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
 %description
@@ -23,11 +31,22 @@
 Justin Clay(vfw), Måns Rullgård and Loren Merritt from scratch. It is
 released under the terms of the GPL license.
 
-%package devel
+%package -n %{libname}
+Summary: x264 Libraries
+Group: System/Libraries
+
+%description -n %{libname}
+x264 dynamic libraries
+
+%package -n %{libname}-devel
 Summary: H264/AVC encoding library
 Group: Development/C
+Requires: %{libname} = %{version}
+Provides: lib%{name}-devel = %{version}-%{release}
+Provides: %{name}-devel = %{version}-%{release}
+Obsoletes: %{name}-devel
 
-%description devel
+%description -n %{libname}-devel
 x264 is a free library for encoding H264/AVC video streams. The code
 is written by Laurent Aimar, Eric Petit(OS X), Min Chen (vfw/nasm),
 Justin Clay(vfw), Måns Rullgård and Loren Merritt from scratch. It is
@@ -37,26 +56,66 @@
 %setup -q -n %name
 
 %build
-%configure --extra-cflags=-fpic
+./configure --enable-pthread --enable-shared --enable-pic
 %make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %makeinstall
 
+%post -n %{libname} -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%doc TODO AUTHORS
+%doc AUTHORS doc/*
 %_bindir/%name
 
-%files devel
+%files -n %{libname}
 %defattr(-,root,root)
-%_libdir/lib%name.a
-%_includedir/%name.h
+%_libdir/*.so.*
+
+%files -n %{libname}-devel
+%defattr(-,root,root)
+%_libdir/*.a
+%_libdir/*.so
+%_includedir/*.h
+%_libdir/pkgconfig/*.pc
 
 %changelog
+* Wed Mar 22 2006 Austin Acton <[EMAIL PROTECTED]> 0.45.478-1plf
+- new checkout
+- build shared library
+
+* Mon Jan 23 2006 Austin Acton <[EMAIL PROTECTED]> 0.44.409-1plf
+- use version number from config.h
+- new checkout
+
+* Tue Nov 22 2005 Austin Acton <[EMAIL PROTECTED]> 0-0.375.1plf
+- svn 375
+- add pkgconfig file
+- PIC patch seems to have been applied upstream
+
+* Thu Nov 10 2005 Anssi Hannula <[EMAIL PROTECTED]> 0-0.364.2plf
+- fix x86_64 asm to be PIC (patch2)
+- dropped patch1, upstream
+
+* Tue Nov 1 2005 Austin Acton <[EMAIL PROTECTED]> 0-0.364.1plf
+- svn 364
+- enable threads
+
+* Thu Oct  6 2005 Anssi Hannula <[EMAIL PROTECTED]> 0-0.315.1plf
+- new snapshot
+- x86_64 fixes (patch1)
+
+* Sat Sep 24 2005 Stefan van der Eijk <[EMAIL PROTECTED]> 0-0.293.2plf
+- BuildRequires
+
+* Mon Sep 19 2005 Götz Waschk <[EMAIL PROTECTED]> 0-0.293.1plf
+- new snapshot
+
 * Tue Sep  6 2005 Götz Waschk <[EMAIL PROTECTED]> 0-0.291.1plf
 - initial package


_______________________________________________
PLF-announce mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-announce

Reply via email to