]> git.pld-linux.org Git - packages/clementine.git/blame - clementine.spec
- 0.4
[packages/clementine.git] / clementine.spec
CommitLineData
2c687024 1# TODO:
2# - update patch0
3# - add missing BRs
df3c0ac1 4# - Gstreamer error: "A text/uri-list decoder plugin is required to play this stream, but not installed."
2c687024 5#
6# Conditional build:
7%bcond_without engine_xine # without xine engine
8%bcond_without engine_vlc # without vlc engine
75ec0859 9%bcond_without engine_qt_phonon # without qt-phonon engine
2c687024 10%bcond_without engine_gstreamer # without gstreamer engine
11#
bf1e6952 12Summary: A music player and library organiser
df3c0ac1 13Summary(hu.UTF-8): Egy zenelejátszó és gyűjtemény-kezelő
bf1e6952 14Name: clementine
cff2f349 15Version: 0.4
2c687024 16Release: 0.1
bf1e6952
ER
17License: GPL v3 and GPL v2+
18Group: Applications/Multimedia
19URL: http://code.google.com/p/clementine-player
2c687024 20Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz
cff2f349 21# Source0-md5: dbfec89142910a60502674234daf01df
bf1e6952
ER
22Patch0: %{name}-dont-bundle-external-lib.patch
23Patch1: %{name}-static.patch
7279ad3f 24Patch2: desktop-install.patch
b6199a83 25BuildRequires: QtCore-devel
26BuildRequires: QtDBus-devel
27BuildRequires: QtGui-devel
28BuildRequires: QtNetwork-devel
29BuildRequires: QtOpenGL-devel
88ca6f4b 30BuildRequires: QtSingleApplication-devel
b6199a83 31BuildRequires: QtSql-devel
32BuildRequires: QtTest-devel
bf1e6952 33BuildRequires: boost-devel
7279ad3f 34BuildRequires: cmake >= 2.6
bf1e6952 35BuildRequires: desktop-file-utils
75ec0859 36BuildRequires: gettext-devel
37BuildRequires: gstreamer-devel
bf1e6952
ER
38BuildRequires: gtest-devel
39BuildRequires: liblastfm-devel
40BuildRequires: libnotify-devel
41BuildRequires: libqxt-devel
42BuildRequires: notification-daemon
75ec0859 43BuildRequires: phonon-devel
44BuildRequires: pkgconfig
bf1e6952 45BuildRequires: qt4-build
b6199a83 46BuildRequires: qt4-linguist
47BuildRequires: qt4-qmake
726826ed 48BuildRequires: rpmbuild(macros) >= 1.198
bf1e6952
ER
49BuildRequires: sed >= 4.0
50BuildRequires: sqlite-devel
b6199a83 51BuildRequires: sqlite3-devel
bf1e6952 52BuildRequires: taglib-devel
75ec0859 53BuildRequires: vlc-devel
bf1e6952 54BuildRequires: xine-lib-devel
726826ed 55Requires(post,postun): desktop-file-utils
df3c0ac1 56Requires: QtSql-sqlite3
bf1e6952
ER
57BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58
59%description
60Clementine is a modern music player and library organiser. It is
61largely a port of Amarok 1.4, with some features rewritten to take
62advantage of Qt4.
63
df3c0ac1
ZU
64%description -l hu.UTF-8
65Clementine egy modern zenelejátszó és gyűjtemény kezelő. Túlnyomórészt
66az Amarok 1.4 port-ja, néhány funkciója újraírva, hogy kihasználhassa
67a Qt4 előnyeit.
68
bf1e6952
ER
69%prep
70%setup -q
2c687024 71#%patch0 -p1
cff2f349
ZU
72#%patch1 -p1
73#%patch2 -p1
bf1e6952
ER
74
75# We already don't use these but just to make sure
2c687024 76#rm -fr 3rdparty
bf1e6952 77
7279ad3f
ER
78# Don't build tests. They require gmock
79sed -i -e '/tests/d' CMakeLists.txt
bf1e6952
ER
80
81%build
82install -d build
83cd build
88ca6f4b
ER
84%cmake \
85 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
2c687024 86 -DENGINE_GSTREAMER_ENABLED=%{?with_engine_gstreamer:ON}%{!?with_engine_gstreamer:OFF} \
87 -DENGINE_LIBVLC_ENABLED=%{?with_engine_vlc:ON}%{!?with_engine_vlc:OFF} \
88 -DENGINE_LIBXINE_ENABLED=%{?with_engine_xine:ON}%{!?with_engine_xine:OFF} \
75ec0859 89 -DENGINE_QT_PHONON_ENABLED=%{?with_engine_qt_phonon:ON}%{!?with_engine_qt_phonon:OFF} \
88ca6f4b 90 ..
bf1e6952
ER
91%{__make}
92
93%install
94rm -rf $RPM_BUILD_ROOT
95%{__make} -C build install \
96 DESTDIR=$RPM_BUILD_ROOT
97
98%clean
99rm -rf $RPM_BUILD_ROOT
100
726826ed
ER
101%post
102%update_desktop_database_post
103
104%postun
105%update_desktop_database_postun
106
bf1e6952
ER
107%files
108%defattr(644,root,root,755)
109%doc Changelog TODO
110%attr(755,root,root) %{_bindir}/clementine
111%{_desktopdir}/clementine.desktop
7279ad3f 112%{_pixmapsdir}/clementine.png
This page took 0.044903 seconds and 4 git commands to generate.