From 900ccd229280f758664683d8488a6c9ea571abc8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:27:39 +0100 Subject: [PATCH] update to 18.12.0 [release 18.12.0-1mamba;Thu Jan 10 2019] --- kajongg.spec | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/kajongg.spec b/kajongg.spec index 1f3fb77..1504b6f 100644 --- a/kajongg.spec +++ b/kajongg.spec @@ -1,5 +1,5 @@ Name: kajongg -Version: 4.14.3 +Version: 18.12.0 Release: 1mamba Summary: The ancient Chinese board game for 4 players Group: Graphical Desktop/Applications/Games @@ -7,14 +7,14 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/kajongg-%{version}.tar.xz +Source: https://download.kde.org/stable/applications/%{version}/src/kajongg-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END -BuildRequires: PyKDE4-devel -BuildRequires: python-twisted +BuildRequires: python36-devel +BuildRequires: python-twisted-py36 BuildRequires: cmake -Requires: PyKDE4 +Requires: python-twisted-py36 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -26,30 +26,46 @@ The ancient Chinese board game for 4 players. %setup -q %build -%cmake -d build +%cmake_kde5 -d build \ + -DPYTHON_EXECUTABLE=%{__python36} + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files -f %{name}5_qt.lang %defattr(-,root,root) -%{_bindir}/kajongg -%{_bindir}/kajonggserver -%{_datadir}/applications/kde4/kajongg.desktop -%dir %{_datadir}/apps/kajongg -%{_datadir}/apps/kajongg/* +%{_datadir}/applications/org.kde.kajongg.desktop +%{_datadir}/metainfo/org.kde.kajongg.appdata.xml +%dir %{_datadir}/kajongg +%{_datadir}/kajongg/* %{_datadir}/doc/HTML/en/kajongg/* %{_datadir}/icons/hicolor/*/apps/kajongg.png %{_datadir}/icons/hicolor/scalable/actions/games-kajongg-law.svgz %{_datadir}/icons/hicolor/scalable/apps/kajongg.svgz +%lang(de) %{_datadir}/doc/HTML/de/kajongg +%lang(es) %{_datadir}/doc/HTML/es/kajongg +%lang(et) %{_datadir}/doc/HTML/et/kajongg +%lang(gl) %{_datadir}/doc/HTML/gl/kajongg +%lang(it) %{_datadir}/doc/HTML/it/kajongg +%lang(nl) %{_datadir}/doc/HTML/nl/kajongg +%lang(pt) %{_datadir}/doc/HTML/pt/kajongg +%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kajongg +%lang(sv) %{_datadir}/doc/HTML/sv/kajongg +%lang(uk) %{_datadir}/doc/HTML/uk/kajongg %doc COPYING COPYING.DOC %changelog +* Thu Jan 10 2019 Silvan Calarco 18.12.0-1mamba +- update to 18.12.0 + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist