1 Summary: H264 encoder library
2 Summary(pl): Biblioteka koduj±ca H264
7 Release: 1.%{snap}_%{snaph}.1
10 # unofficial, debianized/libtoolized packaging:
11 #Source0: http://www.acarlab.com/misc-dnlds/%{name}-%{version}.tar.gz
12 # but it's too old, so use snapshots...
13 Source0: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{snap}-%{snaph}.tar.bz2
14 # Source0-md5: 667c760dda91e9a3f50186d4676b5d5a
15 #Patch0: %{name}-acam.patch
16 Patch1: %{name}-liblink.patch
17 URL: http://developers.videolan.org/x264.html
18 BuildRequires: autoconf >= 2.53
19 BuildRequires: automake
20 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.
60 %setup -q -n x264-snapshot-%{snap}-%{snaph}
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
81 rm -rf $RPM_BUILD_ROOT
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/x264
90 %attr(755,root,root) %{_libdir}/libx264.so.*
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libx264.so
96 %{_pkgconfigdir}/x264.pc
99 %defattr(644,root,root,755)