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