5f0a453
%global kf5_min_version 5.96.0
a18dc2c
d9e356c
Name:           kalendar
d9e356c
%global uuid    org.kde.%{name}
a18dc2c
%global suuid   %{uuid}ac
f2ed7a1
Version:        22.12.0
69158d1
Release:        1%{?dist}
d9e356c
Summary:        A calendar application using Akonadi to sync with external services
d9e356c
License:        GPLv3+
d9e356c
URL:            https://invent.kde.org/pim/%{name}
9f15d90
Source0:        https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
d9e356c
Source1:        %{name}.rpmlintrc
f76804c
0635ac5
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
0635ac5
5f0a453
# Upstream patches
5f0a453
5f0a453
d9e356c
BuildRequires:  desktop-file-utils
d9e356c
BuildRequires:  libappstream-glib
d9e356c
d9e356c
BuildRequires:  gcc-c++
d9e356c
BuildRequires:  extra-cmake-modules >= %{kf5_min_version}
d9e356c
BuildRequires:  kf5-rpm-macros      >= %{kf5_min_version}
d9e356c
Justin Zobel ad92efc
BuildRequires:  cmake(QGpgme)
d9e356c
BuildRequires:  cmake(Qt5Core)
d9e356c
BuildRequires:  cmake(Qt5Gui)
d9e356c
BuildRequires:  cmake(Qt5Qml)
d9e356c
BuildRequires:  cmake(Qt5QuickControls2)
d9e356c
BuildRequires:  cmake(Qt5Svg)
d9e356c
BuildRequires:  cmake(Qt5Location)
d9e356c
Justin Zobel a9c26af
BuildRequires:  cmake(KF5CalendarCore)     >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5ConfigWidgets)    >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5Contacts)         >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5CoreAddons)       >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5DBusAddons)       >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5I18n)             >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5ItemModels)       >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5Kirigami2)        >= %{kf5_min_version}
Justin Zobel ddb15c6
BuildRequires:  cmake(KF5Libkdepim)
Justin Zobel cedb9fa
BuildRequires:  cmake(KF5MailCommon)
Justin Zobel a9c26af
BuildRequires:  cmake(KF5People)           >= %{kf5_min_version}
Justin Zobel cedb9fa
BuildRequires:  cmake(KF5PimCommonAkonadi)
Justin Zobel a9c26af
BuildRequires:  cmake(KF5Service)          >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5WindowSystem)     >= %{kf5_min_version}
Justin Zobel a9c26af
BuildRequires:  cmake(KF5XmlGui)           >= %{kf5_min_version}
d9e356c
0f7eb39
BuildRequires:  cmake(KF5Akonadi)
0f7eb39
BuildRequires:  cmake(KF5AkonadiContact)
5f0a453
BuildRequires:  cmake(KF5CalendarSupport)
5f0a453
BuildRequires:  cmake(KF5EventViews)
0f7eb39
BuildRequires:  cmake(KF5GrantleeTheme)
80b052f
BuildRequires:  cmake(Grantlee5)
9dd629f
BuildRequires:  qqc2-desktop-style
9dd629f
d9e356c
d9e356c
BuildRequires:  gettext-devel
d9e356c
d9e356c
Requires:       kf5-kirigami2-addons-treeview
d9e356c
Requires:       akonadi-calendar-tools
d9e356c
Requires:       kdepim-addons
d9e356c
Requires:       kdepim-runtime
5f0a453
Requires:       kf5-calendarsupport
d9e356c
Requires:       kf5-kirigami2
d9e356c
Requires:       kf5-kirigami2-addons
d9e356c
Requires:       hicolor-icon-theme
d9e356c
d9e356c
%description
d9e356c
Kalendar is a Kirigami-based calendar application that uses Akonadi. It lets
d9e356c
you add, edit and delete events from local and remote accounts of your choice,
d9e356c
while keeping changes syncronised across your Plasma desktop or phone.
d9e356c
d9e356c
d9e356c
%prep
9dd629f
%autosetup -p1
d9e356c
d9e356c
d9e356c
%build
d9e356c
%cmake_kf5
d9e356c
%cmake_build
d9e356c
d9e356c
d9e356c
%install
d9e356c
%cmake_install
d9e356c
%find_lang %{name}
f4e62a0
%find_lang plasma_applet_org.kde.kalendar.contact
d9e356c
d9e356c
d9e356c
%check
d9e356c
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/%{uuid}.desktop
d9e356c
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/%{uuid}.appdata.xml
d9e356c
d9e356c
f4e62a0
%files -f %{name}.lang -f plasma_applet_org.kde.kalendar.contact.lang
d9e356c
%license LICENSES/*.txt
d9e356c
%doc README.md
d9e356c
%{_kf5_bindir}/%{name}
d9e356c
%{_kf5_datadir}/applications/%{uuid}.desktop
d9e356c
%{_kf5_datadir}/metainfo/%{uuid}.appdata.xml
d9e356c
%{_kf5_datadir}/icons/hicolor/scalable/apps/%{uuid}.svg
d83eeb1
%{_kf5_datadir}/qlogging-categories5/%{name}.categories
f4e62a0
%{_kf5_datadir}/qlogging-categories5/%{name}.contact.categories
f4e62a0
%{_kf5_datadir}/qlogging-categories5/akonadi.quick.categories
f4e62a0
%{_qt5_qmldir}/org/kde/akonadi
f4e62a0
%{_qt5_qmldir}/org/kde/kalendar
d9e356c
d9e356c
0635ac5
a18dc2c
%changelog
f2ed7a1
* Mon Dec 19 2022 Marc Deop <marcdeop@fedoraproject.org> - 22.12.0-1
f2ed7a1
- 22.12.0
f2ed7a1
627e564
* Fri Nov 04 2022 Marc Deop i Argemí (Private) <marc@marcdeop.com> - 22.08.3-1
627e564
- 22.08.3
627e564
69158d1
* Fri Oct 14 2022 Marc Deop <marcdeop@fedoraproject.org> - 22.08.2-1
69158d1
- 22.08.2
69158d1
5f0a453
* Wed Oct 12 2022 Marc Deop marcdeop@fedoraproject.org - 22.08.1-2
5f0a453
- Backport upstream patch
5f0a453
f1733bc
* Thu Sep 08 2022 Marc Deop <marcdeop@fedoraproject.org> - 22.08.1-1
f1733bc
- 22.08.1
f1733bc
f4e62a0
* Fri Aug 19 2022 Marc Deop <marcdeop@fedoraproject.org> - 22.08.0-1
f4e62a0
- 22.08.0
f4e62a0
789a5b8
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 22.04.3-2
789a5b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
789a5b8
0e00d8b
* Tue Jul 19 2022 Than Ngo <than@redhat.com> - 22.04.3-1
0e00d8b
- 22.04.3
0e00d8b
Justin Zobel 7db1ddd
* Sun May 15 2022 Justin Zobel <justin@1707.io> - 22.04.1-1
Justin Zobel 7db1ddd
- Update to 22.04.1
Justin Zobel 7db1ddd
9f15d90
* Mon Apr 25 2022 Marc Deop <marcdeop@fedoraproject.org> - 22.04.0-1
9f15d90
- 22.04.0
9f15d90
f76804c
* Mon Feb 21 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 1.0.0-2
f76804c
- Kalendar html escape partial fix patch added.
f76804c
9dd629f
* Sun Feb 13 2022 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 1.0.0-1
9dd629f
- Version 1.0.0
9dd629f
8d64720
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
8d64720
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
8d64720
1f77894
* Sun Dec 26 2021 Justin Zobel <justin@1707.io> - 0.4.0-1
c7808e9
- Verison bump to 0.4.0
c7808e9
a18dc2c
* Thu Dec 02 2021 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 0.3.1-1
a18dc2c
- Version bump to 0.3.1
0635ac5
d83eeb1
* Tue Nov 30 2021 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 0.2.1-2
d83eeb1
- ExclusiveArch : s390 and ppc64le
d83eeb1
d9e356c
* Tue Nov 30 2021 Onuralp Sezer <thunderbirdtr@fedoraproject.org> - 0.2.1-1
d9e356c
- initial upload and version 0.2.1
d9e356c
- Fixes rhbz#2020883