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