3 # - pack svn snapshot. it has amd64 and sparc asm-accels
4 # and can be used with mplayer.
6 Summary: H264 encoder library
7 Summary(pl): Biblioteka koduj±ca H264
14 # unofficial, debianized/libtoolized packaging;
15 # no official releases, only svn://svn.videolan.org/x264/trunk x264
16 Source0: http://www.acarlab.com/misc-dnlds/%{name}-%{version}.tar.gz
17 # Source0-md5: 3bbaa669b3661d33030378f4919be576
18 Patch0: %{name}-nasm.patch
19 Patch1: %{name}-link.patch
20 URL: http://developers.videolan.org/x264.html
21 BuildRequires: autoconf >= 2.53
22 BuildRequires: automake
23 BuildRequires: libtool
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 libx264 library for encoding H264 video format.
33 Biblioteka libx264 do kodowania w formacie obrazu H264.
36 Summary: Header files for x264 library
37 Summary(pl): Pliki nag³ówkowe biblioteki x264
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
42 Header files for x264 library.
44 %description devel -l pl
45 Pliki nag³ówkowe biblioteki x264.
48 Summary: Static x264 library
49 Summary(pl): Statyczna biblioteka x264
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
56 %description static -l pl
57 Statyczna biblioteka x264.
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT
80 rm -rf $RPM_BUILD_ROOT
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_bindir}/x264
89 %attr(755,root,root) %{_libdir}/libx264.so.*.*.*
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libx264.so
98 %defattr(644,root,root,755)