]> git.pld-linux.org Git - packages/clementine.git/blame - clementine.spec
- install icon to pixmapsdir to avoid invoking gtk-update-icon-cache in %post in...
[packages/clementine.git] / clementine.spec
CommitLineData
bf1e6952
ER
1Summary: A music player and library organiser
2Name: clementine
3Version: 0.2
7279ad3f 4Release: 0.2
bf1e6952
ER
5License: GPL v3 and GPL v2+
6Group: Applications/Multimedia
7URL: http://code.google.com/p/clementine-player
8Source0: http://clementine-player.googlecode.com/files/%{name}_%{version}-1.tar.gz
9# Source0-md5: bf89adb26808fec6201499375de95507
10Patch0: %{name}-dont-bundle-external-lib.patch
11Patch1: %{name}-static.patch
7279ad3f 12Patch2: desktop-install.patch
88ca6f4b 13BuildRequires: QtSingleApplication-devel
bf1e6952 14BuildRequires: boost-devel
7279ad3f 15BuildRequires: cmake >= 2.6
bf1e6952
ER
16BuildRequires: desktop-file-utils
17BuildRequires: gtest-devel
18BuildRequires: liblastfm-devel
19BuildRequires: libnotify-devel
20BuildRequires: libqxt-devel
21BuildRequires: notification-daemon
22BuildRequires: qt4-build
bf1e6952
ER
23BuildRequires: sed >= 4.0
24BuildRequires: sqlite-devel
25BuildRequires: taglib-devel
26BuildRequires: xine-lib-devel
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Clementine is a modern music player and library organiser. It is
31largely a port of Amarok 1.4, with some features rewritten to take
32advantage of Qt4.
33
34%prep
35%setup -q
36%patch0 -p1
37%patch1 -p1
7279ad3f 38%patch2 -p1
bf1e6952
ER
39
40# We already don't use these but just to make sure
41rm -fr 3rdparty
42
7279ad3f
ER
43# Don't build tests. They require gmock
44sed -i -e '/tests/d' CMakeLists.txt
bf1e6952
ER
45
46%build
47install -d build
48cd build
88ca6f4b
ER
49%cmake \
50 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
51 ..
bf1e6952
ER
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56%{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc Changelog TODO
65%attr(755,root,root) %{_bindir}/clementine
66%{_desktopdir}/clementine.desktop
7279ad3f 67%{_pixmapsdir}/clementine.png
This page took 0.166574 seconds and 4 git commands to generate.