Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
libtunepimp
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
libtunepimp.spec
@@ -6,7 +6,7 @@ %define with_perl 1 %endif -%if %suse_version >= 1030 || %suse_version < 1020 +%if 0%{?suse_version} >= 1030 || 0%{?suse_version} < 1020 Name: libtunepimp%{soname} %else Name: libtunepimp @@ -25,17 +25,17 @@ BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: libmusicbrainz-devel flac-devel mpeg4ip BuildRequires: libogg-devel libvorbis-devel mad-devel -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 # workaround for broken lbuild BuildRequires: libreadline5 %endif BuildRequires: ncurses-devel readline-devel zlib-devel BuildRequires: taglib-devel libmp4v2-devel libofa-devel -%if %suse_version < 1020 +%if 0%{?suse_version} < 1020 BuildRequires: taglib %endif BuildRequires: openssl-devel fftw3-devel curl-devel -%if %suse_version >= 1020 +%if 0%{?suse_version} >= 1020 BuildRequires: libmpcdec-devel %else BuildRequires: libmpcdec @@ -45,7 +45,7 @@ BuildRequires: autoconf automake libtool Obsoletes: trm Obsoletes: libtunepimp05 -%if %suse_version >= 1020 && %suse_version < 1030 +%if 0%{?suse_version} >= 1020 && 0%{?suse_version} < 1030 Provides: libtunepimp%{soname} = %{version}-%{release} %endif @@ -78,7 +78,7 @@ Summary: MP3 Support Plugin for %{name} Requires: %{name} = %{version}-%{release} Group: System/Libraries -%if %suse_version >= 1020 && %suse_version < 1030 +%if 0%{?suse_version} >= 1020 && 0%{?suse_version} < 1030 Provides: libtunepimp%{soname}-mad = %{version}-%{release} %else Provides: libtunepimp-mad = %{version}-%{release} @@ -93,7 +93,7 @@ Summary: MP4 Support Plugin for %{name} Group: System/Libraries Requires: %{name} = %{version}-%{release} -%if %suse_version >= 1020 && %suse_version < 1030 +%if 0%{?suse_version} >= 1020 && 0%{?suse_version} < 1030 Provides: libtunepimp%{soname}-mp4 = %{version}-%{release} %else Provides: libtunepimp-mp4 = %{version}-%{release} @@ -115,7 +115,7 @@ Provides Perl bindings for %{name}. %endif -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 %package -n libtunepimp %else %package -n libtunepimp-tools @@ -123,13 +123,13 @@ Summary: Command-Line Tools that use %{name} Group: Productivity/Multimedia/Sound/Utilities Requires: %{name} = %{version}-%{release} -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 Provides: libtunepimp-tools = %{version}-%{release} %else Provides: libtunepimp%{soname}-tools = %{version}-%{release} %endif -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 %description -n libtunepimp %else %description -n libtunepimp-tools @@ -139,7 +139,7 @@ %debug_package %prep %setup -q -n "libtunepimp-%{version}" -%if %suse_version < 1030 +%if 0%{?suse_version} < 1030 %patch1 %endif %patch2 @@ -196,7 +196,7 @@ # libdir/libtunepimp5 on openSUSE 10.3); for the other # files that follow, just use a * to avoid duplicating # all lines for 10.3 and !=10.3 -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 %dir %{_libdir}/tunepimp %else %dir %{_libdir}/tunepimp%{soname} @@ -230,7 +230,7 @@ %files -n python-libtunepimp %defattr(-,root,root) %{py_sitedir}/tunepimp -%if %suse_version >= 1020 +%if 0%{?suse_version} >= 1020 %{py_sitedir}/tunepimp-%{version}-py%{py_ver}.egg-info %endif @@ -247,7 +247,7 @@ /var/adm/perl-modules/%{name} %endif -%if %suse_version >= 1030 +%if 0%{?suse_version} >= 1030 %files -n libtunepimp %else %files -n libtunepimp-tools