2010-01-17 22:12:17 +00:00
|
|
|
Name: clementine
|
2011-01-03 14:21:10 +00:00
|
|
|
Version: @CLEMENTINE_VERSION_RPM@
|
2010-03-22 22:28:29 +00:00
|
|
|
Release: 1%{?dist}
|
2010-01-17 22:12:17 +00:00
|
|
|
Summary: A music player and library organiser
|
|
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
License: GPLv3
|
2010-09-18 15:27:44 +00:00
|
|
|
URL: http://www.clementine-player.org/
|
2010-03-22 22:28:29 +00:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2010-01-17 22:12:17 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2010-04-29 18:46:29 +00:00
|
|
|
BuildRequires: desktop-file-utils liblastfm-devel taglib-devel gettext
|
2010-07-25 10:12:47 +00:00
|
|
|
BuildRequires: qt4-devel boost-devel gcc-c++ glew-devel libgpod-devel
|
2010-04-29 18:46:29 +00:00
|
|
|
BuildRequires: cmake gstreamer-devel gstreamer-plugins-base-devel
|
2010-09-04 15:21:06 +00:00
|
|
|
BuildRequires: libimobiledevice-devel libplist-devel usbmuxd-devel
|
2011-03-18 22:44:55 +00:00
|
|
|
BuildRequires: libmtp-devel
|
2010-04-29 18:46:29 +00:00
|
|
|
|
2011-03-18 22:44:55 +00:00
|
|
|
Requires: libgpod
|
2010-07-25 10:12:47 +00:00
|
|
|
|
2010-09-26 09:32:05 +00:00
|
|
|
# GStreamer codec dependencies
|
2011-03-18 22:44:55 +00:00
|
|
|
Requires: gstreamer-plugins-ugly
|
2010-09-26 09:32:05 +00:00
|
|
|
|
2010-09-04 23:34:16 +00:00
|
|
|
%ifarch x86_64
|
2010-09-26 09:32:05 +00:00
|
|
|
Requires: gstreamer0.10(decoder-audio/x-vorbis)()(64bit)
|
|
|
|
Requires: gstreamer0.10(decoder-audio/x-flac)()(64bit)
|
|
|
|
Requires: gstreamer0.10(decoder-audio/x-speex)()(64bit)
|
|
|
|
Requires: gstreamer0.10(decoder-audio/x-wav)()(64bit)
|
2010-09-25 15:33:38 +00:00
|
|
|
%else
|
2010-09-26 09:32:05 +00:00
|
|
|
Requires: gstreamer0.10(decoder-audio/x-vorbis)
|
|
|
|
Requires: gstreamer0.10(decoder-audio/x-flac)
|
|
|
|
Requires: gstreamer0.10(decoder-audio/x-speex)
|
|
|
|
Requires: gstreamer0.10(decoder-audio/x-wav)
|
2010-09-04 23:34:16 +00:00
|
|
|
%endif
|
|
|
|
|
2010-01-17 22:12:17 +00:00
|
|
|
%description
|
|
|
|
Clementine is a modern music player and library organiser.
|
2010-09-18 14:17:58 +00:00
|
|
|
It is inspired by Amarok 1.4, focusing on a fast and easy-to-use interface for
|
|
|
|
searching and playing your music.
|
|
|
|
|
|
|
|
Features include:
|
|
|
|
* Search and play your local music library
|
2010-12-11 16:52:35 +00:00
|
|
|
* Listen to internet radio from Last.fm, SomaFM, Magnatune, Jamendo and Icecast
|
|
|
|
* Create smart playlists and dynamic playlists
|
2010-09-18 14:17:58 +00:00
|
|
|
* Tabbed playlists, import and export M3U, XSPF, PLS and ASX
|
|
|
|
* Visualisations from projectM
|
2010-12-11 16:52:35 +00:00
|
|
|
* Lyrics and artist biographies and photos
|
2010-09-18 14:17:58 +00:00
|
|
|
* Transcode music into MP3, Ogg Vorbis, Ogg Speex, FLAC or AAC
|
|
|
|
* Edit tags on MP3 and OGG files, organise your music
|
|
|
|
* Download missing album cover art from Last.fm
|
|
|
|
* Cross-platform - works on Windows, Mac OS X and Linux
|
|
|
|
* Native desktop notifications on Linux (libnotify) and Mac OS X (Growl)
|
|
|
|
* Remote control using a Wii Remote, MPRIS or the command-line
|
|
|
|
* Copy music to your iPod, iPhone, MTP or mass-storage USB player
|
|
|
|
* Queue manager
|
2010-01-17 22:12:17 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2010-03-22 22:28:29 +00:00
|
|
|
cd bin
|
2011-01-16 15:11:23 +00:00
|
|
|
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF
|
2010-01-17 22:12:17 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2010-04-29 18:46:29 +00:00
|
|
|
cd bin
|
2010-06-22 16:26:00 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2010-10-24 12:40:35 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/usr/share/icons/ubuntu-mono-{dark,light}/apps/24/clementine-panel*.png
|
2010-01-17 22:12:17 +00:00
|
|
|
|
|
|
|
%clean
|
2010-03-22 22:28:29 +00:00
|
|
|
cd bin
|
2010-01-17 22:12:17 +00:00
|
|
|
make clean
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_bindir}/clementine
|
|
|
|
%{_datadir}/applications/clementine.desktop
|
|
|
|
%{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png
|
2010-08-07 10:41:42 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/application-x-clementine.svg
|
2010-06-22 16:26:00 +00:00
|
|
|
%{_datadir}/clementine/projectm-presets
|
2010-01-17 22:12:17 +00:00
|
|
|
|
|
|
|
%changelog
|
2011-01-03 14:21:10 +00:00
|
|
|
* @RPM_DATE@ David Sansome <me@davidsansome.com> - @CLEMENTINE_VERSION_RPM@
|
|
|
|
- Version @CLEMENTINE_VERSION_DISPLAY@
|