[packages/kde4-kdepim-runtime/KDE4_KDEPIM_RUNTIME_4_9] - rel 4; disable kgapi (requires too old libkgapi)
arekm
arekm at pld-linux.org
Wed Nov 12 21:03:13 CET 2014
commit 87e8deefc3faa1280f2786772fa7720ff97b5404
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 12 21:03:06 2014 +0100
- rel 4; disable kgapi (requires too old libkgapi)
kde4-kdepim-runtime.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/kde4-kdepim-runtime.spec b/kde4-kdepim-runtime.spec
index 369b6c9..063ad4c 100644
--- a/kde4-kdepim-runtime.spec
+++ b/kde4-kdepim-runtime.spec
@@ -1,3 +1,5 @@
+%bcond_with kgapi
+
%define _state stable
%define qtver 4.8.1
@@ -7,7 +9,7 @@ Summary: Runtime Personal Information Management (PIM) for KDE
Summary(pl.UTF-8): Zarządca informacji osobistej (PIM) dla KDE
Name: kde4-kdepim-runtime
Version: 4.9.2
-Release: 3
+Release: 4
License: GPL
Group: X11/Applications
Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
@@ -28,7 +30,7 @@ BuildRequires: boost-devel >= 1.35.0
BuildRequires: cmake >= 2.8.0
BuildRequires: kde4-kdelibs-devel >= %{version}
BuildRequires: kde4-kdepimlibs-devel >= %{version}
-BuildRequires: libkgapi-devel
+%{?with_kgapi:BuildRequires: libkgapi-devel < 2.1.0}
BuildRequires: libkolab-devel
BuildRequires: libkolabxml-devel
BuildRequires: libxml2-devel
@@ -120,8 +122,10 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/accountwizard
%attr(755,root,root) %{_bindir}/akonadi_davgroupware_resource
+%if %{with kgapi}
%attr(755,root,root) %{_bindir}/akonadi_googlecalendar_resource
%attr(755,root,root) %{_bindir}/akonadi_googlecontacts_resource
+%endif
%attr(755,root,root) %{_bindir}/akonadi_invitations_agent
%attr(755,root,root) %{_bindir}/akonadi_kdeaccounts_resource
%attr(755,root,root) %{_bindir}/akonadi_mixedmaildir_resource
@@ -207,8 +211,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/akonadi/agents/birthdaysresource.desktop
%{_datadir}/akonadi/agents/contactsresource.desktop
%{_datadir}/akonadi/agents/davgroupwareresource.desktop
+%if %{with kgapi}
%{_datadir}/akonadi/agents/googlecalendarresource.desktop
%{_datadir}/akonadi/agents/googlecontactsresource.desktop
+%endif
%{_datadir}/akonadi/agents/icalresource.desktop
%{_datadir}/akonadi/agents/imapresource.desktop
%{_datadir}/akonadi/agents/invitationsagent.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdepim-runtime.git/commitdiff/87e8deefc3faa1280f2786772fa7720ff97b5404
More information about the pld-cvs-commit
mailing list