Clementine-audio-player-Mac.../dist/clementine.spec.in

94 lines
3.4 KiB
Plaintext
Raw Normal View History

2010-01-17 23:12:17 +01:00
Name: clementine
Version: @CLEMENTINE_VERSION_RPM_V@
Release: @CLEMENTINE_VERSION_RPM_R@.@RPM_DISTRO@
2010-01-17 23:12:17 +01:00
Summary: A music player and library organiser
Group: Applications/Multimedia
License: GPLv3
URL: http://www.clementine-player.org/
Source0: %{name}-@CLEMENTINE_VERSION_SPARKLE@.tar.gz
2010-01-17 23:12:17 +01:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2010-04-29 20:46:29 +02:00
BuildRequires: desktop-file-utils liblastfm-devel taglib-devel gettext
2010-07-25 12:12:47 +02:00
BuildRequires: qt4-devel boost-devel gcc-c++ glew-devel libgpod-devel
2010-04-29 20:46:29 +02:00
BuildRequires: cmake gstreamer-devel gstreamer-plugins-base-devel
BuildRequires: libplist-devel usbmuxd-devel
BuildRequires: libmtp-devel protobuf-devel protobuf-compiler libcdio-devel
BuildRequires: qjson-devel qca2-devel fftw-devel sparsehash-devel
2014-03-30 08:29:26 +02:00
BuildRequires: sqlite-devel pulseaudio-libs-devel
2010-04-29 20:46:29 +02:00
2013-11-26 14:24:09 +01:00
Requires: libgpod protobuf-lite libcdio qjson qca-ossl sqlite
2010-07-25 12:12:47 +02:00
# GStreamer codec dependencies
Requires: gstreamer-plugins-ugly
%ifarch x86_64
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)
%else
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)
%endif
2010-01-17 23:12:17 +01:00
%description
Clementine is a modern music player and library organiser.
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
* Listen to internet radio from Last.fm, SomaFM, Magnatune, Jamendo and Icecast
* Create smart playlists and dynamic playlists
* Tabbed playlists, import and export M3U, XSPF, PLS and ASX
* Visualisations from projectM
* Lyrics and artist biographies and photos
* 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
%setup -q -n %{name}-@CLEMENTINE_VERSION_SPARKLE@
2010-01-17 23:12:17 +01:00
%build
cd bin
2012-09-04 12:56:44 +02:00
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON
2010-01-17 23:12:17 +01:00
make %{?_smp_mflags}
%install
2010-04-29 20:46:29 +02:00
cd bin
make install DESTDIR=$RPM_BUILD_ROOT
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
%clean
cd bin
2010-01-17 23:12:17 +01:00
make clean
%files
%defattr(-,root,root,-)
%doc
%{_bindir}/clementine
2012-01-08 22:04:09 +01:00
%{_bindir}/clementine-tagreader
2010-01-17 23:12:17 +01:00
%{_datadir}/applications/clementine.desktop
%{_datadir}/clementine/projectm-presets
%{_datadir}/kde4/services/clementine-itms.protocol
%{_datadir}/kde4/services/clementine-itpc.protocol
%{_datadir}/kde4/services/clementine-feed.protocol
%{_datadir}/kde4/services/clementine-zune.protocol
2010-01-17 23:12:17 +01:00
%{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png
%{_datadir}/icons/hicolor/scalable/apps/application-x-clementine.svg
2010-01-17 23:12:17 +01:00
%changelog
* @RPM_DATE@ David Sansome <me@davidsansome.com> - @CLEMENTINE_VERSION_RPM_V@
2011-01-03 15:21:10 +01:00
- Version @CLEMENTINE_VERSION_DISPLAY@