]> git.pld-linux.org Git - packages/clementine.git/blame - clementine.spec
- new, based on https://bugzilla.redhat.com/show_bug.cgi?id=583327
[packages/clementine.git] / clementine.spec
CommitLineData
bf1e6952
ER
1Summary: A music player and library organiser
2Name: clementine
3Version: 0.2
4Release: 0.1
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
12BuildRequires: boost-devel
13BuildRequires: cmake
14BuildRequires: desktop-file-utils
15BuildRequires: gtest-devel
16BuildRequires: liblastfm-devel
17BuildRequires: libnotify-devel
18BuildRequires: libqxt-devel
19BuildRequires: notification-daemon
20BuildRequires: qt4-build
21BuildRequires: qtsingleapplication-devel
22BuildRequires: sed >= 4.0
23BuildRequires: sqlite-devel
24BuildRequires: taglib-devel
25BuildRequires: xine-lib-devel
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Clementine is a modern music player and library organiser. It is
30largely a port of Amarok 1.4, with some features rewritten to take
31advantage 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
39rm -fr 3rdparty
40
41# Don't build tests. They require gmock which is not yet available on Fedora
42sed -i '/tests/d' CMakeLists.txt
43
44%build
45install -d build
46cd build
47%cmake ..
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52%{__make} -C build install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -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.036311 seconds and 4 git commands to generate.