[packages/ka6-kshisen] - updated to 24.02.0
witekfl
witekfl at pld-linux.org
Mon Mar 4 18:32:06 CET 2024
commit 13acfe127502cfa943513aab576c0d207ba6319b
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 4 18:31:57 2024 +0100
- updated to 24.02.0
ka6-kshisen.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 85 insertions(+)
---
diff --git a/ka6-kshisen.spec b/ka6-kshisen.spec
new file mode 100644
index 0000000..ac7cf90
--- /dev/null
+++ b/ka6-kshisen.spec
@@ -0,0 +1,85 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 24.02.0
+%define kframever 5.94.0
+%define qtver 5.15.2
+%define kaname kshisen
+Summary: kshisen
+Name: ka6-%{kaname}
+Version: 24.02.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Applications/Games
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 825138e0b5c45d6bf51770ff842aaea8
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel
+BuildRequires: Qt6Qml-devel >= 5.11.1
+BuildRequires: Qt6Quick-devel >= 5.11.1
+BuildRequires: Qt6Test-devel
+BuildRequires: gettext-devel
+BuildRequires: ka6-libkdegames-devel >= %{kdeappsver}
+BuildRequires: ka6-libkmahjongg-devel >= %{kdeappsver}
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-kconfig-devel >= %{kframever}
+BuildRequires: kf6-kcrash-devel >= %{kframever}
+BuildRequires: kf6-kdbusaddons-devel >= %{kframever}
+BuildRequires: kf6-kdoctools-devel >= %{kframever}
+BuildRequires: kf6-kxmlgui-devel >= %{kframever}
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KShisen is a solitaire-like game played using the standard set of
+Mahjong tiles. Unlike Mahjong however, KShisen has only one layer of
+scrambled tiles.
+
+%description -l pl.UTF-8
+KShisen jest grą jak pasjans graną przy użyciu kafelków Mahjonga.
+W odróżnieniu do Mahjonga, KShisen ma tylko jeden poziom wymieszanych
+kafelków.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kshisen
+%{_desktopdir}/org.kde.kshisen.desktop
+%{_datadir}/config.kcfg/kshisen.kcfg
+%{_iconsdir}/hicolor/*x*/apps/kshisen.png
+%{_datadir}/metainfo/org.kde.kshisen.appdata.xml
+%dir %{_datadir}/sounds/kshisen
+%{_datadir}/sounds/kshisen/tile-fall-tile.ogg
+%{_datadir}/sounds/kshisen/tile-touch.ogg
+%{_datadir}/qlogging-categories6/kshisen.categories
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kshisen.git/commitdiff/13acfe127502cfa943513aab576c0d207ba6319b
More information about the pld-cvs-commit
mailing list