2 # TODO: Make build as noarch
4 Summary: Metadata library for most common movie and music formats
10 URL: http://taglib-sharp.com/
11 Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz
12 # Source0-md5: aa2c344760c8f4d878957fd4600155a5
13 Patch0: %{name}-gacdir.patch
14 BuildRequires: dotnet-gnome-sharp-devel
15 BuildRequires: libtool
16 BuildRequires: mono-csharp
17 BuildRequires: monodoc
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 TagLib# is a metadata or "tag" reader and writer library that supports
23 the most common movie and music formats, abstracting away format
24 specificity. TagLib# offers either a common API for all formats or
25 access to specific APIs for a given format.
28 Summary: Header files for taglib-sharp library
29 Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp
30 Group: Development/Libraries
31 # if base package contains shared library for which these headers are
32 #Requires: %{name} = %{version}-%{release}
33 # if -libs package contains shared library for which these headers are
34 #Requires: %{name}-libs = %{version}-%{release}
37 Header files for taglib-sharp library.
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe bibliote taglib-sharp.
47 #cp -f /usr/share/automake/config.sub .
57 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
61 mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc AUTHORS NEWS README
69 %{_prefix}/lib/mono/gac/taglib-sharp
70 %{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
73 %defattr(644,root,root,755)
74 %{_prefix}/lib/mono/taglib-sharp
75 %{_datadir}/pkgconfig/taglib-sharp.pc