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