%define majver %(echo %version | cut -d. -f1-2) Name: tokodon Version: 23.08.0 Release: 1mamba Summary: A modern Mastodon client Group: Graphical Desktop/Applications/Internet Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/tokodon-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libQt5WebSockets-devel BuildRequires: libX11-devel BuildRequires: libgcc BuildRequires: libkauth-devel BuildRequires: libkcodecs-devel BuildRequires: libkcompletion-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkdbusaddons-devel BuildRequires: libki18n-devel BuildRequires: libkio-devel BuildRequires: libkirigami2-devel BuildRequires: libkjobwidgets-devel BuildRequires: libknotifications-devel BuildRequires: libkservice-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwindowsystem-devel BuildRequires: libmpv-devel BuildRequires: libqtkeychain-devel BuildRequires: libsolid-devel BuildRequires: libstdc++6-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtquickcontrols2-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules %description A modern Mastodon client. %debug_package %prep %setup -q %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}5_qt.lang %defattr(-,root,root) %{_bindir}/tokodon %{_datadir}/applications/org.kde.tokodon.desktop %{_datadir}/knotifications5/tokodon.notifyrc %{_datadir}/metainfo/org.kde.tokodon.appdata.xml %{_datadir}/qlogging-categories5/tokodon.categories %{_datadir}/icons/hicolor/scalable/apps/org.kde.tokodon.svg %doc LICENSES %changelog * Sun Aug 27 2023 Silvan Calarco 23.08.0-1mamba - package created using the webbuild interface