[packages/ka6-kpat] - updated to 25.12.2
witekfl
witekfl at pld-linux.org
Thu Feb 5 18:56:13 CET 2026
commit d882149266efc34cebcd2becccd0c49e4b3d7682
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Feb 5 18:56:10 2026 +0100
- updated to 25.12.2
ka6-kpat.spec | 34 +++++++++++++++++++++++++---------
1 file changed, 25 insertions(+), 9 deletions(-)
---
diff --git a/ka6-kpat.spec b/ka6-kpat.spec
index 1140976..3ddb14d 100644
--- a/ka6-kpat.spec
+++ b/ka6-kpat.spec
@@ -1,18 +1,18 @@
#
# Conditional build:
%bcond_with tests # build with tests
-%define kdeappsver 25.12.1
+%define kdeappsver 25.12.2
%define kframever 5.91.0
%define qtver 5.15.2
%define kaname kpat
Summary: kpat
Name: ka6-%{kaname}
-Version: 25.12.1
-Release: 2
+Version: 25.12.2
+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: d63d55bb3485a18ceed94c60012cf181
+# Source0-md5: 2cbe959ecd850150c94b3813b5280124
URL: http://www.kde.org/
BuildRequires: Qt6Core-devel >= %{qtver}
BuildRequires: Qt6Svg-devel >= %{qtver}
@@ -41,8 +41,7 @@ BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
-Requires(post,postun): desktop-file-utils
-Requires(post,postun): gtk-update-icon-cache
+Requires: %{name}-data = %{version}-%{release}
Requires: Qt6Core >= %{qtver}
Requires: Qt6Svg >= %{qtver}
Requires: Qt6Widgets >= %{qtver}
@@ -75,6 +74,20 @@ KPat (znany również jako KPatience) jest odprężającą grą w układanie
kart. Aby wygrać grę, gracz musi ułożyć pojedynczą talię kart w
odpowiedniej kolejności względem siebie.
+%package data
+Summary: Data files for %{kaname}
+Summary(pl.UTF-8): Dane dla %{kaname}
+Group: X11/Applications/Games
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
+BuildArch: noarch
+
+%description data
+Data files for %{kaname}.
+
+%description data -l pl.UTF-8
+Dane dla %{kaname}.
+
%prep
%setup -q -n %{kaname}-%{version}
@@ -102,20 +115,23 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
-%post
+%post data
%update_mime_database
%update_icon_cache hicolor
%update_desktop_database
-%postun
+%postun data
%update_mime_database
%update_icon_cache hicolor
%update_desktop_database
-%files -f %{kaname}.lang
+%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/kpat
%{_libdir}/libkcardgame.so
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
%{_desktopdir}/org.kde.kpat.desktop
%{_datadir}/config.kcfg/kpat.kcfg
%{_iconsdir}/hicolor/*/apps/kpat.png
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kpat.git/commitdiff/d882149266efc34cebcd2becccd0c49e4b3d7682
More information about the pld-cvs-commit
mailing list