Name: tokodon
Version: 22.02
Release: 1%{?dist}
License: GPLv3 and CC0 and BSD and LGPLv2+ and GPLv3+ and GPLv2
# For a breakdown of the licensing, see PACKAGE-LICENSING
Summary: Kirigami-based mastodon client
Url: https://invent.kde.org/network/tokodon
Source0: https://download.kde.org/stable/plasma-mobile/%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: appstream
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Quick)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5WebSockets)
BuildRequires: cmake(Qt5Keychain)
BuildRequires: cmake(KF5Kirigami2)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5QQC2DesktopStyle)
Requires: kf5-kirigami2
Requires: hicolor-icon-theme
%description
Tokodon is a Mastodon client for Plasma and Plasma Mobile.
%prep
%autosetup -n %{name}-%{version}
%build
%cmake_kf5
%cmake_build
%install
%cmake_install
%find_lang %{name}
%check
appstream-util validate-relax --nonet %{buildroot}%{_kf5_datadir}/metainfo/org.kde.%{name}.appdata.xml
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop
%files -f %{name}.lang
%doc README.md
%license LICENSES/
%{_kf5_bindir}/%{name}
%{_kf5_datadir}/applications/org.kde.%{name}.desktop
%{_kf5_datadir}/icons/hicolor/scalable/apps/org.kde.%{name}.svg
%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml
%changelog
* Sat Apr 16 2022 Onuralp SEZER <thunderbirdtr@fedoraproject.org> - 22.02-1
- 22.02
* Sat Jan 15 2022 Justin Zobel <justin@1707.io> - 21.12-1
- Update to 21.12
* Thu Nov 04 2021 Onuralp SEZER <thunderbirdtr@fedoraproject.org> - 21.08-1
- initial version tokodon