%include /usr/lib/rpm/macros.mono
Summary: Metadata library for most common movie and music formats
Name: dotnet-taglib-sharp
-Version: 2.0.3.7
+Version: 2.0.4.0
Release: 1
License: LGPL v2
-Group: Development
-#Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz
+Group: Libraries
Source0: http://download.banshee-project.org/taglib-sharp/%{version}/taglib-sharp-%{version}.tar.bz2
-# Source0-md5: dbd16b0ffcff8b0f9c0004090545d239
+# Source0-md5: c7e3b2d064e0429d168fa7498c47970e
+Patch0: %{name}-makefile.patch
URL: http://taglib-sharp.com/
BuildRequires: autoconf
BuildRequires: automake >= 1:1.9
BuildRequires: dotnet-gnome-sharp-devel
+BuildRequires: exiv2-devel
BuildRequires: libtool
BuildRequires: mono-csharp
BuildRequires: monodoc
%prep
%setup -q -n taglib-sharp-%{version}
+%patch0 -p1
%build
%{__libtoolize}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%{_prefix}/lib/mono/taglib-sharp
-%{_datadir}/pkgconfig/taglib-sharp.pc
+%{_npkgconfigdir}/taglib-sharp.pc