]>
Commit | Line | Data |
---|---|---|
42c85bff JB |
1 | Summary: CoverArtArchive client library |
2 | Summary(pl.UTF-8): Biblioteka kliencka CoverArtArchive | |
3 | Name: libcoverart | |
4 | Version: 1.0.0 | |
5 | Release: 1 | |
6 | License: LGPL v2 | |
7 | Group: Libraries | |
8 | #Source0Download: https://github.com/metabrainz/libcoverart/releases/ | |
9 | Source0: https://github.com/metabrainz/libcoverart/releases/download/release-%{version}/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: 856d83a4e57a2325c168eb979b9c00d8 | |
11 | URL: https://musicbrainz.org/doc/libcoverart | |
12 | BuildRequires: cmake >= 2.6 | |
13 | BuildRequires: jansson-devel | |
14 | BuildRequires: libstdc++-devel | |
15 | BuildRequires: neon-devel >= 0.25 | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | The Cover Art Archive Library (libcoverart), is a development library | |
20 | geared towards developers who wish to add Cover Art capabilities to | |
21 | their applications. The library supports Linux and Mac OS X. The data | |
22 | is mostly gathered from the Cover Art Archive. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Biblioteka Covert Art Archive (libcoverart) to biblioteka dla | |
26 | programistów chcących dodać obsługę okładek do aplikacji. Biblioteka | |
27 | działa na systemach Linux oraz Mac OS X. Dane są pobierane w | |
28 | większości z Covert Art Archive. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for coverart library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki coverart | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | Requires: jansson-devel | |
36 | Requires: libstdc++-devel | |
37 | Requires: neon-devel >= 0.25 | |
38 | ||
39 | %description devel | |
40 | Header files for coverart library. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki nagłówkowe biblioteki coverart. | |
44 | ||
45 | %prep | |
46 | %setup -q | |
47 | ||
48 | %build | |
49 | %cmake . | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post -p /sbin/ldconfig | |
62 | %postun -p /sbin/ldconfig | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc NEWS.txt README.md | |
67 | %attr(755,root,root) %{_libdir}/libcoverart.so.*.*.* | |
68 | %attr(755,root,root) %ghost %{_libdir}/libcoverart.so.0 | |
69 | ||
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_libdir}/libcoverart.so | |
73 | %{_includedir}/coverart | |
74 | %{_pkgconfigdir}/libcoverart.pc |