]> git.pld-linux.org Git - packages/clementine.git/blame - clementine.spec
- update-desktop-database
[packages/clementine.git] / clementine.spec
CommitLineData
bf1e6952
ER
1Summary: A music player and library organiser
2Name: clementine
3Version: 0.2
726826ed 4Release: 0.3
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
726826ed 23BuildRequires: rpmbuild(macros) >= 1.198
bf1e6952
ER
24BuildRequires: sed >= 4.0
25BuildRequires: sqlite-devel
26BuildRequires: taglib-devel
27BuildRequires: xine-lib-devel
726826ed 28Requires(post,postun): desktop-file-utils
bf1e6952
ER
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Clementine is a modern music player and library organiser. It is
33largely a port of Amarok 1.4, with some features rewritten to take
34advantage of Qt4.
35
36%prep
37%setup -q
38%patch0 -p1
39%patch1 -p1
7279ad3f 40%patch2 -p1
bf1e6952
ER
41
42# We already don't use these but just to make sure
43rm -fr 3rdparty
44
7279ad3f
ER
45# Don't build tests. They require gmock
46sed -i -e '/tests/d' CMakeLists.txt
bf1e6952
ER
47
48%build
49install -d build
50cd build
88ca6f4b
ER
51%cmake \
52 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
53 ..
bf1e6952
ER
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58%{__make} -C build install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
726826ed
ER
64%post
65%update_desktop_database_post
66
67%postun
68%update_desktop_database_postun
69
bf1e6952
ER
70%files
71%defattr(644,root,root,755)
72%doc Changelog TODO
73%attr(755,root,root) %{_bindir}/clementine
74%{_desktopdir}/clementine.desktop
7279ad3f 75%{_pixmapsdir}/clementine.png
This page took 0.089485 seconds and 4 git commands to generate.