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 Patch2: desktop-install.patch
13 BuildRequires: QtSingleApplication-devel
14 BuildRequires: boost-devel
15 BuildRequires: cmake >= 2.6
16 BuildRequires: desktop-file-utils
17 BuildRequires: gtest-devel
18 BuildRequires: liblastfm-devel
19 BuildRequires: libnotify-devel
20 BuildRequires: libqxt-devel
21 BuildRequires: notification-daemon
22 BuildRequires: qt4-build
23 BuildRequires: sed >= 4.0
24 BuildRequires: sqlite-devel
25 BuildRequires: taglib-devel
26 BuildRequires: xine-lib-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Clementine is a modern music player and library organiser. It is
31 largely a port of Amarok 1.4, with some features rewritten to take
40 # We already don't use these but just to make sure
43 # Don't build tests. They require gmock
44 sed -i -e '/tests/d' CMakeLists.txt
50 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
55 rm -rf $RPM_BUILD_ROOT
56 %{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/clementine
66 %{_desktopdir}/clementine.desktop
67 %{_pixmapsdir}/clementine.png