[packages/kmymoney2] dude, don't package system icons dir here!
glen
glen at pld-linux.org
Sat Mar 1 22:10:59 CET 2014
commit 8425379ae8e83e3ea740e0cc38c0ec63310599b4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 1 23:10:43 2014 +0200
dude, don't package system icons dir here!
kmymoney2.spec | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/kmymoney2.spec b/kmymoney2.spec
index 2a28f2d..06b211e 100644
--- a/kmymoney2.spec
+++ b/kmymoney2.spec
@@ -6,13 +6,13 @@
#
# Conditional build:
%bcond_without kbanking # kbanking support
-#
+
%define real_name kmymoney
Summary: Personal finance application similar to Microsoft Money
Summary(pl.UTF-8): Program do finansów osobistych, podobny do Microsoft Money
Name: kmymoney2
Version: 4.6.4
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Applications
Source0: http://downloads.sourceforge.net/kmymoney2/%{real_name}-%{version}.tar.xz
@@ -23,11 +23,11 @@ Patch1: %{name}-fr_translation.patch
%{?with_kbanking:BuildRequires: aqbanking-devel >= 5.0.0}
BuildRequires: automoc4
BuildRequires: cmake
+BuildRequires: gpgme-devel
%{?with_kbanking:BuildRequires: gwenhywfar-devel >= 4.0.0}
%{?with_kbanking:BuildRequires: gwenhywfar-qt-devel >= 4.0.0}
BuildRequires: kde4-kdelibs-devel
BuildRequires: kde4-kdepimlibs-devel
-BuildRequires: gpgme-devel
BuildRequires: libalkimia-devel >= 4.3.1
BuildRequires: libassuan-devel
BuildRequires: libical-c++-devel
@@ -113,6 +113,9 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
%find_lang %{real_name} --with-kde
+# not supported in pld
+%{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -188,10 +191,8 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/config.kcfg/kmymoney.kcfg
%{_datadir}/config/csvimporterrc
%{_datadir}/mime/packages/x-kmymoney.xml
-%dir %{_iconsdir}/*
-%dir %{_iconsdir}/*/*
-%dir %{_iconsdir}/*/*/*
-%{_iconsdir}/*/*/*/*.png
+%{_iconsdir}/hicolor/*/apps/kmymoney.png
+%{_iconsdir}/hicolor/*/mimetypes/kmy.png
%{_desktopdir}/kde4/kmymoney.desktop
%{_datadir}/kde4/services/*.desktop
%{_datadir}/kde4/servicetypes/*.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kmymoney2.git/commitdiff/8425379ae8e83e3ea740e0cc38c0ec63310599b4
More information about the pld-cvs-commit
mailing list