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