|
Bernhard M. Wiedemann |
f98c64 |
#
|
|
Bernhard M. Wiedemann |
f98c64 |
# spec file for package akonadi-mime
|
|
Bernhard M. Wiedemann |
f98c64 |
#
|
|
|
ca1c9e |
# Copyright (c) 2021 SUSE LLC
|
|
Bernhard M. Wiedemann |
f98c64 |
#
|
|
Bernhard M. Wiedemann |
f98c64 |
# All modifications and additions to the file contributed by third parties
|
|
Bernhard M. Wiedemann |
f98c64 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
Bernhard M. Wiedemann |
f98c64 |
# upon. The license for this file, and modifications and additions to the
|
|
Bernhard M. Wiedemann |
f98c64 |
# file, is the same license as for the pristine package itself (unless the
|
|
Bernhard M. Wiedemann |
f98c64 |
# license for the pristine package is not an Open Source License, in which
|
|
Bernhard M. Wiedemann |
f98c64 |
# case the license is the MIT License). An "Open Source License" is a
|
|
Bernhard M. Wiedemann |
f98c64 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
Bernhard M. Wiedemann |
f98c64 |
# published by the Open Source Initiative.
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
Bernhard M. Wiedemann |
f98c64 |
#
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%define sonum 5
|
|
|
50b655 |
%define kf5_version 5.79.0
|
|
Bernhard M. Wiedemann |
f98c64 |
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
|
Bernhard M. Wiedemann |
f98c64 |
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
|
|
c80d2d |
%bcond_without released
|
|
Bernhard M. Wiedemann |
f98c64 |
Name: akonadi-mime
|
|
|
c27e11 |
Version: 22.04.2
|
|
Bernhard M. Wiedemann |
f98c64 |
Release: 0
|
|
Bernhard M. Wiedemann |
f98c64 |
Summary: MIME email parser for KDE PIM
|
|
Bernhard M. Wiedemann |
f98c64 |
License: LGPL-2.1-or-later
|
|
Bernhard M. Wiedemann |
f98c64 |
Group: System/GUI/KDE
|
|
Bernhard M. Wiedemann |
f98c64 |
URL: https://www.kde.org
|
|
Bernhard M. Wiedemann |
033ad4 |
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
c80d2d |
%if %{with released}
|
|
|
50b655 |
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
|
|
50b655 |
Source2: applications.keyring
|
|
|
50b655 |
%endif
|
|
Bernhard M. Wiedemann |
f98c64 |
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
|
Bernhard M. Wiedemann |
f98c64 |
BuildRequires: kf5-filesystem
|
|
Bernhard M. Wiedemann |
f98c64 |
BuildRequires: libxslt-devel
|
|
Bernhard M. Wiedemann |
f98c64 |
BuildRequires: shared-mime-info
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5Akonadi)
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5Config) >= %{kf5_version}
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version}
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5ItemModels) >= %{kf5_version}
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5Mime)
|
|
Bernhard M. Wiedemann |
033ad4 |
BuildRequires: cmake(KF5XmlGui) >= %{kf5_version}
|
|
|
74a86e |
BuildRequires: cmake(Qt5Test) >= 5.15.0
|
|
|
74a86e |
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%description
|
|
|
50b655 |
This package provides libraries needed for the correct parsing of email
|
|
|
50b655 |
messages.
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%package -n libKF5AkonadiMime5
|
|
Bernhard M. Wiedemann |
f98c64 |
Summary: MIME email parser for KDE PIM - core library
|
|
Bernhard M. Wiedemann |
f98c64 |
Group: System/Libraries
|
|
Bernhard M. Wiedemann |
f98c64 |
Requires: %{name} >= %{version}
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%description -n libKF5AkonadiMime5
|
|
|
50b655 |
This package contains the core libraries needed for the correct parsing of email
|
|
|
50b655 |
messages.
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%package -n akonadi-plugin-mime
|
|
Bernhard M. Wiedemann |
f98c64 |
Summary: MIME email parser for KDE PIM - runtime plugins
|
|
Bernhard M. Wiedemann |
f98c64 |
Group: System/Libraries
|
|
Bernhard M. Wiedemann |
f98c64 |
Requires: libKF5AkonadiMime5 >= %{version}
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%description -n akonadi-plugin-mime
|
|
|
50b655 |
This package provides plugins required by PIM applications read and write parsed
|
|
|
50b655 |
email data.
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%package devel
|
|
Bernhard M. Wiedemann |
f98c64 |
Summary: MIME email parser for KDE PIM - development files
|
|
Bernhard M. Wiedemann |
f98c64 |
Group: Development/Libraries/KDE
|
|
Bernhard M. Wiedemann |
f98c64 |
Requires: libKF5AkonadiMime5 = %{version}
|
|
Bernhard M. Wiedemann |
033ad4 |
Requires: cmake(KF5Akonadi)
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%description devel
|
|
Bernhard M. Wiedemann |
f98c64 |
This package contains development headers needed to use MIME message parsing
|
|
Bernhard M. Wiedemann |
f98c64 |
in KDE PIM applications.
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%lang_package
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%prep
|
|
|
50b655 |
%autosetup -p1 -n akonadi-mime-%{version}
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%build
|
|
Bernhard M. Wiedemann |
f98c64 |
%cmake_kf5 -d build -- -DKF5_INCLUDE_INSTALL_DIR=%{_kf5_includedir}
|
|
Bernhard M. Wiedemann |
fbb607 |
%cmake_build
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%install
|
|
Bernhard M. Wiedemann |
f98c64 |
%kf5_makeinstall -C build
|
|
|
c80d2d |
%if %{with released}
|
|
Bernhard M. Wiedemann |
f98c64 |
%find_lang %{name} --with-man --all-name
|
|
Bernhard M. Wiedemann |
f98c64 |
%endif
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%post -n libKF5AkonadiMime5 -p /sbin/ldconfig
|
|
Bernhard M. Wiedemann |
f98c64 |
%postun -n libKF5AkonadiMime5 -p /sbin/ldconfig
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%files -n libKF5AkonadiMime5
|
|
Bernhard M. Wiedemann |
ad3c25 |
%license LICENSES/*
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_libdir}/libKF5AkonadiMime.so.*
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_debugdir}/*.categories
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%files
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_configkcfgdir}/specialmailcollections.kcfg
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_mkspecsdir}/qt_AkonadiMime.pri
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_sharedir}/mime/packages/x-vnd.kde.contactgroup.xml
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%files -n akonadi-plugin-mime
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_plugindir}/akonadi_serializer_mail.so
|
|
Bernhard M. Wiedemann |
f98c64 |
%dir %{_kf5_sharedir}/akonadi
|
|
Bernhard M. Wiedemann |
f98c64 |
%dir %{_kf5_sharedir}/akonadi/plugins
|
|
Bernhard M. Wiedemann |
f98c64 |
%dir %{_kf5_sharedir}/akonadi/plugins/serializer
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_sharedir}/akonadi/plugins/serializer/akonadi_serializer_mail.desktop
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%files devel
|
|
|
50b655 |
%{_kf5_cmakedir}/KF5AkonadiMime/
|
|
|
8d013e |
%{_kf5_includedir}/AkonadiMime/
|
|
Bernhard M. Wiedemann |
f98c64 |
%{_kf5_libdir}/libKF5AkonadiMime.so
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
|
c80d2d |
%if %{with released}
|
|
Bernhard M. Wiedemann |
f98c64 |
%files lang -f %{name}.lang
|
|
Bernhard M. Wiedemann |
f98c64 |
%endif
|
|
Bernhard M. Wiedemann |
f98c64 |
|
|
Bernhard M. Wiedemann |
f98c64 |
%changelog
|