- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-taglib-sharp.git] / dotnet-taglib-sharp.spec
... / ...
CommitLineData
1#
2# TODO: Make build as noarch
3#
4Summary: Metadata library for most common movie and music formats
5Name: dotnet-taglib-sharp
6Version: 2.0.4.0
7Release: 1
8License: LGPL v2
9Group: Libraries
10Source0: http://download.banshee-project.org/taglib-sharp/%{version}/taglib-sharp-%{version}.tar.bz2
11# Source0-md5: c7e3b2d064e0429d168fa7498c47970e
12Patch0: %{name}-makefile.patch
13URL: http://taglib-sharp.com/
14BuildRequires: autoconf
15BuildRequires: automake >= 1:1.9
16BuildRequires: dotnet-gnome-sharp-devel
17BuildRequires: exiv2-devel
18BuildRequires: libtool
19BuildRequires: mono-csharp
20BuildRequires: monodoc
21BuildRequires: pkgconfig
22Provides: taglib-sharp
23Obsoletes: taglib-sharp
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
33%package devel
34Summary: TagLib# development files
35Summary(pl.UTF-8): Pliki programistyczne TagLib#
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38Provides: taglib-sharp-devel
39Obsoletes: taglib-sharp-devel
40
41%description devel
42TagLib# development files.
43
44%description devel -l pl.UTF-8
45Pliki programistyczne TagLib#.
46
47%prep
48%setup -q -n taglib-sharp-%{version}
49%patch0 -p1
50
51%build
52%{__libtoolize}
53%{__aclocal}
54%{__autoconf}
55%{__automake}
56%configure \
57 --disable-docs \
58 --libdir=/usr/lib
59%{__make}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc AUTHORS NEWS README
73%{_prefix}/lib/mono/gac/taglib-sharp
74%{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp
75
76%files devel
77%defattr(644,root,root,755)
78%{_prefix}/lib/mono/taglib-sharp
79%{_npkgconfigdir}/taglib-sharp.pc
This page took 0.12387 seconds and 5 git commands to generate.