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