]> git.pld-linux.org Git - packages/libcoverart.git/blame - libcoverart.spec
- new
[packages/libcoverart.git] / libcoverart.spec
CommitLineData
42c85bff
JB
1Summary: CoverArtArchive client library
2Summary(pl.UTF-8): Biblioteka kliencka CoverArtArchive
3Name: libcoverart
4Version: 1.0.0
5Release: 1
6License: LGPL v2
7Group: Libraries
8#Source0Download: https://github.com/metabrainz/libcoverart/releases/
9Source0: https://github.com/metabrainz/libcoverart/releases/download/release-%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: 856d83a4e57a2325c168eb979b9c00d8
11URL: https://musicbrainz.org/doc/libcoverart
12BuildRequires: cmake >= 2.6
13BuildRequires: jansson-devel
14BuildRequires: libstdc++-devel
15BuildRequires: neon-devel >= 0.25
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The Cover Art Archive Library (libcoverart), is a development library
20geared towards developers who wish to add Cover Art capabilities to
21their applications. The library supports Linux and Mac OS X. The data
22is mostly gathered from the Cover Art Archive.
23
24%description -l pl.UTF-8
25Biblioteka Covert Art Archive (libcoverart) to biblioteka dla
26programistów chcących dodać obsługę okładek do aplikacji. Biblioteka
27działa na systemach Linux oraz Mac OS X. Dane są pobierane w
28większości z Covert Art Archive.
29
30%package devel
31Summary: Header files for coverart library
32Summary(pl.UTF-8): Pliki nagłówkowe biblioteki coverart
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35Requires: jansson-devel
36Requires: libstdc++-devel
37Requires: neon-devel >= 0.25
38
39%description devel
40Header files for coverart library.
41
42%description devel -l pl.UTF-8
43Pliki nagłówkowe biblioteki coverart.
44
45%prep
46%setup -q
47
48%build
49%cmake .
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -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
This page took 0.143359 seconds and 4 git commands to generate.