Author: kwizart
Update of /cvs/free/rpms/x264/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv24799/devel
Modified Files:
x264.spec
Log Message:
Update for rhel patches
Index: x264.spec
===================================================================
RCS file: /cvs/free/rpms/x264/devel/x264.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- x264.spec 1 May 2012 07:47:27 -0000 1.35
+++ x264.spec 1 May 2012 09:07:51 -0000 1.36
@@ -1,14 +1,22 @@
%global snapshot 20120303
%global branch stable
-%{?_with_bootrap:
+%{?_with_bootstrap:
%global _without_gpac 1
%global _without_libavformat 1
}
+#Whitelist of arches with dedicated ASM code
+%ifnarch x86_64 i686 %{arm} ppc ppc64 %{sparc}
+%global _without_asm 1
+%endif
+
+%if 0%{?rhel}
+%global _without_asm 1
+%endif
Summary: H264/AVC video streams encoder
Name: x264
Version: 0.120
-Release: 4.%{snapshot}%{?dist}
+Release: 5.%{snapshot}%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL:
http://developers.videolan.org/x264.html
@@ -20,9 +28,7 @@
%{!?_without_libavformat:BuildRequires: ffmpeg-devel}
%{?_with_ffmpegsource:BuildRequires: ffmpegsource-devel}
%{?_with_visualize:BuildRequires: libX11-devel}
-%ifarch x86_64 i686
-BuildRequires: yasm
-%endif
+%{!?_without_asm:BuildRequires: yasm >= 1.0.0}
Requires: %{name}-libs = %{version}-%{release}
%description
@@ -42,7 +48,7 @@
%package devel
Summary: Development files for the x264 library
Group: Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
@@ -61,6 +67,7 @@
%{?_with_visualize:--enable-visualize} \\\
%{?_without_libavformat:--disable-lavf} \\\
%{!?_with_ffmpegsource:--disable-ffms} \\\
+ %{?_without_asm:--disable-asm} \\\
--enable-debug \\\
--enable-shared \\\
--system-libx264 \\\
@@ -136,9 +143,11 @@
%endif
%changelog
-* Tue May 01 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 0.120-4.20120303
+* Tue May 01 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 0.120-5.20120303
+- Forward rhel patch
- Disable ASM on armv5tel armv6l
- Add --with bootstrap conditional
+- Use %%{_isa} for devel requires
* Tue Mar 6 2012 Sérgio Basto <sergio(a)serjux.com> - 0.120-2.20120303
- Enable libavformat , after compile ffmeg with 0.120-1