2010-01-17 23:12:17 +01:00
|
|
|
Name: clementine
|
2011-12-02 15:47:25 +01:00
|
|
|
Version: @CLEMENTINE_VERSION_RPM_V@
|
2015-12-31 06:02:19 +01:00
|
|
|
Release: @CLEMENTINE_VERSION_RPM_R@%{?dist}
|
2010-01-17 23:12:17 +01:00
|
|
|
Summary: A music player and library organiser
|
|
|
|
|
|
|
|
License: GPLv3
|
2010-09-18 17:27:44 +02:00
|
|
|
URL: http://www.clementine-player.org/
|
2015-12-13 05:52:30 +01:00
|
|
|
Source0: %{name}-@CLEMENTINE_VERSION_SPARKLE@.tar.xz
|
2010-01-17 23:12:17 +01:00
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: sparsehash-devel
|
|
|
|
BuildRequires: liblastfm-qt5-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(protobuf)
|
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.7
|
|
|
|
BuildRequires: pkgconfig(taglib) >= 1.11
|
|
|
|
BuildRequires: pkgconfig(glew)
|
|
|
|
BuildRequires: pkgconfig(cryptopp)
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: pkgconfig(Qt5OpenGL)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-app-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-audio-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-base-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
BuildRequires: pkgconfig(libcdio)
|
|
|
|
BuildRequires: pkgconfig(libchromaprint)
|
|
|
|
BuildRequires: pkgconfig(libgpod-1.0)
|
|
|
|
BuildRequires: pkgconfig(libmtp)
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libudf)
|
2010-07-25 12:12:47 +02:00
|
|
|
|
2010-09-26 11:32:05 +02:00
|
|
|
# GStreamer codec dependencies
|
2020-12-16 07:27:39 +01:00
|
|
|
Requires: gstreamer1-plugins-ugly-free
|
2010-09-26 11:32:05 +02:00
|
|
|
|
2010-09-05 01:34:16 +02:00
|
|
|
%ifarch x86_64
|
2015-01-15 17:59:17 +01:00
|
|
|
Requires: gstreamer1(decoder-audio/x-vorbis)()(64bit)
|
|
|
|
Requires: gstreamer1(decoder-audio/x-flac)()(64bit)
|
|
|
|
Requires: gstreamer1(decoder-audio/x-speex)()(64bit)
|
|
|
|
Requires: gstreamer1(decoder-audio/x-wav)()(64bit)
|
2010-09-25 17:33:38 +02:00
|
|
|
%else
|
2015-01-15 17:59:17 +01:00
|
|
|
Requires: gstreamer1(decoder-audio/x-vorbis)
|
|
|
|
Requires: gstreamer1(decoder-audio/x-flac)
|
|
|
|
Requires: gstreamer1(decoder-audio/x-speex)
|
|
|
|
Requires: gstreamer1(decoder-audio/x-wav)
|
2010-09-05 01:34:16 +02:00
|
|
|
%endif
|
|
|
|
|
2010-01-17 23:12:17 +01:00
|
|
|
%description
|
|
|
|
Clementine is a modern music player and library organiser.
|
2010-09-18 16:17:58 +02: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
|
2016-02-05 19:29:43 +01:00
|
|
|
* Listen to internet radio from Last.fm, SomaFM, IntergalacticFM, Magnatune,
|
|
|
|
Jamendo and Icecast
|
2010-12-11 17:52:35 +01:00
|
|
|
* Create smart playlists and dynamic playlists
|
2010-09-18 16:17:58 +02:00
|
|
|
* Tabbed playlists, import and export M3U, XSPF, PLS and ASX
|
|
|
|
* Visualisations from projectM
|
2010-12-11 17:52:35 +01:00
|
|
|
* Lyrics and artist biographies and photos
|
2010-09-18 16:17:58 +02: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 23:12:17 +01:00
|
|
|
|
|
|
|
%prep
|
2011-12-02 20:06:53 +01:00
|
|
|
%setup -q -n %{name}-@CLEMENTINE_VERSION_SPARKLE@
|
2010-01-17 23:12:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2010-03-22 23:28:29 +01:00
|
|
|
cd bin
|
2015-12-31 03:07:08 +01:00
|
|
|
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
2020-12-16 06:29:43 +01:00
|
|
|
%{cmake_build}
|
2010-01-17 23:12:17 +01:00
|
|
|
|
|
|
|
%install
|
2010-04-29 20:46:29 +02:00
|
|
|
cd bin
|
2020-12-16 06:29:43 +01:00
|
|
|
%{cmake_install}
|
2010-10-24 14:40:35 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/usr/share/icons/ubuntu-mono-{dark,light}/apps/24/clementine-panel*.png
|
2010-01-17 23:12:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_bindir}/clementine
|
2012-01-08 22:04:09 +01:00
|
|
|
%{_bindir}/clementine-tagreader
|
2018-11-17 15:08:37 +01:00
|
|
|
%dir %{_datadir}/metainfo/
|
2021-06-30 04:09:40 +02:00
|
|
|
%{_datadir}/metainfo/org.clementine_player.Clementine.appdata.xml
|
|
|
|
%{_datadir}/applications/org.clementine_player.Clementine.desktop
|
2012-03-14 14:08:19 +01:00
|
|
|
%{_datadir}/clementine/projectm-presets
|
2016-05-29 15:04:25 +02:00
|
|
|
%{_datadir}/kservices5/clementine-itms.protocol
|
|
|
|
%{_datadir}/kservices5/clementine-itpc.protocol
|
|
|
|
%{_datadir}/kservices5/clementine-feed.protocol
|
|
|
|
%{_datadir}/kservices5/clementine-zune.protocol
|
2021-06-30 04:09:40 +02:00
|
|
|
%{_datadir}/icons/hicolor/64x64/apps/org.clementine_player.Clementine.png
|
|
|
|
%{_datadir}/icons/hicolor/128x128/apps/org.clementine_player.Clementine.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.clementine_player.Clementine.svg
|
2010-01-17 23:12:17 +01:00
|
|
|
|
|
|
|
%changelog
|
2011-12-02 15:47:25 +01:00
|
|
|
* @RPM_DATE@ David Sansome <me@davidsansome.com> - @CLEMENTINE_VERSION_RPM_V@
|
2011-01-03 15:21:10 +01:00
|
|
|
- Version @CLEMENTINE_VERSION_DISPLAY@
|