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