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: mono-csharp
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 TagLib# is a metadata or "tag" reader and writer library that supports
20 the most common movie and music formats, abstracting away format
21 specificity. TagLib# offers either a common API for all formats or
22 access to specific APIs for a given format.
25 Summary: Header files for taglib-sharp library
26 Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp
27 Group: Development/Libraries
28 # if base package contains shared library for which these headers are
29 #Requires: %{name} = %{version}-%{release}
30 # if -libs package contains shared library for which these headers are
31 #Requires: %{name}-libs = %{version}-%{release}
34 Header files for taglib-sharp library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe bibliote taglib-sharp.
44 cp -f /usr/share/automake/config.sub .
50 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
54 mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc AUTHORS NEWS README
62 %{_prefix}/lib/mono/gac/taglib-sharp
63 %{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
66 %{_prefix}/lib/mono/taglib-sharp
67 %{_prefix}/share/pkgconfig/taglib-sharp.pc