[packages/ka6-kdiamond] - updated to 25.12.2
witekfl
witekfl at pld-linux.org
Thu Feb 5 18:51:24 CET 2026
commit 03e1de519839ddeb87ea9d87749212b88180d0cf
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Feb 5 18:51:20 2026 +0100
- updated to 25.12.2
ka6-kdiamond.spec | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
---
diff --git a/ka6-kdiamond.spec b/ka6-kdiamond.spec
index 31e7979..3814f04 100644
--- a/ka6-kdiamond.spec
+++ b/ka6-kdiamond.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.94.0
%define qtver 5.15.2
%define kaname kdiamond
Summary: kdiamond
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: 5f2c7885f320245b6f57f59bb469db03
+# Source0-md5: 1be3b8971414ab4e2bb66812f467a653
URL: http://www.kde.org/
BuildRequires: Qt6Core-devel >= %{qtver}
BuildRequires: Qt6Gui-devel >= 5.11.1
@@ -40,7 +40,7 @@ BuildRequires: rpmbuild(macros) >= 1.164
BuildRequires: shared-mime-info
BuildRequires: tar >= 1:1.22
BuildRequires: xz
-Requires(post,postun): desktop-file-utils
+Requires: %{name}-data = %{version}-%{release}
%requires_eq_to Qt6Core Qt6Core-devel
Obsoletes: ka5-%{kaname} < %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -53,6 +53,19 @@ build lines of three similar diamonds.
KDiamond to jednoosobowa gra logiczna. Celem gry jest zbudowanie linii
z trzech podobnych diamentów.
+%package data
+Summary: Data files for %{kaname}
+Summary(pl.UTF-8): Dane dla %{kaname}
+Group: X11/Applications/Games
+Requires(post,postun): desktop-file-utils
+BuildArch: noarch
+
+%description data
+Data files for %{kaname}.
+
+%description data -l pl.UTF-8
+Dane dla %{kaname}.
+
%prep
%setup -q -n %{kaname}-%{version}
@@ -81,16 +94,19 @@ rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/lt
%clean
rm -rf $RPM_BUILD_ROOT
-%post
+%post data
%update_desktop_database_post
-%postun
+%postun data
%update_desktop_database_postun
-%files -f %{kaname}.lang
+%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/kdiamond
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
%{_desktopdir}/org.kde.kdiamond.desktop
%{_iconsdir}/hicolor/*x*/apps/*.png
%{_datadir}/kdiamond
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kdiamond.git/commitdiff/03e1de519839ddeb87ea9d87749212b88180d0cf
More information about the pld-cvs-commit
mailing list