]>
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 | |
8 | Version: 2.0.3.0 | |
3097f36b | 9 | Release: 7 |
a86e8756 | 10 | License: LGPLv2 |
11 | Group: Development | |
f2bd8114 | 12 | Source0: http://www.taglib-sharp.com/Download/%{name}-%{version}.tar.gz |
a86e8756 | 13 | # Source0-md5: aa2c344760c8f4d878957fd4600155a5 |
0ba9a0e6 | 14 | Patch0: %{name}-gacdir.patch |
3097f36b MB |
15 | # http://bugzilla.gnome.org/show_bug.cgi?id=532561 |
16 | # http://forum.taglib-sharp.com/viewtopic.php?f=5&t=276&p=821#p821 | |
17 | Patch1: %{name}-add_extensions_mimetypes_thorough_mpeg_checking.patch | |
18 | URL: http://taglib-sharp.com/ | |
2be326de PZ |
19 | BuildRequires: dotnet-gnome-sharp-devel |
20 | BuildRequires: libtool | |
a86e8756 | 21 | BuildRequires: mono-csharp |
2be326de | 22 | BuildRequires: monodoc |
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 | |
0ba9a0e6 | 46 | %patch0 -p1 |
3097f36b | 47 | %patch1 -p0 |
a86e8756 | 48 | |
49 | %build | |
2be326de PZ |
50 | %{__libtoolize} |
51 | %{__aclocal} | |
52 | %{__autoconf} | |
53 | %{__automake} | |
a86e8756 | 54 | %configure \ |
55 | --disable-docs | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | %{__make} install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | install -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig | |
63 | mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig | |
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 |