KDE release gear 24.12.1
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kate?expand=0&rev=240
This commit is contained in:
commit
adf727e185
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
46
0001-Defuse-root-block.patch
Normal file
46
0001-Defuse-root-block.patch
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
From f1b20995d1fe309b32b090ef8667f2de2f1d9d02 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Luca Beltrame <lbeltrame@kde.org>
|
||||||
|
Date: Sun, 26 Feb 2023 22:27:06 +0100
|
||||||
|
Subject: [PATCH] Defuse root block
|
||||||
|
|
||||||
|
While the main point is correct as any application running in the same
|
||||||
|
X session (not sandboxed) can use kate's capability to open a console,
|
||||||
|
we allow (even encourage) running YaST on X11 as root.
|
||||||
|
That way it's only an impact on usability.
|
||||||
|
---
|
||||||
|
apps/lib/kateapp.cpp | 19 ++-----------------
|
||||||
|
1 file changed, 2 insertions(+), 17 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/apps/lib/kateapp.cpp b/apps/lib/kateapp.cpp
|
||||||
|
index 2d1a66157..85079c356 100644
|
||||||
|
--- a/apps/lib/kateapp.cpp
|
||||||
|
+++ b/apps/lib/kateapp.cpp
|
||||||
|
@@ -87,23 +87,8 @@ void KateApp::initPreApplicationCreation()
|
||||||
|
#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
|
||||||
|
// Prohibit using sudo or kdesu (but allow using the root user directly)
|
||||||
|
if (getuid() == 0) {
|
||||||
|
- setlocale(LC_ALL, "");
|
||||||
|
- bindtextdomain("kate", KDE_INSTALL_FULL_LOCALEDIR);
|
||||||
|
- if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
|
||||||
|
- auto message = kli18n(
|
||||||
|
- "Running this editor with sudo can cause bugs and expose you to security vulnerabilities. "
|
||||||
|
- "Instead use this editor normally and you will be prompted for elevated privileges when "
|
||||||
|
- "saving documents if needed.");
|
||||||
|
- std::cout << dgettext("kate", message.untranslatedText()) << std::endl;
|
||||||
|
- exit(EXIT_FAILURE);
|
||||||
|
- } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
|
||||||
|
- auto message = kli18n(
|
||||||
|
- "Running this editor with kdesu can cause bugs and expose you to security vulnerabilities. "
|
||||||
|
- "Instead use this editor normally and you will be prompted for elevated privileges when "
|
||||||
|
- "saving documents if needed.");
|
||||||
|
- std::cout << dgettext("kate", message.untranslatedText()) << std::endl;
|
||||||
|
- exit(EXIT_FAILURE);
|
||||||
|
- }
|
||||||
|
+ std::cout << "THIS IS POTENTIALLY INSECURE!\nTo edit files as root please use:" << std::endl;
|
||||||
|
+ std::cout << "SUDO_EDITOR=kwrite sudoedit <file>" << std::endl;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
BIN
applications.keyring
Normal file
BIN
applications.keyring
Normal file
Binary file not shown.
3
kate-24.05.2.tar.xz
Normal file
3
kate-24.05.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:774f08b7d53db0b282164e930a0e0cd4709e75938dcb8b3cb430fedf0d5db020
|
||||||
|
size 8149132
|
16
kate-24.05.2.tar.xz.sig
Normal file
16
kate-24.05.2.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDmLoACgkQu0YzUNbv
|
||||||
|
Me/TIA/+OfXVmm4tlFpuk7gFfi+31yT8cqtghCog6VO89yX6VZhTinq63Jh1sA1T
|
||||||
|
3dqfEOcizQPmR/I3Rg3TtZBAk9qj7MaCHb0tyuoAghNUMgvK7EWJFe9f8pO77+7z
|
||||||
|
OVwT9uA4haaI1BtemXAXpaUJ9+yzIbLzh6w0XUgN3ZAnhIzRjH+CY01uPJKPWJtX
|
||||||
|
Id7ksThOFqjum7k/A3h1eHVQFtw90JvTLHU8g/CyXweRwWiwePOPE2+MP2xM9u+w
|
||||||
|
zifV/pAfLUnvoqnektqDGFD2bNq8PbM1cnRka7lBLuNPYMGA9F0jT3Wc4dRnIgY8
|
||||||
|
hOAEmnB+VS5e2MldU9vKVcjwRev5PyRhtHjm2ZSESmlFabfP/R6ufbADpwpBzs99
|
||||||
|
UeEMTl5QDQxZSqaQXBAC5MQpo1U1Vf5KraO7u5DLKiUhS39s6ce6wjSFj1Ia95b6
|
||||||
|
ku2LIkycGw+z/XqczheqXgJT5Xi+4E+0MYHAa29vayB97LQl90HCc9frpKI17TVB
|
||||||
|
7B1OSVuOTeOIJ21yZ8xEJ+AeJq5136RzqZFH4/Nz30NhnQNfVt/I5ncNpPtXrS93
|
||||||
|
Fw3XxKvcLlx9CXBJ77LJdqZNCLF1jqfL7khKY6+OGkOR6G4tdLMyHqoZZio537U5
|
||||||
|
/FIBMcH0iUZbl6wYq9h1M2EOj15lo5id8KhtSK+CexoRV0BGGT8=
|
||||||
|
=aJef
|
||||||
|
-----END PGP SIGNATURE-----
|
3
kate-24.08.0.tar.xz
Normal file
3
kate-24.08.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:85b20215e3ccfdbb1e615108a70673f1e6443ceca1948290eee3841a061173e9
|
||||||
|
size 8202144
|
16
kate-24.08.0.tar.xz.sig
Normal file
16
kate-24.08.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+3JAACgkQu0YzUNbv
|
||||||
|
Me8I6g/+ObO5pJk55mDaw2LWWmSx5IKsRlikqQo0AxVtbEZ+kMQUKevn02cL+fN6
|
||||||
|
RtuUE5MrqbxEFHfYg+wWI+cbvqdnu/dCnGdOVihu2GFsXb59XpF8MD+iY3bQwiWh
|
||||||
|
ogJI8VJlBLQ/wNaJjdbHB0oewMUY3t3IdzsxMIbth4BRYz5YCIWN1KEgB4nBmvnn
|
||||||
|
GJ/hlrdWlEQNMBMU99o8pW2CNdLb57jj32DSQk8KueajpLxgiQ6gB/Lir0MpxWL8
|
||||||
|
L8djG9ttGTJp6XBCK7J8h956h/csr/QdUQuT9zaUwsbumWBFXZgvPWSHpguv0JO8
|
||||||
|
4H1LSkcNTvAft0kdtFmt/b+IjcYDQ05e9yq0m/Em+fejY1IRCdm6qzGcCbdOfIGY
|
||||||
|
JDKTMiWZQp0Pq3PcLpcIwNr0SgnfU/EBRYpaQywEuNn5i3OLvTH0+2e3TiclYt+4
|
||||||
|
6RjWqCXdeb1hK25kl68BO98P7Ae+6J42udVQ+siOsaCVgLjx8QM52c98UpCf3/aE
|
||||||
|
1FIkBiP/2m/7p4vbhawpFXEA7kuASvluVpbc4WtBy9mcAdnPzzBiCmXdnx78KAdO
|
||||||
|
7l/uESd8Y6Tw8tOyfJTsI7kdo1YerHk0Y70yIUrIIMZiau2Z+m/6FZq+Exw/wi5T
|
||||||
|
WBUsasgQ2RtpT36kCX9Hvf4F6arRi4BiTO27CCXmv7gd8tf6GBo=
|
||||||
|
=xkqH
|
||||||
|
-----END PGP SIGNATURE-----
|
3
kate-24.08.1.tar.xz
Normal file
3
kate-24.08.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c10518b24386f1daf5f64723c25b3f4ed7e3446a70912abe5b6c965efd9b2dc6
|
||||||
|
size 8207264
|
16
kate-24.08.1.tar.xz.sig
Normal file
16
kate-24.08.1.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmbf+LAACgkQu0YzUNbv
|
||||||
|
Me+PMw/+KBf/zusWb108GWopUbaBJTM/JymhfyAoZpta5LeNpP6lB2XU0T4ESCS7
|
||||||
|
dgXndTdwf8ycJf92laxjCoLuRMMcHYYyE3I7Tgi1T7SDlYRIxXaIw/OL8R34ydVC
|
||||||
|
C0bYgGykGwSDm0/Z3D4CeUii6e3G5TwigqTA1kgcE6w1DdhXfQZvfYw6+L9GMTYk
|
||||||
|
7K++BHFNGSIC7mn5GrRuLBUjsBX6eZEz9+E0v0FcZupaak9990rzAnYyygPCuBVl
|
||||||
|
PL1LaPAlPcOcfImC+3QXXNCVQlBrh6UtK2b2JX1RDh2tCu53mxQiMtLNS2K7aLPG
|
||||||
|
SWHDs4A1ncujiDbRaLfO934rTAjGQwp5h+fV+DN6gD20/+W5BvnNO9TOyT7Pof5V
|
||||||
|
xM8gY+DbYSX1WrTnOyFQTekplKyh3X3GAxDaInZ1vj+VcrpRZPYP+8jaL1xNcBGf
|
||||||
|
Gip1xHVDc1i0SRTvblseG5djJfdBVvm3XYEh/aoLE+ypFJOgjeRKVo31kKygnVOj
|
||||||
|
wotrH25gy6lnctXhHvfCWQB4vm4VEQLbzQnYCQMftQhfK/NKQ6uLqXcNdNFDX+uF
|
||||||
|
+mxkeP8A3Nej/Vzky+B79cC2wxRZwlbF0gjbPy7XmJmbEJWW8LvOxIuIeuLlymS/
|
||||||
|
yLRSGj10VZ6RAdB/8+xuzeWd84cfsI2R76OatmzpSz4jnSOTWKg=
|
||||||
|
=k562
|
||||||
|
-----END PGP SIGNATURE-----
|
3
kate-24.08.3.tar.xz
Normal file
3
kate-24.08.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ccb656435efc1fde0ae4c2d93400a2c05660bf299e6411714b9042422c50d4f2
|
||||||
|
size 8248700
|
16
kate-24.08.3.tar.xz.sig
Normal file
16
kate-24.08.3.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmcpYHcACgkQu0YzUNbv
|
||||||
|
Me8LDxAAgdCboHio64mTUjxY4MNIvQpDUuYRbBvcHtZiGG3h0kPK6cYE3F3e+gzW
|
||||||
|
d3M4z0KUVYnos8MRYxNy09D9cZPZrPK9KY5aiplq2GzN0x+Ooln+nk8nzcvk1Azu
|
||||||
|
AtEE+bml2Tx1ZsI4EmxATYNC3tMNSjrxl8aN0kA4koluElPsP+NnTtufvXZfx7aX
|
||||||
|
DkwGrvJVaFtmpIfVb3LeqqgL7ecCpaUnuj5jNbx64JnRV4ie9RKmD3Y8qAtNrxWF
|
||||||
|
+Tkenu/Dc1FMQi92iGG9Dpz+/5YOcSVsLcWjbxsT3OkfraQHuCuERljHci0jT4oe
|
||||||
|
N4w+cEbDdiUrVhl1ZBY+5o9M4d91nxHdbAIxDmTP1TQmNx/I542NcF8myZdoujE0
|
||||||
|
HIctOk1SvqYma6nxtRALMqisIpt4SJ437lSdDRWPZrIIOmmUPjYCgFpk6DnIqnBl
|
||||||
|
lke6Ax2G8GEn9pyAJYV6gAetJnpUaoKBP7Pc0nTV9LDbbeU94Q25MB39WaY2YfEw
|
||||||
|
xu04bfjY8JvYyCVPVFwXQLZfj9APmJRdcRn+nnXPKYyWhhfsjbW1X7R5fdBWjoL9
|
||||||
|
LGMxw6kP3DOY9AYxW9TnGG3p0sK+GM2qX0hNPCJFTxZ1IQ/2fU8f/aMg/GSAAJQf
|
||||||
|
GwGW8F9KdhN+LnhuSBzXpmJj+4EVUclptMcaeT2RoaJIG9DhcZI=
|
||||||
|
=fc4T
|
||||||
|
-----END PGP SIGNATURE-----
|
3
kate-24.12.0.tar.xz
Normal file
3
kate-24.12.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a5926a0d85c69ca2cc34d87e567501e795e95050e16f896e39cd8cac4ced2348
|
||||||
|
size 8300640
|
16
kate-24.12.0.tar.xz.sig
Normal file
16
kate-24.12.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmdSPxwACgkQu0YzUNbv
|
||||||
|
Me/LqA//Wlhk2y0CsAnObSpuc1UZhx0/jlVYfhvCrqOp5rnpQfOC/7ggDa6exB17
|
||||||
|
WxhexoSe9TQNrvzc2tTTNoBHmda7P3hsgseQm5BvedESguh4kEL2eVmr6887kYK5
|
||||||
|
Pm8WP1jmJVDSheq30knMO/rLdIBr647yuDIJr1QtXb0S9S5aZJwQ4N9F/avjIoHz
|
||||||
|
RsRtYm9+aCsnmJxMRtYVmnY2jDydtyNwC343dfJ9O88fFQUvr/5/2P5vpyp+YCR/
|
||||||
|
FzuETsuHUQnHPXE0XmbH3YJMIP0hhhWVEl4cWsKnhYnccy3jhTdFnnTR5bbsXafG
|
||||||
|
od/lHZbCFZ6LBLoWUl7ZGP9CyWW4kBmtHmTHND2DeO+7pFhGPv9XTsXA8d6QRhZH
|
||||||
|
dX72YWbt1iKp62mBnOfcAVH800+J1cT3SxSeiflJly48nDqwgtvEgue02E78ngVF
|
||||||
|
QT3d01QyJj6jEQrR8YTPGqO+mzT2eCvxTWm5tde/jlTUENGf3xd+0YflGgxS9tQo
|
||||||
|
VBYBrzhCPvg633OodTns6wBvtkwxJImV+SYSCoKXA7MN8ucA9L+a3h7SkTB2UKoL
|
||||||
|
JH6ElgbqCoH33IN68OnOAul1WmxOInBL7Bwp5tmiZOyKUbg01+dsD0F5ZyYN5myl
|
||||||
|
w3Uahne5L57eK19VvKWlto9TsX7jqBQlmjyEVtwFclECrNPuiBE=
|
||||||
|
=q1GY
|
||||||
|
-----END PGP SIGNATURE-----
|
3
kate-24.12.1.tar.xz
Normal file
3
kate-24.12.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ec4830a8a2ade45e9a90a219d8e1656e408d229c2005de109e69a5e27a0bfaba
|
||||||
|
size 8303660
|
16
kate-24.12.1.tar.xz.sig
Normal file
16
kate-24.12.1.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmd8zncACgkQu0YzUNbv
|
||||||
|
Me9Rvw//YOGayduZmicX8Li02dobmifisegNTJfD9ndVkCs208TEQqnKmOXInYnM
|
||||||
|
VPw6u58mnUrpHZxd2U4mCDvOeUd5PN+yxWY06y1f+gucmzzvix+7NRZhk7QVND7N
|
||||||
|
mVKv0vqjiNB2lK6SJwYnwjziHZalmDkUvql2Vr70/e4rlk/5ZMphdVBTNZ37kOm0
|
||||||
|
9CTdV3J8dWRtVtLOabU5wbAoKQ9y1ck3zf9HfUcqy1oi/lOKZG0zJlxT1Pd/ug1B
|
||||||
|
3lQUkNJpt4E5ksdK0p9ThQU6iUA+CmUvS5GkqoCCbbOPiNmDRI62vXY1+nvP2Ywt
|
||||||
|
XPsEG9UCHP5XR0NzxWZ5IqSQPzf28ZX85bl/WRp1nE7/gKUTJPgYnIEvv9Jvj2OK
|
||||||
|
bAOLMGkQt2igCneWudVYZPeycJTulXH8jZcKcPkA8vlf99P/vMfd1Ks+RQHpMVC1
|
||||||
|
CW2wgjhOZTJPPnrmawuPFOrTfSYaH+eHfnS2LMp6jR2U7Un5NJg+TOQHQFtI4faC
|
||||||
|
PuW+QyUodpmB62SjhwBIoHwHMmRwV/NYN5zoSLpcCYkoW8eNmG9X9kfMj//y0dUq
|
||||||
|
Nrz+TMHuNlt/R9QZ+1pqOOJX/bJp64DdJqhCwpfGUNpb3daWWrdwvidSS93127E8
|
||||||
|
wa9ZQQVD0cari9tgK0ueAqCcRkMAmJovUHZBSf7nE8tKE8wBr20=
|
||||||
|
=VLa7
|
||||||
|
-----END PGP SIGNATURE-----
|
3358
kate.changes
Normal file
3358
kate.changes
Normal file
File diff suppressed because it is too large
Load Diff
133
kate.spec
Normal file
133
kate.spec
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kate
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define kf6_version 6.6.0
|
||||||
|
%define plasma6_version 5.27.80
|
||||||
|
%define qt6_version 6.6.0
|
||||||
|
|
||||||
|
%bcond_without released
|
||||||
|
Name: kate
|
||||||
|
Version: 24.12.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Advanced Text Editor
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
URL: https://kate-editor.org
|
||||||
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
||||||
|
Source2: applications.keyring
|
||||||
|
%endif
|
||||||
|
# PATCH-FIX-OPENSUSE
|
||||||
|
Patch0: 0001-Defuse-root-block.patch
|
||||||
|
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||||
|
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6GuiAddons) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6TextEditor) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6UserFeedback) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6Wallet) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
|
||||||
|
BuildRequires: cmake(PlasmaActivities) >= %{plasma6_version}
|
||||||
|
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Keychain)
|
||||||
|
BuildRequires: cmake(Qt6Sql) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
|
||||||
|
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||||
|
Requires: kate-plugins = %{version}
|
||||||
|
Recommends: kuiviewer
|
||||||
|
Recommends: markdownpart
|
||||||
|
Recommends: svgpart
|
||||||
|
Obsoletes: kate5 < %{version}
|
||||||
|
Provides: kate5 = %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Kate is an advanced text editor by KDE.
|
||||||
|
|
||||||
|
%package -n kwrite
|
||||||
|
Summary: KDE Text Editor
|
||||||
|
Requires: kate-plugins = %{version}
|
||||||
|
Obsoletes: kwrite5 < %{version}
|
||||||
|
|
||||||
|
%description -n kwrite
|
||||||
|
KWrite is a text editor by KDE.
|
||||||
|
|
||||||
|
%package plugins
|
||||||
|
Summary: KDE Text Editor plugins
|
||||||
|
Obsoletes: kate5-plugins < %{version}
|
||||||
|
Provides: ktexteditorpreviewplugin = %{version}
|
||||||
|
Obsoletes: ktexteditorpreviewplugin < %{version}
|
||||||
|
|
||||||
|
%description plugins
|
||||||
|
Kate is an advanced text editor by KDE. This package contains
|
||||||
|
plugins and data files for Kate and KWrite editors.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6
|
||||||
|
|
||||||
|
%kf6_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf6_install
|
||||||
|
|
||||||
|
# Remove exotic icon sizes
|
||||||
|
rm -r %{buildroot}%{_kf6_iconsdir}/hicolor/{150x150,310x310,44x44}
|
||||||
|
|
||||||
|
%find_lang %{name} --with-man --with-html --all-name
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%doc %lang(en) %{_kf6_htmldir}/en/kate/
|
||||||
|
%doc %lang(en) %{_kf6_htmldir}/en/katepart/
|
||||||
|
%doc %{_kf6_mandir}/man1/kate.1%{?ext_man}
|
||||||
|
%{_kf6_applicationsdir}/org.kde.kate.desktop
|
||||||
|
%{_kf6_appstreamdir}/org.kde.kate.appdata.xml
|
||||||
|
%{_kf6_bindir}/kate
|
||||||
|
%{_kf6_iconsdir}/hicolor/*/apps/kate.*
|
||||||
|
%{_kf6_libdir}/libkateprivate.so.*
|
||||||
|
|
||||||
|
%files -n kwrite
|
||||||
|
%doc README.md
|
||||||
|
%{_kf6_applicationsdir}/org.kde.kwrite.desktop
|
||||||
|
%{_kf6_appstreamdir}/org.kde.kwrite.appdata.xml
|
||||||
|
%{_kf6_bindir}/kwrite
|
||||||
|
%{_kf6_iconsdir}/hicolor/*/apps/kwrite.*
|
||||||
|
|
||||||
|
%files plugins
|
||||||
|
%{_kf6_plugindir}/kf6/ktexteditor/
|
||||||
|
%{_kf6_sharedir}/kateproject/
|
||||||
|
%{_kf6_sharedir}/katexmltools/
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%exclude %{_kf6_htmldir}/en/kate/
|
||||||
|
%exclude %{_kf6_htmldir}/en/katepart/
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user