2010-01-17 23:12:17 +01:00
|
|
|
Name: clementine
|
2010-05-03 15:58:41 +02:00
|
|
|
Version: ${CLEMENTINE_VERSION}
|
2010-03-22 23:28:29 +01:00
|
|
|
Release: 1%{?dist}
|
2010-01-17 23:12:17 +01:00
|
|
|
Summary: A music player and library organiser
|
|
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
License: GPLv3
|
|
|
|
URL: http://code.google.com/p/clementine-player
|
2010-03-22 23:28:29 +01:00
|
|
|
Source0: %{name}-%{version}.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
|
|
|
|
|
2010-07-25 12:12:47 +02:00
|
|
|
Requires: libgpod
|
|
|
|
|
2010-04-29 20:46:29 +02:00
|
|
|
# GStreamer codec dependencies
|
2010-06-22 19:15:14 +02:00
|
|
|
Requires: gstreamer-plugins-ugly
|
2010-04-29 20:46:29 +02: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-01-17 23:12:17 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Clementine is a modern music player and library organiser.
|
|
|
|
It is largely a port of Amarok 1.4, with some features rewritten to take
|
|
|
|
advantage of Qt4.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2010-03-22 23:28:29 +01:00
|
|
|
cd bin
|
2010-06-22 18:26:00 +02:00
|
|
|
%{cmake} .. -DVISUALISATIONS_USE_INSTALL_PREFIX=OFF
|
2010-01-17 23:12:17 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2010-04-29 20:46:29 +02:00
|
|
|
cd bin
|
2010-06-22 18:26:00 +02:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2010-01-17 23:12:17 +01:00
|
|
|
|
|
|
|
%clean
|
2010-03-22 23:28:29 +01:00
|
|
|
cd bin
|
2010-01-17 23:12:17 +01: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 12:41:42 +02:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/application-x-clementine.svg
|
2010-06-22 18:26:00 +02:00
|
|
|
%{_datadir}/clementine/projectm-presets
|
2010-01-17 23:12:17 +01:00
|
|
|
|
|
|
|
%changelog
|
2010-06-25 00:07:04 +02:00
|
|
|
* ${RPM_DATE} David Sansome <me@davidsansome.com> - ${CLEMENTINE_VERSION}
|
|
|
|
- Version ${CLEMENTINE_VERSION_STRING}
|