1 |
Summary: A cross-platform music player based on Amarok 1.4 |
2 |
Name: clementine |
3 |
Version: 1.1.1 |
4 |
Release: %mkrel 2 |
5 |
Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz |
6 |
Patch0: clementine-1.1.0-fix-clementine-desktop.patch |
7 |
License: GPLv3 |
8 |
Group: Sound/Players |
9 |
URL: http://www.clementine-player.org/ |
10 |
BuildRequires: qt4-devel >= 4:4.5.0 |
11 |
BuildRequires: kde4-macros |
12 |
BuildRequires: liblastfm-devel |
13 |
BuildRequires: libboost-devel |
14 |
BuildRequires: qt4-linguist |
15 |
BuildRequires: pkgconfig(taglib) >= 1.6 |
16 |
BuildRequires: pkgconfig(gstreamer-0.10) |
17 |
BuildRequires: pkgconfig(glew) |
18 |
BuildRequires: pkgconfig(libchromaprint) |
19 |
BuildRequires: pkgconfig(libmtp) |
20 |
BuildRequires: pkgconfig(libusbmuxd) |
21 |
BuildRequires: pkgconfig(libplist) |
22 |
BuildRequires: pkgconfig(libimobiledevice-1.0) |
23 |
BuildRequires: pkgconfig(libgpod-1.0) >= 0.7.92 |
24 |
BuildRequires: pkgconfig(libarchive) |
25 |
BuildRequires: pkgconfig(libechonest) |
26 |
BuildRequires: pkgconfig(QtWebKit) |
27 |
BuildRequires: pkgconfig(gstreamer-app-0.10) |
28 |
BuildRequires: pkgconfig(gstreamer-tag-0.10) |
29 |
BuildRequires: pkgconfig(gstreamer-cdda-0.10) |
30 |
BuildRequires: pkgconfig(qca2) |
31 |
BuildRequires: pkgconfig(libcdio) |
32 |
BuildRequires: pkgconfig(protobuf) |
33 |
BuildRequires: ffmpeg-devel |
34 |
|
35 |
Requires: libprojectm-data |
36 |
Requires: qca2-plugin-openssl |
37 |
Requires: qt4-database-plugin-sqlite |
38 |
# Add a requires for gstreamer0.10-ofa to allow Music Brain functionnality (mga #1581) |
39 |
Requires: gstreamer0.10-ofa |
40 |
# Add more suggests since gstreamer0.10 was not provided on mageia 1 ( mga #1987) |
41 |
Suggests: gstreamer0.10-plugins-good |
42 |
Suggests: gstreamer0.10-plugins-ugly |
43 |
Suggests: gstreamer0.10-flac |
44 |
Suggests: gstreamer0.10-musepack |
45 |
Suggests: gstreamer0.10-gsm |
46 |
Suggests: gstreamer0.10-faad |
47 |
Suggests: gstreamer0.10-neon |
48 |
Suggests: gstreamer0.10-plugins-bad |
49 |
Suggests: gstreamer0.10-ffmpeg |
50 |
# Needed to be able to mount ipod/iphone/ipad (not tested locally) but it's also pulling gvfs |
51 |
# which is need at least to mount mtp devices (tested locally) |
52 |
Suggests: gvfs-iphone |
53 |
|
54 |
%description |
55 |
Clementine is a modern music player and library organiser. Clementine is |
56 |
a port of Amarok 1.4, with some features rewritten to take advantage of |
57 |
Qt4. |
58 |
Features: |
59 |
* Search and play your local music library |
60 |
* Listen to internet radio from Last.fm, SomaFM and Magnatune |
61 |
* Tabbed playlists, import and export M3U, XSPF, PLS and ASX |
62 |
* Visualisations from projectM |
63 |
* Transcode music into MP3, Ogg Vorbis, Ogg Speex, FLAC or AAC |
64 |
* Edit tags on MP3 and OGG files, organise your music |
65 |
* Download missing album cover art from Last.fm |
66 |
* Remote control using a Wii Remote, MPRIS or the command-line |
67 |
* Copy music to your iPod, iPhone, MTP or mass-storage USB player |
68 |
* Queue manager |
69 |
|
70 |
%files |
71 |
%doc COPYING Changelog |
72 |
%_bindir/clementine |
73 |
%_bindir/clementine-tagreader |
74 |
%_kde_services/clementine-*.protocol |
75 |
%_datadir/applications/clementine.desktop |
76 |
%_iconsdir/hicolor/*/apps/application-x-clementine.* |
77 |
|
78 |
#--------------------------------------------------------------------- |
79 |
|
80 |
%prep |
81 |
%setup -q |
82 |
%apply_patches |
83 |
|
84 |
%build |
85 |
%cmake_qt4 -DBUNDLE_PROJECTM_PRESETS=OFF -DENABLE_PLASMARUNNER=ON -D -DENABLE_REMOTE=ON |
86 |
%make |
87 |
|
88 |
%install |
89 |
%makeinstall_std -C build |