]> git.pld-linux.org Git - packages/clementine.git/blobdiff - clementine.spec
- install panel icons
[packages/clementine.git] / clementine.spec
index 442a43a6323811cc726f35370f06a12236af0076..988eaea30cb731b95db6a07aea79fef6fa3c2d7e 100644 (file)
 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}
@@ -38,7 +38,6 @@ BuildRequires:        QtSingleApplication-devel >= 2.6-4
 BuildRequires: QtSql-devel >= %{qtver}
 %{?with_tests:BuildRequires:   QtTest-devel >= %{qtver}}
 BuildRequires: QtXml-devel >= %{qtver}
-BuildRequires: QtXmlPatterns-devel >= %{qtver}
 BuildRequires: boost-devel
 BuildRequires: cmake >= 2.6
 #%{?with_static_projectm:BuildRequires:        ftgl-devel >= 2.1.3}
@@ -46,28 +45,23 @@ BuildRequires:      gettext-devel
 %{?with_static_projectm:BuildRequires: glew-devel}
 BuildRequires: glib2-devel
 %{?with_engine_gstreamer:BuildRequires:        gstreamer-devel >= 0.10}
-%{?with_engine_gstreamer:BuildRequires:        gstreamer-plugins-base-devel >= 0.10}
 BuildRequires: gtest-devel
 BuildRequires: libgpod-devel >= 0.7.92
 BuildRequires: libimobiledevice-devel
 BuildRequires: libindicate-qt-devel
 BuildRequires: liblastfm-devel
 BuildRequires: libmtp-devel
-BuildRequires: libnotify-devel
 BuildRequires: libplist-devel
 %{!?with_static_projectm:BuildRequires:        libprojectM-devel >= 1:2.0.1-4}
 BuildRequires: libqxt-devel
-#BuildRequires:        libqxt-devel >= 0.6.0-0.2
 BuildRequires: libxml2-devel
-BuildRequires: notification-daemon
-BuildRequires: phonon
 %{?with_engine_phonon:BuildRequires:   phonon-devel}
 BuildRequires: pkgconfig
 BuildRequires: pkgconfig
 BuildRequires: qt4-build >= %{qtver}
 BuildRequires: qt4-linguist
 BuildRequires: qt4-qmake
-BuildRequires: rpmbuild(find_lang) = 1.33
+BuildRequires: rpmbuild(find_lang) >= 1.33
 BuildRequires: rpmbuild(macros) >= 1.596
 BuildRequires: sed >= 4.0
 %{!?with_static_sqlite:BuildRequires:  sqlite3-devel}
@@ -75,8 +69,9 @@ BuildRequires:        taglib-devel >= 1.6
 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
@@ -98,7 +93,7 @@ az Amarok 1.4 port-ja, néhány funkciója újraírva, hogy kihasználhassa
 a Qt4 előnyeit.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}rc1
 %patch0 -p1
 %patch1 -p1
 
@@ -115,6 +110,7 @@ sed -i -e '/add_subdirectory(tests)/d' CMakeLists.txt
 
 %build
 install -d build
+install -d build/src/translations
 cd build
 %cmake \
        -DBUNDLE_PROJECTM_PRESETS=OFF \
@@ -139,11 +135,8 @@ rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/application-x-clementi
 %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
This page took 0.0823199999999999 seconds and 4 git commands to generate.