Christophe Marin 2024-10-23 07:42:47 +00:00 committed by Git OBS Bridge
commit e0ac261d98
18 changed files with 493 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:359155f3454948f2717ae6785ed1e6dc2dc8c281e6526cb06852cf4aa1a2a062
size 55708

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVKEACgkQ11dEg7tX
sY2hUA//ZKpn6MFPyIKTk8BpYVNMshcpH5qDmrP6SARiKfSa/ysbdh0eDh8O9ZtU
f7MIjrV1XtNB/jzIa8e5bQmul1TcB6UpjZahFrhQsNhw8xkMZm8yeb0K7lBm49Zp
XJJoRkyyZ+NFqSUWEkwjSI3+OYLsBI0k6r2XxXkWRrXLMLD4Q9nFk38tleS/f1Yf
0AjpGhRg09ZucPALDPr+oRriHi7EvWhumxIvYp0H1FIntt5JLEI/yvdSSdlbhmd2
3P3qm5j8y/WDqMj96snaFlN+AXg4oUJooA0gJSWV8hI8cHaFxupSmFvHlBqie/2S
i7f29rQhtBCrVClbW8+bJqsHDQWWew3z+WAkEJGkzPErqLXhUtiLBIXrahBC+BVI
lJ8vsbirycfmM6S/IS+QNS93U/tT8Hy1l43gHEKbeIN5/PGqscsRPHqwwzpuPCp9
w9qZBHSGRsAyzZguf6dh1JECX6EAndGPYQ0Cw+bifLk6sYd3Gz0YQoUWroxLUvIF
6wkyeNmkz/fZnQ5y4XzyAO03Sib+RWlDicgrN0i89JLdpGueXQmWTJpzCeGIK7C7
f9Xh1bJbYZunCrxdQrhpD8PDoUD7cOHEZ5d5lgHZpfePHJYqpzYOabxTD7fYGtEh
GYdz1VOeQuDLkFCvZgg440jXTZ2dmZAVpiARNY5x+vjyA3SC0HM=
=kIIl
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cb493bea3316ac916e87f5602299a97f1f02fdc01669a52ea25223a6085ada8
size 55736

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGB8ACgkQ11dEg7tX
sY26MxAAmYZd6fGyhELdmjnMzVba4wLdm6GnGFhaZcCG9GGEomVmm32/DZFxdFg9
8ZDFNOYCchwvIil4+H7QIp4ZSOtLx6x/TP+4ljAQAuntbYZriHYZ5+bNvxXn2ShB
O+bIZDOuS3SbFTQP28hasgYebYT+8vYm9oSA6AHH3S5wgtSGg1HdyWpkY7hmGE8w
r3ahvy1xm40q6Gk92vQLdqSsykGF13WvhSp1J+54YMyiB7cqm4cLXjojMA+DJXDx
8oAZwXi1vI0vIrgPa8cohK9BwjuEMr9STX0oik4SPPvPOjvqd26vY9Ng6wXic1P2
PP93qW4AWXB78c8WPiIxCE02sR6REiYKDwGf+Xpc2pF6bmjTJMkh1RpQ/puTGZ1t
lodL5s11G/f1dEDb6QCfzuirDVsRrWh9mUx0GdNkJUjq2c+6BfhhVBsr5OxpWls9
g7IxR60u0aVPIT62EEXAFUUxP95YjdXgHcPnMgJfsG7Oh6QHygBrMnYnDnWS1/pp
b1/pffTOKN+NBT62XrqvCGNxHG7MkSlR43EKr7mnfCTYAmFXiUHOac/ox+ER7APV
vgKb6wtuYOvZrUCxMtjmTBVtVNdS2sLNRPH2wi/lFfMVDJaNmLbOQ+r1z128CUrs
VAyVqTQFAtBZ64G6aU6JMxLT69F8YncVLXdZdSJmaIf2A909ZQo=
=xxbx
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc0e0a977e0bae17788e7030bec38d655aef60cce01b740e48f5579a4731d3aa
size 55728

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCFIACgkQ11dEg7tX
sY2YxBAAsK8N5xc+yiGDNgzOdBUOs8oqUirPXONjneD2iNOcsu0pn2yeT1w1VouR
eYdi6RJYEc6V6ygVRXs1l2IqQAUasGcAXN8Qp4lwyA3j1zMD34S8x9XyxFHCCWS3
fK5qWxynIM/tGYUNZwXUQf4a9DlihR4Ks4cXGB+sV6iOr8vR1z9DtuOvmzm7cKkl
v7duv6M5R1jppZxICv/hdCVnMakb0zJ3j2QJVmjUVSwmJBS9OHDqZv+51tjYPykw
43MgkFxKOyVcXw+rZSQ/A8fReBrGqeytom6VPLKSnL3gvaEJ0SGzhdHqX50dudAt
BX8odicGN+k5nWtDZS333uyNO3VLynaOlKu50opemAotzo8MJwGiop9yvckAG3Y1
q4hZrQV1aUGC/APv9k92WVVutGQMFM0SWd68X2jfeYmLcU/MfKwAoGisZ25/q47e
HqlXcICchdTGESfoqyz7Lvqf3iS/UgGYHWhT2Hv7LIsXU78bNyjp71ofYb4w+Tkk
XHbtEkrjPDdTyIBCc5GjTpzTwfv3u4r+nP9WUXEqMqYxgzhsyTyXten45FcCbjOy
gpnD+n5oJy1b5dMKzuXemxHijtRHAiLex1haTBAzA54MEKcn4VnQtg48cI1QBJ2T
vjl5ogqZnIW3nxxPHMA8YIUX8iUaq87dglN8dJNjgWnina41DA8=
=VR3G
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2157492575c0d829fc91624c071a4d2b811fac9ccc6430f149c1dd07866e4d7c
size 56460

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmb+j+cACgkQ11dEg7tX
sY2wLA//SCe97HreRqk09kU6JklMxdlGV/CLXr9PF0QkbVH8cZL873sId8I1Cg7x
Sen0tWbTuoLcQzWs/yi6mVsBnjjHMlx3OfVTeO68xC8qJdV6+l3dBVzZIGmjlVwg
92Uyj6NVqC7qSApWbl7pZ2W++dU4Y+TXecyk1mBBa2UMSiFsSUhJGkgEK17b/bDb
k6etzZ/e0+E2wNiqhnvw9/9lQf/PCXCP2gwtNc/CesvFJwDmX4668O1ERMle5B+5
nrNJLncXaxm/0NY8xXdlnuIKXq7PNuBkh+Azm05je43dpd3722SJhc7wRN+Y5+56
kH9zk7onKdYdG7tyjSyc2+ftZRtxpYeKpI0oqxc1HeuoB9McSEgjU+Ydp5DISYqv
MoQ6RedU/oQ86ycP/vgQW95t4UpSsmwFDkJ7DBoc/sluBH0lb5SWPShU/FeQp2dm
eGk+pMAzzsY97BAFDTJ7VQgrem9lZ/pzS+vWnQc7NmUqznYz5uxecppAc6jnmRJ9
snoCrBWCtoTcv0YE4uw9c4SKq+525+XO3QFZK4GuhiqcRXBYQtdkqdq2V7JdDhtG
aBk4CimkV1PnsJ1nc2Wevkh3ipAkOsFBtlb+2LesryMtejAocr9KHMoqBBUc/zNh
xS7UPcRxfTkVpwyUmm+p0v8i2LwFWaRUIskj1cUFe1IBOTyjB90=
=pajs
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c133ed8f267f8e40e2029ff187efb30720f03c9e5f5e4da8cd85da0a00c9edd4
size 56292

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcOanoACgkQ11dEg7tX
sY188Q//RtkrUKFQyRLg9v4ZSxo3Tb8H00BZoIPaVfrnUb7vB9lFLffyR0BNQX7S
GiUSdHrw7vw66JhJ+PuUeUqEWVLdBTKikqzCTv6pqo8X6EX4sKIpd+i3R92NYP4H
oLeTteBcAicqz2b7D/Tcw091MxXY1qB7/hO+9Igrzt4nZXu+bQFhzNF98vuvR5wQ
xjtCKqUumBnOGgerhuAKtyCgCkSNBlUpCjkqXCMZ5soRJck9bpTIZ+NfPHqkPc/b
nwxyb818OFH1abEIDGejpwYooXqoSkimz0getzGkriRm9vmzMtPlwwGCRQ+GofHt
oqwN14kMHHxfY0RU6axV2QBjWI7iNnTZ7GnkAS33YKsy/p2uHFtae6YaC3F8OABm
9p8atzVCvCLgl8eOoRhVYyPc1KjxlmhLxLHNcspGvw8pqv2JTiD8DDZdqGROF9og
vF11lklsEdOe3BR67wphMLvUyNNQFieXTZvW05dmvwTZKm7phG7Te11z6dxK87WK
vB0Un/0TQVVYFnPB4q5SoILJjqlo7CjwffUmeDOwHHxTG4ugbMUGqk2Be4VigiJw
5wulBewF8t/sG+ob/OWwIijyailxObLyrjwEU9XzJUqFM4augTjZWRA/VHYmHVeG
kvhSiU87KT0A1Xo1jBgMSxaQldLCzuIoyM4jqp0Ujk0JvkC0+wc=
=oTCl
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cc44449c445d5ef251cd0a06e18480a4b780fecafd3c6c5fba758a56f7ece6c
size 56300

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcXoMsACgkQ11dEg7tX
sY0ldRAAgAsoCiGG5MXQkfJd1HYNHCEOlPMfJpA+MUmoT6LTHieelKmpFPq8Cf8r
rHDv9NuIS1RUuW3FU+WP9kkJsOkdxphcDr72B6cQ1J8vwDgoA46eOqFSBYSl+Lhn
EAZJgaSjV+7UkI8IJBr+AHZxB3oWd0dZwcP5Kfn5lr8e+P6spqT31W6XUl2pXjWn
26wO1jF4kb/gFouIo7R/p/dDOg3vZYIlqvW8m79aMMabQ0BUCAxHcrDi2lLPQlVF
gn5WnIn9ebO01+BCJAaXUWNiWaTa9eol/4C1P3Aw9erxtqxOmj//iECm6YfD32mn
yQ+Gj8Jpbfg02pQ7X2E4+KNobeKKF+p+W0RwenOwdZU/yL68VArPqiZMtSaKAZFl
PMj38AWHqpzGjTMx+k7FmrYgM21tLiiMyfHZkrMy6T1oiL4D5rbAjzJn7QHVmGjM
fnu+1Q/QlTlCjhE3fU0w6EuQsEcfZ09/jv2/xSq/GC2HLqGCkU1x9sPfSPAisvG9
2CGxcTpphVAtcWQ0iRp3qutNXoEHap7D8dkMPgrZpCXXORVktWymrypLjB+WOngg
26j199YtgjAWkl8zc2BgCE60PUkpIpz3FEbrV2TtdtrS+c2EkDjA8dU9YWXHt0ni
CyRcD/bqx/zQK2//WfeK1QMMrbY6yyNOvip8OY0EQzKfaDGsNhI=
=S0gS
-----END PGP SIGNATURE-----

