]> git.pld-linux.org Git - packages/liblastfm.git/blame - liblastfm.spec
up to 1.0.9; new SONAME
[packages/liblastfm.git] / liblastfm.spec
CommitLineData
4684897b 1Summary: Library to access Last.fm features
2Name: liblastfm
84425f4b
ER
3Version: 1.0.9
4Release: 1
4684897b 5License: GPL v3
6Group: Libraries
84425f4b
ER
7Source0: https://github.com/lastfm/liblastfm/archive/%{version}/%{name}-%{version}.tar.gz
8# Source0-md5: 8748f423f66f2fbc38c39f9153d01a71
82e4a779 9Patch0: %{name}-ruby19.patch
84425f4b 10URL: https://github.com/lastfm/liblastfm
4684897b 11BuildRequires: QtGui-devel
12BuildRequires: QtNetwork-devel
13BuildRequires: QtSql-devel
14BuildRequires: QtTest-devel
15BuildRequires: QtXml-devel
84425f4b 16BuildRequires: cmake >= 2.8.6
fd6cd877 17BuildRequires: fftw3-single-devel
c8eb4b0b 18BuildRequires: libsamplerate-devel
19BuildRequires: pkgconfig
20BuildRequires: qt4-build
4684897b 21BuildRequires: qt4-qmake
22BuildRequires: ruby
23BuildRequires: ruby-modules
c686ecc9 24BuildRequires: sed >= 4.0
c8eb4b0b 25BuildRequires: which
4684897b 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29liblastfm is a collection of libraries to help you integrate Last.fm
30services into your rich desktop software. It is officially supported
31software developed by Last.fm staff.
32
33%package devel
34Summary: Header files for %{name}
35Summary(pl.UTF-8): Pliki nagłówkowe %{name}
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description devel
40Header files for %{name}.
41
42%description devel -l pl.UTF-8
43Pliki nagłówkowe %{name}.
44
45%prep
84425f4b
ER
46%setup -q
47#%patch0 -p0
4684897b 48
49%build
84425f4b
ER
50install -d build
51cd build
52%cmake \
53 -DBUILD_WITH_QT4:BOOL=ON \
54 -DBUILD_FINGERPRINT:BOOL=ON \
55 ..
4684897b 56
57%install
58rm -rf $RPM_BUILD_ROOT
84425f4b 59%{__make} -C build install \
4684897b 60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(644,root,root,755)
84425f4b 70%doc README.md
fd6cd877 71%attr(755,root,root) %{_libdir}/%{name}.so.*.*
84425f4b 72%attr(755,root,root) %ghost %{_libdir}/%{name}.so.1
fd6cd877 73%attr(755,root,root) %{_libdir}/%{name}_fingerprint.so.*.*
84425f4b 74%attr(755,root,root) %ghost %{_libdir}/%{name}_fingerprint.so.1
4684897b 75
76%files devel
77%defattr(644,root,root,755)
78%attr(755,root,root) %{_libdir}/%{name}.so
79%attr(755,root,root) %{_libdir}/%{name}_fingerprint.so
80%{_includedir}/lastfm
This page took 0.079732 seconds and 4 git commands to generate.