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