Summary: A music player and library organiser
Summary(hu.UTF-8): Egy zenelejátszó és gyűjtemény-kezelő
Name: clementine
-Version: 0.6
-Release: 2
+Version: 0.7
+Release: 0.rc1.1
License: GPL v3 and GPL v2+
Group: Applications/Multimedia
URL: http://www.clementine-player.org/
-Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: 7b7ee4c16f648a15eb2cff9ed2163e0e
+Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}rc1.tar.gz
+# Source0-md5: a13a226975e12b425606db99a74d8424
Patch0: desktop-install.patch
Patch1: unbundle-po.patch
BuildRequires: QtCore-devel >= %{qtver}
BuildRequires: usbmuxd-devel
%{?with_engine_vlc:BuildRequires: vlc-devel}
%{?with_engine_xine:BuildRequires: xine-lib-devel}
-Requires: hicolor-icon-theme
Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): hicolor-icon-theme
Requires: QtSingleApplication >= 2.6-4
%{!?with_static_sqlite:Requires: QtSql-sqlite3 >= %{qtver}}
Requires: gstreamer-audio-effects-base
a Qt4 előnyeit.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}rc1
%patch0 -p1
%patch1 -p1
%find_lang %{name} --with-qm
install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/apps
-cp -a $RPM_BUILD_ROOT{%{_datadir}/icons/ubuntu-mono-light/apps/24,%{_iconsdir}/hicolor/24x24/apps}/clementine-panel-grey.png
-cp -a $RPM_BUILD_ROOT{%{_datadir}/icons/ubuntu-mono-light/apps/24,%{_iconsdir}/hicolor/24x24/apps}/clementine-panel.png
-
-# don't want to depend on ubuntu themes
-rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/ubuntu-*
+cp -a dist/icons/ubuntu-mono-light/clementine-panel-grey.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/apps/clementine-panel-grey.png
+cp -a dist/icons/ubuntu-mono-light/clementine-panel.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/24x24/apps/clementine-panel.png
%clean
rm -rf $RPM_BUILD_ROOT