1
kglobalacceld6-rpmlintrc Normal file
View File

@ -0,0 +1 @@
addFilter("shlib-policy-name-error .*")

225
kglobalacceld6.changes Normal file
View File

@ -0,0 +1,225 @@
-------------------------------------------------------------------
Tue Oct 22 14:07:22 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.2
- Changes since 6.2.1:
* update version for new release
-------------------------------------------------------------------
Tue Oct 15 16:53:24 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.1
- Changes since 6.2.0:
* Revert "trigger modifier-only shortcuts when any modifier is released"
* update version for new release
-------------------------------------------------------------------
Sat Oct 5 10:44:16 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.0
- Changes since 6.1.90:
* update version for new release
-------------------------------------------------------------------
Tue Sep 17 14:53:26 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.1.90
- Changes since 6.1.5:
* update version for new release
* plugins/xcb: skip xrecord events when keyboard is grabbed (kde#488268,kde#491315)
* plugins/xcb: support different event types in xrecord
* Set up crash handling
* plugins/xcb: correctly handle multiple modifiers in xrecord
* plugins/xcb: only handle modifier presses in XRecord (kde#489113)
* explicitly process invalid keycodes (kde#489001)
* Add .gitignore file from kglobalaccel repo
* trigger modifier-only shortcuts when any modifier is released
* Remove redundant returns - no events are filtered out
* Prevent high CPU usage due to mass key remappings
* update version for new release
-------------------------------------------------------------------
Tue Sep 10 14:53:40 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.5
- Changes since 6.1.4:
* Set up crash handling
* update version for new release
-------------------------------------------------------------------
Tue Aug 6 13:26:42 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.4
- Changes since 6.1.3:
* update version for new release
-------------------------------------------------------------------
Tue Jul 16 13:23:33 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.3
- Changes since 6.1.2:
* explicitly process invalid keycodes (kde#489001)
* update version for new release
-------------------------------------------------------------------
Tue Jul 2 17:34:01 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.2
- Changes since 6.1.1:
* update version for new release
-------------------------------------------------------------------
Tue Jun 25 17:13:05 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.1
- Changes since 6.1.0:
* update version for new release
-------------------------------------------------------------------
Thu Jun 13 10:58:28 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.0
- Changes since 6.0.90:
* update version for new release
-------------------------------------------------------------------
Sat May 25 11:18:06 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.0.90
- Changes since 6.0.5:
* update version for new release
* Add key code sanity check in GlobalShortcutsRegistry::processKey
* Postpone processing KSycoca to the next event loop cycle
* Update service-based shortcuts when service database changes (kde#479730,kde#483918)
* Fix KHotkeys migration (kde#484063)
* sequencehelpers_p: rename mangleKey to normalizeSequence
* add tests
* plugins/xcb: correctly handle modifier-only shortcuts
* add API for listening to mouse events
* Enhance modifier-only shortcuts (kde#464805,kde#470256)
* globalshortcutregistry: refactor
* globalshortcutsregistry: treat super as meta (kde#481173)
* Also consider actions when querying for applications with shortcuts (kde#483214)
* Include all deprecated functions by default (kde#482712)
* plugins/xcb/kglobalaccel_x11: use new KKeyServer API (kde#478936)
* globalshortcutsregistry: treat SysReq as Alt+Print (kde#386253)
* Migrate command shortcuts from khotkeys
* Drop outdated comment
* Remove unused function arg
* Only write non-default shortcuts during migration
* Apply X-KDE-GlobalShortcutType also in loadFromService
* Add migration helper to migrate dynamic shortcuts to desktop file based shortcuts
* Fix old KF5-based desktop entries lingering in kglobalshortcutsrc
-------------------------------------------------------------------
Wed May 22 07:43:03 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.5
- Changes since 6.0.4:
* update version for new release
* Postpone processing KSycoca to the next event loop cycle
-------------------------------------------------------------------
Wed Apr 17 08:12:26 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.4
- Changes since 6.0.3:
* update version for new release
-------------------------------------------------------------------
Tue Mar 26 18:05:31 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.3
- Changes since 6.0.2:
* update version for new release
* Update service-based shortcuts when service database changes (kde#479730,kde#483918)
* Fix KHotkeys migration (kde#484063)
* Also consider actions when querying for applications with shortcuts (kde#483214)
-------------------------------------------------------------------
Wed Mar 13 09:09:38 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.2
- Changes since 6.0.1:
* Include all deprecated functions by default (kde#482712)
* update version for new release
-------------------------------------------------------------------
Wed Mar 6 08:40:27 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.1
- Changes since 6.0.0:
* update version for new release
-------------------------------------------------------------------
Mon Mar 4 20:32:26 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add Provides/Obsoletes to replace Plasma 5
-------------------------------------------------------------------
Wed Feb 21 18:36:12 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.0:
* New bugfix release
* Release announcement not available yet
- Changes since 5.93.0:
* plugins/xcb/kglobalaccel_x11: use new KKeyServer API (kde#478936)
* update version for new release
-------------------------------------------------------------------
Wed Jan 31 17:41:34 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.93.0 (6.0 RC 2):
* New bugfix release
* See https://kde.org/announcements/megarelease/6/rc2/ for details
- Changes since 5.92.0:
* globalshortcutsregistry: treat SysReq as Alt+Print (kde#386253)
* Migrate command shortcuts from khotkeys
* Only write non-default shortcuts during migration
* Apply X-KDE-GlobalShortcutType also in loadFromService
* Add migration helper to migrate dynamic shortcuts to desktop file based shortcuts
* Fix old KF5-based desktop entries lingering in kglobalshortcutsrc
-------------------------------------------------------------------
Mon Jan 15 21:08:44 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.92.0 (6.0 RC 1)
* For more details please see:
https://kde.org/announcements/megarelease/6/rc1/
-------------------------------------------------------------------
Sat Jul 1 20:26:42 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Init kglobalacceld6

129
kglobalacceld6.spec Normal file
View File

@ -0,0 +1,129 @@
#
# spec file for package kglobalacceld6
#
# 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/
#
%global kf6_version 6.0.0
%define qt6_version 6.7.0
%define rname kglobalacceld
%bcond_without released
# Full Plasma 6 version (e.g. 6.0.0)
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
Name: kglobalacceld6
Version: 6.2.2
Release: 0
Summary: Global keyboard shortcut daemon
License: LGPL-2.0-or-later
URL: https://www.kde.org
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
%if 0%{?suse_version} == 1500
# Due to leap being leap, rpmlint rules are obsolete
Source99: kglobalacceld6-rpmlintrc
%endif
BuildRequires: fdupes
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: pkgconfig
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version}
BuildRequires: cmake(KF6JobWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6Service) >= %{kf6_version}
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-keysyms)
BuildRequires: pkgconfig(xcb-record)
BuildRequires: pkgconfig(xcb-xkb)
Provides: kglobalaccel5 = %{version}
Obsoletes: kglobalaccel5 < %{version}
%description
Daemon providing Global Keyboard Shortcut (Accelerator) functionality.
%package -n libKGlobalAccelD6-0
Summary: KGlobalAccelD library
Recommends: kglobalacceld6
%description -n libKGlobalAccelD6-0
KGlobalAcceld is a daemon providing Global Keyboard Shortcut (Accelerator)
functionality.
This package provides the kglobalacceld library.
%package devel
Summary: Global keyboard shortcut daemon: Build Environment
Requires: libKGlobalAccelD6-0 >= %{_plasma6_bugfix}
Requires: cmake(Qt6DBus) >= %{qt6_version}
Requires: cmake(Qt6Widgets) >= %{qt6_version}
%description devel
Daemon providing Global Keyboard Shortcut (Accelerator) functionality.
Development files.
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%fdupes %{buildroot}
%post
%{systemd_user_post plasma-kglobalaccel.service}
%preun
%{systemd_user_preun plasma-kglobalaccel.service}
%postun
# TODO? Drop? systemd_user_postun is a stub in TW
%{systemd_user_postun plasma-kglobalaccel.service}
%ldconfig_scriptlets -n libKGlobalAccelD6-0
%files
%{_kf6_configdir}/autostart/kglobalacceld.desktop
%dir %{_kf6_plugindir}/org.kde.kglobalacceld.platforms
%{_kf6_plugindir}/org.kde.kglobalacceld.platforms/KGlobalAccelDXcb.so
%{_libexecdir}/kglobalacceld
%{_userunitdir}/plasma-kglobalaccel.service
%files -n libKGlobalAccelD6-0
%license LICENSES/*
%{_kf6_libdir}/libKGlobalAccelD.so.*
%files devel
%{_kf6_cmakedir}/KGlobalAccelD/
%{_includedir}/KGlobalAccelD/
%changelog

BIN
plasma.keyring Normal file

Binary file not shown.