]> git.pld-linux.org Git - packages/dotnet-taglib-sharp.git/blobdiff - dotnet-taglib-sharp.spec
- added -add_extensions_mimetypes_thorough_mpeg_checking.patch
[packages/dotnet-taglib-sharp.git] / dotnet-taglib-sharp.spec
index a7c47b42134c4eca62e6a8af3861f0353beffee6..70e44a4de3583b54bec6b59515ece660d269317d 100644 (file)
@@ -1,17 +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:       2
+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)
 
@@ -23,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.
@@ -39,9 +44,13 @@ 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}
@@ -63,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
This page took 0.09581 seconds and 4 git commands to generate.