Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
ffmpeg
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 61
[-]
[+]
Changed
ffmpeg.spec
@@ -44,12 +44,12 @@ Requires: %{libnameavformat} = %{version}-%{release} Requires: %{libnameavutil} = %{version}-%{release} Requires: %{libnameswscale} = %{version}-%{release} -%if %suse_version >= 930 +%if 0%{suse_version} >= 930 BuildRequires: libdca-devel BuildRequires: libdca0 %endif BuildRequires: yasm >= 0.7.1 -%if %suse_version >= 1010 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} +%if 0%{?suse_version} >= 1010 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} BuildRequires: libgsm BuildRequires: libgsm-devel %endif @@ -67,7 +67,7 @@ %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} BuildRequires: xorg-x11-proto-devel xorg-x11-xtrans-devel %endif -%if %suse_version >= 920 +%if 0%{?suse_version} >= 920 BuildRequires: xorg-x11-devel %endif %if 0%{?suse_version} > 0 && 0%{?suse_version} < 920 @@ -87,15 +87,15 @@ BuildRequires: libdc1394 BuildRequires: libdc1394-devel BuildRequires: libspeex-devel -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 BuildRequires: libschroedinger-devel >= 1.0.5 BuildRequires: liboil-devel >= 0.3.15 BuildRequires: libdirac-devel >= 1.0.0 %endif -#%if %suse_version >= 1100 +#%if 0%{?suse_version} >= 1100 #BuildRequires: libnut-devel #%endif -%if %suse_version > 1020 +%if 0%{?suse_version} > 1020 BuildRequires: libdc1394_control12-devel %endif #BuildRequires: G.729-devel @@ -232,24 +232,24 @@ #Requires: liba52-devel Requires: libjack-devel Requires: libspeex-devel -%if %suse_version > 930 +%if 0%{?suse_version} > 930 Requires: libdca-devel %endif -%if %suse_version >= 1010 +%if 0%{?suse_version} >= 1010 Requires: libgsm-devel %endif Requires: libdc1394 Requires: libdc1394-devel -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 Requires: libschroedinger-devel >= 1.0.5 Requires: liboil-devel >= 0.3.15 Requires: libdirac0 Requires: libdirac-devel >= 1.0.0 %endif -#%if %suse_version >= 1100 +#%if 0%{?suse_version} >= 1100 #Requires: libnut-devel #%endif -%if %suse_version > 1020 +%if 0%{?suse_version} > 1020 Requires: libdc1394_control12-devel %endif Requires: nvidia-vdpau-devel @@ -311,24 +311,24 @@ %endif CFLAGS="$RPM_OPT_FLAGS $archflags" -%if %suse_version >= 1010 +%if 0%{?suse_version} >= 1010 CFLAGS="${CFLAGS} -I%{_includedir}/gsm" %endif export archflags export CFLAGS ./configure --shlibdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} \ -%if %suse_version == 910 +%if 0%{?suse_version} == 910 --enable-memalign-hack \ %endif --libdir=%{_libdir} --enable-shared --enable-libmp3lame \ --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaad \ --enable-libfaac --enable-libxvid --enable-swscale \ --enable-postproc --enable-gpl --enable-vhook --enable-x11grab \ -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 --enable-libschroedinger --enable-libdirac \ %endif -%if %suse_version >= 1010 +%if 0%{?suse_version} >= 1010 --enable-libgsm \ %endif %ifarch ppc @@ -338,7 +338,7 @@ --enable-libdc1394 --enable-nonfree --enable-pthreads \ --enable-vdpau #--enable-libg729a --enable-liba52 --enable-libopenjpeg -#%if %suse_version >= 1100 +#%if 0%{?suse_version} >= 1100 # --enable-libnut \ #%endif %{__make} %{?jobs:-j%{jobs}}