2 # TODO: Make build as noarch
3 # TODO: Rename to dotnet-taglib-sharp?
5 %include /usr/lib/rpm/macros.mono
6 Summary: Metadata library for most common movie and music formats
12 URL: http://taglib-sharp.com/
13 Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz
14 # Source0-md5: aa2c344760c8f4d878957fd4600155a5
15 Patch0: %{name}-gacdir.patch
16 BuildRequires: dotnet-gnome-sharp-devel
17 BuildRequires: libtool
18 BuildRequires: mono-csharp
19 BuildRequires: monodoc
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 TagLib# is a metadata or "tag" reader and writer library that supports
25 the most common movie and music formats, abstracting away format
26 specificity. TagLib# offers either a common API for all formats or
27 access to specific APIs for a given format.
30 Summary: Header files for taglib-sharp library
31 Summary(pl.UTF-8): Pliki nagłówkowe bibliotektaglib-sharp
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for taglib-sharp library.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe bibliote taglib-sharp.
46 #cp -f /usr/share/automake/config.sub .
56 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
60 mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc AUTHORS NEWS README
68 %{_prefix}/lib/mono/gac/taglib-sharp
69 %{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
72 %defattr(644,root,root,755)
73 %{_prefix}/lib/mono/taglib-sharp
74 %{_datadir}/pkgconfig/taglib-sharp.pc