]> git.pld-linux.org Git - packages/clementine.git/blame - clementine.spec
- from 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
88ca6f4b 12BuildRequires: QtSingleApplication-devel
bf1e6952
ER
13BuildRequires: boost-devel
14BuildRequires: cmake
15BuildRequires: desktop-file-utils
16BuildRequires: gtest-devel
17BuildRequires: liblastfm-devel
18BuildRequires: libnotify-devel
19BuildRequires: libqxt-devel
20BuildRequires: notification-daemon
21BuildRequires: qt4-build
bf1e6952
ER
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
88ca6f4b
ER
47%cmake \
48 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
49 ..
bf1e6952
ER
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54%{__make} -C build install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc Changelog TODO
63%attr(755,root,root) %{_bindir}/clementine
64%{_desktopdir}/clementine.desktop
65%{_iconsdir}/hicolor/*/apps/application-x-clementine.png
This page took 0.054038 seconds and 4 git commands to generate.