- updated to 2.0.4.0
[packages/dotnet-taglib-sharp.git] / dotnet-taglib-sharp.spec
CommitLineData
a86e8756 1#
2# TODO: Make build as noarch
3#
61e0bd07 4%include /usr/lib/rpm/macros.mono
a86e8756 5Summary: Metadata library for most common movie and music formats
9b097376 6Name: dotnet-taglib-sharp
6f3ab5c4 7Version: 2.0.4.0
c814c94b 8Release: 1
9b097376 9License: LGPL v2
6f3ab5c4 10Group: Libraries
c814c94b 11Source0: http://download.banshee-project.org/taglib-sharp/%{version}/taglib-sharp-%{version}.tar.bz2
6f3ab5c4
MB
12# Source0-md5: c7e3b2d064e0429d168fa7498c47970e
13Patch0: %{name}-makefile.patch
3097f36b 14URL: http://taglib-sharp.com/
27a9f2eb 15BuildRequires: autoconf
c814c94b 16BuildRequires: automake >= 1:1.9
2be326de 17BuildRequires: dotnet-gnome-sharp-devel
6f3ab5c4 18BuildRequires: exiv2-devel
2be326de 19BuildRequires: libtool
a86e8756 20BuildRequires: mono-csharp
2be326de 21BuildRequires: monodoc
27a9f2eb 22BuildRequires: pkgconfig
9b097376
MB
23Provides: taglib-sharp
24Obsoletes: taglib-sharp
a86e8756 25#BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29TagLib# is a metadata or "tag" reader and writer library that supports
30the most common movie and music formats, abstracting away format
31specificity. TagLib# offers either a common API for all formats or
32access to specific APIs for a given format.
33
c5eb70f0 34%package devel
9b097376
MB
35Summary: TagLib# development files
36Summary(pl.UTF-8): Pliki programistyczne TagLib#
c5eb70f0 37Group: Development/Libraries
c3c1e496 38Requires: %{name} = %{version}-%{release}
9b097376
MB
39Provides: taglib-sharp-devel
40Obsoletes: taglib-sharp-devel
c5eb70f0 41
42%description devel
9b097376 43TagLib# development files.
c5eb70f0 44
45%description devel -l pl.UTF-8
9b097376 46Pliki programistyczne TagLib#.
c5eb70f0 47
a86e8756 48%prep
9b097376 49%setup -q -n taglib-sharp-%{version}
6f3ab5c4 50%patch0 -p1
a86e8756 51
52%build
2be326de
PZ
53%{__libtoolize}
54%{__aclocal}
55%{__autoconf}
56%{__automake}
a86e8756 57%configure \
4bbe407c
PZ
58 --disable-docs \
59 --libdir=/usr/lib
a86e8756 60%{__make}
61
62%install
63rm -rf $RPM_BUILD_ROOT
6f3ab5c4 64
a86e8756 65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
a86e8756 67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
73%doc AUTHORS NEWS README
a86e8756 74%{_prefix}/lib/mono/gac/taglib-sharp
75%{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
c5eb70f0 76
77%files devel
2be326de 78%defattr(644,root,root,755)
c5eb70f0 79%{_prefix}/lib/mono/taglib-sharp
6f3ab5c4 80%{_npkgconfigdir}/taglib-sharp.pc
This page took 0.050767 seconds and 5 git commands to generate.