|
Bernhard M. Wiedemann |
b4627f |
#
|
|
Bernhard M. Wiedemann |
b4627f |
# spec file for package akonadi-notes
|
|
Bernhard M. Wiedemann |
b4627f |
#
|
|
|
be0193 |
# Copyright (c) 2024 SUSE LLC
|
|
Bernhard M. Wiedemann |
b4627f |
#
|
|
Bernhard M. Wiedemann |
b4627f |
# All modifications and additions to the file contributed by third parties
|
|
Bernhard M. Wiedemann |
b4627f |
# remain the property of their copyright owners, unless otherwise agreed
|
|
Bernhard M. Wiedemann |
b4627f |
# upon. The license for this file, and modifications and additions to the
|
|
Bernhard M. Wiedemann |
b4627f |
# file, is the same license as for the pristine package itself (unless the
|
|
Bernhard M. Wiedemann |
b4627f |
# license for the pristine package is not an Open Source License, in which
|
|
Bernhard M. Wiedemann |
b4627f |
# case the license is the MIT License). An "Open Source License" is a
|
|
Bernhard M. Wiedemann |
b4627f |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
Bernhard M. Wiedemann |
b4627f |
# published by the Open Source Initiative.
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
Bernhard M. Wiedemann |
b4627f |
#
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
|
a6a712 |
%define kf6_version 6.0.0
|
|
|
be0193 |
%define qt6_version 6.6.0
|
|
|
a6a712 |
%define kpim6_version 6.0.2
|
|
|
be0193 |
|
|
|
87bed5 |
%bcond_without released
|
|
Bernhard M. Wiedemann |
b4627f |
Name: akonadi-notes
|
|
|
a6a712 |
Version: 24.02.2
|
|
Bernhard M. Wiedemann |
b4627f |
Release: 0
|
|
Bernhard M. Wiedemann |
b4627f |
Summary: Library to implement management of notes in Akonadi
|
|
Bernhard M. Wiedemann |
b4627f |
License: LGPL-2.1-or-later
|
|
Bernhard M. Wiedemann |
b4627f |
URL: https://www.kde.org
|
|
|
be0193 |
Source: %{name}-%{version}.tar.xz
|
|
|
87bed5 |
%if %{with released}
|
|
|
be0193 |
Source1: %{name}-%{version}.tar.xz.sig
|
|
|
6340e8 |
Source2: applications.keyring
|
|
|
6340e8 |
%endif
|
|
|
be0193 |
BuildRequires: doxygen
|
|
|
be0193 |
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
|
|
be0193 |
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
|
|
be0193 |
BuildRequires: cmake(KPim6Mime) >= %{kpim6_version}
|
|
|
be0193 |
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
|
|
be0193 |
BuildRequires: cmake(Qt6Xml) >= %{qt6_version}
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%description
|
|
Bernhard M. Wiedemann |
b4627f |
Akonadi Notes is a library that bridges the type-agnostic API of
|
|
Bernhard M. Wiedemann |
b4627f |
the Akonadi client libraries and the domain-specific KMime library. It provides
|
|
Bernhard M. Wiedemann |
b4627f |
a helper class for note attachments and for wrapping notes into KMime::Message
|
|
Bernhard M. Wiedemann |
b4627f |
objects.
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
|
be0193 |
%package -n libKPim6AkonadiNotes6
|
|
Bernhard M. Wiedemann |
b4627f |
Summary: Library to implement management of notes in Akonadi
|
|
|
be0193 |
Provides: akonadi-notes >= %{version}
|
|
|
612517 |
Obsoletes: akonadi-notes-lang <= 23.04.0
|
|
|
4b0c52 |
Obsoletes: libKF5AkonadiNotes5 < %{version}
|
|
|
4b0c52 |
Obsoletes: libKPim5AkonadiNotes5 < %{version}
|
|
|
be0193 |
Obsoletes: libKPim5AkonadiNotes5-lang < %{version}
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
|
be0193 |
%description -n libKPim6AkonadiNotes6
|
|
Bernhard M. Wiedemann |
b4627f |
Akonadi Notes is a library that bridges the type-agnostic API of
|
|
Bernhard M. Wiedemann |
b4627f |
the Akonadi client libraries and the domain-specific KMime library. It provides
|
|
Bernhard M. Wiedemann |
b4627f |
a helper class for note attachments and for wrapping notes into KMime::Message
|
|
Bernhard M. Wiedemann |
b4627f |
objects.
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%package devel
|
|
Bernhard M. Wiedemann |
b4627f |
Summary: Build environment for akonadi-notes
|
|
|
be0193 |
Requires: libKPim6AkonadiNotes6 = %{version}
|
|
|
be0193 |
Requires: cmake(KPim6Mime) >= %{kpim6_version}
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%description devel
|
|
Bernhard M. Wiedemann |
b4627f |
This package contains the development files needed to use the akonadi-notes
|
|
Bernhard M. Wiedemann |
b4627f |
library in other applications.
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
|
be0193 |
%lang_package -n libKPim6AkonadiNotes6
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%prep
|
|
|
6340e8 |
%autosetup -p1 -n akonadi-notes-%{version}
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%build
|
|
|
be0193 |
%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
|
|
|
612517 |
|
|
|
be0193 |
%kf6_build
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%install
|
|
|
be0193 |
%kf6_install
|
|
|
b8d8d8 |
|
|
|
be0193 |
%find_lang %{name} --all-name
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
|
be0193 |
%ldconfig_scriptlets -n libKPim6AkonadiNotes6
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
|
be0193 |
%files -n libKPim6AkonadiNotes6
|
|
Bernhard M. Wiedemann |
c249ac |
%license LICENSES/*
|
|
|
be0193 |
%{_kf6_libdir}/libKPim6AkonadiNotes.so.*
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%files devel
|
|
|
be0193 |
%doc %{_kf6_qchdir}/KPim6AkonadiNotes.*
|
|
|
be0193 |
%{_kf6_cmakedir}/KPim6AkonadiNotes/
|
|
|
be0193 |
%{_includedir}/KPim6/AkonadiNotes/
|
|
|
be0193 |
%{_kf6_libdir}/libKPim6AkonadiNotes.so
|
|
|
be0193 |
|
|
|
be0193 |
%files -n libKPim6AkonadiNotes6-lang -f %{name}.lang
|
|
Bernhard M. Wiedemann |
b4627f |
|
|
Bernhard M. Wiedemann |
b4627f |
%changelog
|