2016-08-08 16:10:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package akonadi-contact
|
|
|
|
#
|
2020-01-09 16:58:01 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-08-08 16:10:36 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-09-14 14:12:37 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-08-08 16:10:36 +02:00
|
|
|
#
|
|
|
|
|
2016-10-11 22:53:23 +02:00
|
|
|
|
2019-08-15 16:00:06 +02:00
|
|
|
%define rname akonadi-contacts
|
2016-12-03 15:16:44 +01:00
|
|
|
%define sonum 5
|
2020-03-28 14:56:37 +01:00
|
|
|
%define kf5_version 5.66.0
|
2017-08-12 00:51:57 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:18:54 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:43:49 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: akonadi-contact
|
2020-08-13 15:51:19 +02:00
|
|
|
Version: 20.08.0
|
2018-11-25 00:43:49 +01:00
|
|
|
Release: 0
|
2016-08-08 16:10:36 +02:00
|
|
|
Summary: KDE PIM Libraries for Akonadi Contacts
|
2018-03-10 13:10:02 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-08-08 16:10:36 +02:00
|
|
|
Group: System/GUI/KDE
|
2019-08-15 16:00:06 +02:00
|
|
|
URL: https://www.kde.org
|
2020-08-13 15:51:19 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2016-08-11 14:18:21 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2016-08-08 16:10:36 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2019-11-29 12:38:46 +01:00
|
|
|
BuildRequires: cmake(KF5Akonadi)
|
|
|
|
BuildRequires: cmake(KF5Codecs) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Completion) >= %{kf5_version}
|
2020-01-29 16:50:12 +01:00
|
|
|
BuildRequires: cmake(KF5Config) >= %{kf5_version}
|
2020-03-28 14:56:37 +01:00
|
|
|
BuildRequires: cmake(KF5Contacts) >= %{kf5_version}
|
2020-01-29 16:50:12 +01:00
|
|
|
BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5IconThemes) >= %{kf5_version}
|
2020-02-07 09:19:30 +01:00
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
2019-11-29 12:38:46 +01:00
|
|
|
BuildRequires: cmake(KF5Mime)
|
2020-02-07 09:19:30 +01:00
|
|
|
BuildRequires: cmake(KF5Prison) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Service) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5TextWidgets) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5XmlGui) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.12.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.12.0
|
2016-08-08 16:10:36 +02:00
|
|
|
Requires: libKF5AkonadiContact5 = %{version}
|
2017-08-05 23:13:58 +02:00
|
|
|
Requires: libKF5ContactEditor5 = %{version}
|
2018-11-25 00:43:49 +01:00
|
|
|
Recommends: %{name}-lang
|
2016-12-03 15:16:44 +01:00
|
|
|
Provides: akonadi-contacts = %{version}
|
|
|
|
Obsoletes: akonadi-contacts < %{version}
|
2020-03-28 14:56:37 +01:00
|
|
|
%if %{with lang}
|
2020-08-13 15:51:19 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2020-03-28 14:56:37 +01:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides a library used for handling personal contacts,
|
|
|
|
as part of the KDE Personal Information Management (PIM) software.
|
|
|
|
|
|
|
|
%package -n libKF5AkonadiContact5
|
|
|
|
Summary: Library for personal contact handling
|
2016-12-03 15:16:44 +01:00
|
|
|
Group: System/Libraries
|
2016-08-14 21:28:07 +02:00
|
|
|
Requires: akonadi-contact >= %{version}
|
2016-12-03 15:16:44 +01:00
|
|
|
Obsoletes: akonadi-socialutils
|
2017-01-14 11:29:23 +01:00
|
|
|
Obsoletes: akonadi-socialutils-devel
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%description -n libKF5AkonadiContact5
|
|
|
|
This package provides a library used for handling personal contacts,
|
|
|
|
as part of the KDE Personal Information Management (PIM) software.
|
|
|
|
|
2017-08-05 23:13:15 +02:00
|
|
|
%package -n libKF5ContactEditor5
|
|
|
|
Summary: Library for personal contact handling
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: akonadi-contact >= %{version}
|
|
|
|
|
|
|
|
%description -n libKF5ContactEditor5
|
|
|
|
This package provides a library used for handling personal contacts,
|
|
|
|
as part of the KDE Personal Information Management (PIM) software.
|
|
|
|
|
2018-04-10 15:19:22 +02:00
|
|
|
%package -n akonadi-plugin-contacts
|
|
|
|
Summary: Plugins for personal contact handling
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: akonadi-contact >= %{version}
|
|
|
|
|
|
|
|
%description -n akonadi-plugin-contacts
|
|
|
|
This package provides plugins required by PIM applications to read and write contact data.
|
2017-08-06 00:01:48 +02:00
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%package devel
|
|
|
|
Summary: KDE PIM Libraries: Build Environment
|
|
|
|
Group: Development/Libraries/KDE
|
2017-08-12 00:51:57 +02:00
|
|
|
Requires: akonadi-contact = %{version}
|
2016-08-08 16:10:36 +02:00
|
|
|
Requires: libKF5AkonadiContact5 = %{version}
|
2017-08-06 00:01:48 +02:00
|
|
|
Requires: libKF5ContactEditor5 = %{version}
|
2019-11-29 12:38:46 +01:00
|
|
|
Requires: cmake(KF5Akonadi)
|
|
|
|
Requires: cmake(KF5Contacts)
|
2020-02-07 09:19:30 +01:00
|
|
|
Requires: cmake(Qt5Widgets) >= 5.12.0
|
2016-12-03 15:16:44 +01:00
|
|
|
Obsoletes: akonadi-contacts-devel < %{version}
|
|
|
|
Provides: akonadi-contacts-devel = %{version}
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop KDE PIM applications.
|
|
|
|
|
2017-04-15 15:27:42 +02:00
|
|
|
%lang_package
|
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%prep
|
2019-08-15 16:00:06 +02:00
|
|
|
%setup -q -n %{rname}-%{version}
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%build
|
2016-12-03 15:16:44 +01:00
|
|
|
%cmake_kf5 -d build -- -DKF5_INCLUDE_INSTALL_DIR=%{_kf5_includedir}
|
2020-02-07 09:37:50 +01:00
|
|
|
%cmake_build
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:27:42 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%endif
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%post -n libKF5AkonadiContact5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5AkonadiContact5 -p /sbin/ldconfig
|
2017-08-05 23:13:15 +02:00
|
|
|
%post -n libKF5ContactEditor5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKF5ContactEditor5 -p /sbin/ldconfig
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%files
|
2018-11-25 00:43:49 +01:00
|
|
|
%license COPYING*
|
2016-08-08 16:10:36 +02:00
|
|
|
%dir %{_kf5_plugindir}
|
2017-08-06 00:01:48 +02:00
|
|
|
%dir %{_kf5_plugindir}/akonadi/contacts/
|
2018-07-28 15:18:54 +02:00
|
|
|
%{_kf5_debugdir}/*.categories
|
2018-04-10 15:19:22 +02:00
|
|
|
%{_kf5_debugdir}/*.renamecategories
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_datadir}/akonadi/contact/
|
2017-08-06 00:01:48 +02:00
|
|
|
%{_kf5_plugindir}/akonadi/contacts/plugins/
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_plugindir}/kcm_akonadicontact_actions.so
|
|
|
|
%{_kf5_servicesdir}/akonadicontact_actions.desktop
|
2016-08-08 16:10:36 +02:00
|
|
|
|
|
|
|
%files -n libKF5AkonadiContact5
|
2018-11-25 00:43:49 +01:00
|
|
|
%license COPYING*
|
2016-08-08 16:10:36 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiContact.so.*
|
|
|
|
|
2017-08-05 23:13:15 +02:00
|
|
|
%files -n libKF5ContactEditor5
|
2018-11-25 00:43:49 +01:00
|
|
|
%license COPYING*
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_libdir}/libKF5ContactEditor.so.*
|
|
|
|
|
2018-04-10 15:19:22 +02:00
|
|
|
%files -n akonadi-plugin-contacts
|
|
|
|
%{_kf5_plugindir}/akonadi_serializer_addressee.so
|
|
|
|
%{_kf5_plugindir}/akonadi_serializer_contactgroup.so
|
|
|
|
%dir %{_kf5_sharedir}/akonadi
|
|
|
|
%dir %{_kf5_sharedir}/akonadi/plugins
|
|
|
|
%dir %{_kf5_sharedir}/akonadi/plugins/serializer
|
|
|
|
%{_kf5_sharedir}/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop
|
|
|
|
%{_kf5_sharedir}/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop
|
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%files devel
|
2018-11-25 00:43:49 +01:00
|
|
|
%license COPYING*
|
2016-08-08 16:10:36 +02:00
|
|
|
%dir %{_kf5_includedir}/Akonadi
|
2017-08-12 00:51:57 +02:00
|
|
|
%dir %{_kf5_includedir}/ContactEditor
|
2016-08-08 16:10:36 +02:00
|
|
|
%dir %{_kf5_includedir}/akonadi
|
2017-08-12 00:51:57 +02:00
|
|
|
%dir %{_kf5_includedir}/contacteditor
|
2016-08-08 16:10:36 +02:00
|
|
|
%{_kf5_includedir}/Akonadi/Contact/
|
2017-08-12 00:51:57 +02:00
|
|
|
%{_kf5_includedir}/ContactEditor
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_includedir}/akonadi/contact/
|
2017-08-12 00:51:57 +02:00
|
|
|
%{_kf5_includedir}/contacteditor
|
|
|
|
%{_kf5_cmakedir}/KF5AkonadiContact/
|
|
|
|
%{_kf5_cmakedir}/KF5ContactEditor/
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_libdir}/libKF5AkonadiContact.so
|
|
|
|
%{_kf5_libdir}/libKF5ContactEditor.so
|
2016-08-08 16:10:36 +02:00
|
|
|
%{_kf5_mkspecsdir}/qt_AkonadiContact.pri
|
2017-08-05 23:13:15 +02:00
|
|
|
%{_kf5_mkspecsdir}/qt_ContactEditor.pri
|
2016-08-08 16:10:36 +02:00
|
|
|
|
2017-04-15 15:27:42 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-11-25 00:43:49 +01:00
|
|
|
%license COPYING*
|
2017-04-15 15:27:42 +02:00
|
|
|
%endif
|
|
|
|
|
2016-08-08 16:10:36 +02:00
|
|
|
%changelog
|