]>
Commit | Line | Data |
---|---|---|
a86e8756 | 1 | # |
2 | # TODO: Make build as noarch | |
3 | # | |
61e0bd07 | 4 | %include /usr/lib/rpm/macros.mono |
a86e8756 | 5 | Summary: Metadata library for most common movie and music formats |
9b097376 | 6 | Name: dotnet-taglib-sharp |
c814c94b MB |
7 | Version: 2.0.3.7 |
8 | Release: 1 | |
9b097376 | 9 | License: LGPL v2 |
a86e8756 | 10 | Group: Development |
6323f130 | 11 | #Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz |
c814c94b MB |
12 | Source0: http://download.banshee-project.org/taglib-sharp/%{version}/taglib-sharp-%{version}.tar.bz2 |
13 | # Source0-md5: dbd16b0ffcff8b0f9c0004090545d239 | |
3097f36b | 14 | URL: http://taglib-sharp.com/ |
27a9f2eb | 15 | BuildRequires: autoconf |
c814c94b | 16 | BuildRequires: automake >= 1:1.9 |
2be326de PZ |
17 | BuildRequires: dotnet-gnome-sharp-devel |
18 | BuildRequires: libtool | |
a86e8756 | 19 | BuildRequires: mono-csharp |
2be326de | 20 | BuildRequires: monodoc |
27a9f2eb | 21 | BuildRequires: pkgconfig |
9b097376 MB |
22 | Provides: taglib-sharp |
23 | Obsoletes: taglib-sharp | |
a86e8756 | 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 | ||
c5eb70f0 | 33 | %package devel |
9b097376 MB |
34 | Summary: TagLib# development files |
35 | Summary(pl.UTF-8): Pliki programistyczne TagLib# | |
c5eb70f0 | 36 | Group: Development/Libraries |
c3c1e496 | 37 | Requires: %{name} = %{version}-%{release} |
9b097376 MB |
38 | Provides: taglib-sharp-devel |
39 | Obsoletes: taglib-sharp-devel | |
c5eb70f0 | 40 | |
41 | %description devel | |
9b097376 | 42 | TagLib# development files. |
c5eb70f0 | 43 | |
44 | %description devel -l pl.UTF-8 | |
9b097376 | 45 | Pliki programistyczne TagLib#. |
c5eb70f0 | 46 | |
a86e8756 | 47 | %prep |
9b097376 | 48 | %setup -q -n taglib-sharp-%{version} |
a86e8756 | 49 | |
50 | %build | |
2be326de PZ |
51 | %{__libtoolize} |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %{__automake} | |
a86e8756 | 55 | %configure \ |
4bbe407c PZ |
56 | --disable-docs \ |
57 | --libdir=/usr/lib | |
a86e8756 | 58 | %{__make} |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
a86e8756 | 64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS NEWS README | |
a86e8756 | 71 | %{_prefix}/lib/mono/gac/taglib-sharp |
72 | %{_prefix}/lib/mono/gac/policy.2.0.taglib-sharp | |
c5eb70f0 | 73 | |
74 | %files devel | |
2be326de | 75 | %defattr(644,root,root,755) |
c5eb70f0 | 76 | %{_prefix}/lib/mono/taglib-sharp |
2be326de | 77 | %{_datadir}/pkgconfig/taglib-sharp.pc |