1 Summary: Library to access Last.fm features
7 Source0: https://github.com/lastfm/liblastfm/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 8748f423f66f2fbc38c39f9153d01a71
9 Patch0: %{name}-ruby19.patch
10 URL: https://github.com/lastfm/liblastfm
11 BuildRequires: QtGui-devel
12 BuildRequires: QtNetwork-devel
13 BuildRequires: QtSql-devel
14 BuildRequires: QtTest-devel
15 BuildRequires: QtXml-devel
16 BuildRequires: cmake >= 2.8.6
17 BuildRequires: fftw3-single-devel
18 BuildRequires: libsamplerate-devel
19 BuildRequires: pkgconfig
20 BuildRequires: qt4-build
21 BuildRequires: qt4-qmake
23 BuildRequires: ruby-modules
24 BuildRequires: sed >= 4.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 liblastfm is a collection of libraries to help you integrate Last.fm
30 services into your rich desktop software. It is officially supported
31 software developed by Last.fm staff.
34 Summary: Header files for %{name}
35 Summary(pl.UTF-8): Pliki nagłówkowe %{name}
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Header files for %{name}.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe %{name}.
53 -DBUILD_WITH_QT4:BOOL=ON \
54 -DBUILD_FINGERPRINT:BOOL=ON \
58 rm -rf $RPM_BUILD_ROOT
59 %{__make} -C build install \
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/%{name}.so.*.*
72 %attr(755,root,root) %ghost %{_libdir}/%{name}.so.1
73 %attr(755,root,root) %{_libdir}/%{name}_fingerprint.so.*.*
74 %attr(755,root,root) %ghost %{_libdir}/%{name}_fingerprint.so.1
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/%{name}.so
79 %attr(755,root,root) %{_libdir}/%{name}_fingerprint.so