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
24 BuildRequires: sed >= 4.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 # encoder/macroblock.c breaks strict-aliasing rules
31 %define specflags -fno-strict-aliasing
34 libx264 library for encoding H264 video format.
37 Biblioteka libx264 do kodowania w formacie obrazu H264.
40 Summary: Header files for x264 library
41 Summary(pl): Pliki nag³ówkowe biblioteki x264
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
46 Header files for x264 library.
48 %description devel -l pl
49 Pliki nag³ówkowe biblioteki x264.
52 Summary: Static x264 library
53 Summary(pl): Statyczna biblioteka x264
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
60 %description static -l pl
61 Statyczna biblioteka x264.
64 %setup -q -n x264-snapshot-%{snap}-%{snaph}
67 sed -i 's:-O4::g' configure
72 --exec-prefix=%{_prefix} \
74 --includedir=%{_includedir} \
76 --extra-cflags="%{rpmcflags}" \
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/x264
97 %attr(755,root,root) %{_libdir}/libx264.so.*
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libx264.so
102 %{_includedir}/x264.h
103 %{_pkgconfigdir}/x264.pc
106 %defattr(644,root,root,755)