]> git.pld-linux.org Git - packages/clementine.git/blob - clementine.spec
- new, based on https://bugzilla.redhat.com/show_bug.cgi?id=583327
[packages/clementine.git] / clementine.spec
1 Summary:        A music player and library organiser
2 Name:           clementine
3 Version:        0.2
4 Release:        0.1
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:  boost-devel
13 BuildRequires:  cmake
14 BuildRequires:  desktop-file-utils
15 BuildRequires:  gtest-devel
16 BuildRequires:  liblastfm-devel
17 BuildRequires:  libnotify-devel
18 BuildRequires:  libqxt-devel
19 BuildRequires:  notification-daemon
20 BuildRequires:  qt4-build
21 BuildRequires:  qtsingleapplication-devel
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)
27
28 %description
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
31 advantage of Qt4.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37
38 # We already don't use these but just to make sure
39 rm -fr 3rdparty
40
41 # Don't build tests. They require gmock which is not yet available on Fedora
42 sed -i '/tests/d' CMakeLists.txt
43
44 %build
45 install -d build
46 cd build
47 %cmake ..
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 %{__make} -C build install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc Changelog TODO
61 %attr(755,root,root) %{_bindir}/clementine
62 %{_desktopdir}/clementine.desktop
63 %{_iconsdir}/hicolor/*/apps/application-x-clementine.png
This page took 0.045473 seconds and 4 git commands to generate.