X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dotnet-taglib-sharp.spec;h=70e44a4de3583b54bec6b59515ece660d269317d;hb=3097f36b67491e31afe63479409aba5b5f818a0d;hp=0d7d00bdff631c5ce194f698a7b01a33f930ec04;hpb=f2bd811404a39e39974a777259578d92b7bed8a4;p=packages%2Fdotnet-taglib-sharp.git diff --git a/dotnet-taglib-sharp.spec b/dotnet-taglib-sharp.spec index 0d7d00b..70e44a4 100644 --- a/dotnet-taglib-sharp.spec +++ b/dotnet-taglib-sharp.spec @@ -1,16 +1,25 @@ # # TODO: Make build as noarch +# TODO: Rename to dotnet-taglib-sharp? # +%include /usr/lib/rpm/macros.mono Summary: Metadata library for most common movie and music formats Name: taglib-sharp Version: 2.0.3.0 -Release: 1 +Release: 7 License: LGPLv2 Group: Development -URL: http://taglib-sharp.com/ Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz # Source0-md5: aa2c344760c8f4d878957fd4600155a5 +Patch0: %{name}-gacdir.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=532561 +# http://forum.taglib-sharp.com/viewtopic.php?f=5&t=276&p=821#p821 +Patch1: %{name}-add_extensions_mimetypes_thorough_mpeg_checking.patch +URL: http://taglib-sharp.com/ +BuildRequires: dotnet-gnome-sharp-devel +BuildRequires: libtool BuildRequires: mono-csharp +BuildRequires: monodoc #BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -22,12 +31,9 @@ access to specific APIs for a given format. %package devel Summary: Header files for taglib-sharp library -Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp +Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp Group: Development/Libraries -# if base package contains shared library for which these headers are -#Requires: %{name} = %{version}-%{release} -# if -libs package contains shared library for which these headers are -#Requires: %{name}-libs = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %description devel Header files for taglib-sharp library. @@ -37,9 +43,14 @@ Pliki nagłówkowe bibliote taglib-sharp. %prep %setup -q +%patch0 -p1 +%patch1 -p0 %build -cp -f /usr/share/automake/config.sub . +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure \ --disable-docs %{__make} @@ -61,5 +72,6 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp %files devel +%defattr(644,root,root,755) %{_prefix}/lib/mono/taglib-sharp -%{_prefix}/share/pkgconfig/taglib-sharp.pc +%{_datadir}/pkgconfig/taglib-sharp.pc