Name: libtunepimp
%define _major 0.5
Version: %{_major}.3
-Release: 7
+Release: 11
License: GPL
Group: Libraries
Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/%{name}-%{version}.tar.gz
# Source0-md5: 09649f983acef679a548344ba7a9bb2f
Patch0: %{name}-ltdl.patch
Patch1: %{name}-mpeg4ip.patch
+Patch2: %{name}-gcc43.patch
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: curl-devel
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
-%{__sed} -i -e 's/ -O2//' configure.in
+%{__sed} -i 's/ -O2//' configure.in
+%{__sed} -i 's/lt_dlhandle_struct \*/lt_dlhandle/' lib/plugins.cpp
%build
%{__libtoolize}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+
+%configure \
+ --enable-ltdl-install=no
+
%{__make}
# perl bindings are not updated to current API