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: 529d619bd7ba8185143ba35b05fa69d0
15 URL: http://developers.videolan.org/x264.html
19 BuildRequires: sed >= 4.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 # encoder/macroblock.c breaks strict-aliasing rules
26 %define specflags -fno-strict-aliasing
29 libx264 library for encoding H264 video format.
32 Biblioteka libx264 do kodowania w formacie obrazu H264.
35 Summary: Header files for x264 library
36 Summary(pl): Pliki nag³ówkowe biblioteki x264
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
41 Header files for x264 library.
43 %description devel -l pl
44 Pliki nag³ówkowe biblioteki x264.
47 Summary: Static x264 library
48 Summary(pl): Statyczna biblioteka x264
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
55 %description static -l pl
56 Statyczna biblioteka x264.
59 %setup -q -n x264-snapshot-%{snap}-%{snaph}
60 sed -i 's:-O4::g' configure
66 --exec-prefix=%{_prefix} \
68 --includedir=%{_includedir} \
70 --extra-cflags="%{rpmcflags}" \
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/x264
91 %attr(755,root,root) %{_libdir}/libx264.so.*
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libx264.so
97 %{_pkgconfigdir}/x264.pc
100 %defattr(644,root,root,755)