1 Summary: A music player and library organiser
5 License: GPL v3 and GPL v2+
6 Group: Applications/Multimedia
7 URL: http://code.google.com/p/clementine-player
8 Source0: http://clementine-player.googlecode.com/files/%{name}_%{version}-1.tar.gz
9 # Source0-md5: bf89adb26808fec6201499375de95507
10 Patch0: %{name}-dont-bundle-external-lib.patch
11 Patch1: %{name}-static.patch
12 BuildRequires: QtSingleApplication-devel
13 BuildRequires: boost-devel
15 BuildRequires: desktop-file-utils
16 BuildRequires: gtest-devel
17 BuildRequires: liblastfm-devel
18 BuildRequires: libnotify-devel
19 BuildRequires: libqxt-devel
20 BuildRequires: notification-daemon
21 BuildRequires: qt4-build
22 BuildRequires: sed >= 4.0
23 BuildRequires: sqlite-devel
24 BuildRequires: taglib-devel
25 BuildRequires: xine-lib-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Clementine is a modern music player and library organiser. It is
30 largely a port of Amarok 1.4, with some features rewritten to take
38 # We already don't use these but just to make sure
41 # Don't build tests. They require gmock which is not yet available on Fedora
42 sed -i '/tests/d' CMakeLists.txt
48 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
53 rm -rf $RPM_BUILD_ROOT
54 %{__make} -C build install \
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/clementine
64 %{_desktopdir}/clementine.desktop
65 %{_iconsdir}/hicolor/*/apps/application-x-clementine.png