Christophe Marin 2024-10-23 07:42:52 +00:00 committed by Git OBS Bridge
commit 273d36816d
17 changed files with 483 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:9ef36a4fde78653d94b6021c9b24cff4dfa2d824b4a2bf7d52c33abbedb769c0
size 222468

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVNkACgkQ11dEg7tX
sY1lRg//RPPa+d33MEhe4envrgPM827V9dYAuR7d+NKyhwpQ/WLOXMTKqZHAi5nv
s5SCi8za9U629G7Jwk8a+FXFDi/U08O1ki9XA4eP+IWtjrDxYLGMQ/25wXzyi+GQ
0OcByLtD657eRrodeXDd4wLuXOe/TwT5iJ0BpxHEymAeTuPvjIQkpH48AYHSzq8X
klyzonbFPwbW64PSGdqEJImz3ACUzjKT5/7Ppjut1CoZgXtUQ8U3YVlmBR0hA69h
1wsVK3wXUHDo6kkG+RnvwStLDG882YSFg721XZLdOK2unfc8lvVQRqAbHuKLDpgv
aKubQHUHP9tLD//Zifsm6rtReO5csiyshtN5bBHMn6wJ/3BQiZCJsX7I0+I/nXmR
opQ00alAd426NJmkydZW6q6js2E8v4EgoxRP0F3EESlEt6HV+xN/YH3IRmEXFfqi
hgDqPNUjKe6SVgikK8gXi2qH8/uYxNnccNC4UniHmDulHnJ7JYSFXObi9Vn2CyRM
tpPx7BMdUz4QBg6el4iufhdWS3nnFx+G/vWOcwNkRQ+Cpw+RfdpEIxKs3LGSol3H
SYZsT7hOJF6ogH8Evrv7pm9yUz6ThmOZQ8Ya9Z8jF7g/qWYmMjAq/2m4WLr8DF/n
uI8NGpKyBv1ZhzbbzeGP51igpuk1UnPVxTgppizcOTVXzkGEYkY=
=vRNl
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGFwACgkQ11dEg7tX
sY3krA/+I9ciKalgW3THVorkIsxqxpYjhiCPT3zJuPcU+GLsHVOtpT6uoAtonx/F
gXsLhrF/BKqaUy2LBdG8twhONKl+iWDCrQaUczUXoxF2tRtPzzkV0oK9VTnV1r3L
El2Z4zB2zZ0Y8YjR91X4GnAGJUMwaRF1ZITPJg8M/CbhvTdFSDOTcszYFWpm2a84
ojB02A4wZ0fNECsc6Qkco+ePB6j3f8+m9mQAtpL2yZCZEZ9Y8fmJF2kA/M6F8I7k
WMwh/yRv9cs3LOARaltWTrEv4kbf8/DKux1ItUTTvNvT/JpiZPd6ZD1rPVeAqP8n
IzzREVTlF6W94Rqkw9ne1b9sEJ9WTCInFaFfhafT1vmoA281bx1LNCM2T6Ral2HQ
GtwffqmF/VdbE0uDNIu0KGXYj3NRxZ3RnovOVZ9iuAXoCs9wkhpaalmOdox2Dmqg
1YDPWmFjAC7/elSAxw4pvcyNkhj+r8nZsBGgO3vCKNBjHI1/pQPcS45gr3fulFHH
r3vOyHWqrEjBa9eQiYz+aOFoV+QRjpUh493WQYKif9xyhiITAPs4eWWXJpegUHUA
m+XiIlmGfHVAmJxFVu+oFGEdjwpZXwstIyzMyS3n/9shCheHDAl382fQyY3NklBN
rV6z41YgIxpYQsTa7QtCpB8+BZv0XND5V0ypjOCubrsi9GdDf1Q=
=BgC3
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCIwACgkQ11dEg7tX
sY3qNw/+J1kDgwJ63Ev0h2tuUSMnrlGKuDAk+ezcq5sC7fZPef6qi/hz19bvLDEu
40WZX/7RmZ2mYwlO/0cEa4UzWxcIvfF6E1H+xmND0+DHjt7pMRqP++l50FwBdrXg
+692sgsgbOKRt9olW4BWyY/Sdzu9vkI2MKSeTpQc7pzEqfCSz8uySMBoBPluEgKu
02XiNrxEvBagBROgXeNDXqTE/C7pyCCdktr6vg82pjmsvUxe4oBgscL1KwDCpyig
xNWqTmCthNiM5RIpt+X2ZIUJ7devhX1dEQfnA1Ed6tFTnWEnp5oXBLMaE6GF+4Mm
Wnm4bH7F0LemaHpQagUKihYC02CtW3AQWu8DXbkdHj+hLqZla5Va0UDT+P3jxQXZ
bP63XY/39W1kNlJOLFL7QmHZOLQKRTv1GXwOfBqrrZJqWbqipWd0fGly9QA0iGUD
XjGuuZJ/D62YtlackUe+bTVN8E5rxB0XMnFgqq227LEO8WLxWwAJB4kRqzM53UEK
VHm5sZgBTUbAoCXJaeLYVezvDdfftlNX7iFmAORNCqdrVTz/tgDpFsvJLlwtSOpU
PdnhEZmqYG3guMkMMBw4UVYi6nSM33v0tXbEarYkxUR7pCJ5dbkKOyVXpCpXmjoG
cTmmiRcgnzTcU9o689th13TNuKdQywW/g47LbbA08Yj5jajtIok=
=Z1DU
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmb+kCUACgkQ11dEg7tX
sY3psBAApn4b0ecpgz8x/rBon5V4PD8pHcGakJdz40oqquZ6NVswDmAOh1qOd/HT
lJqbIYl3f9EYLqDj/fN/DAa9qeJ18puOiCqmXtu78RcZDP8Qw3AgGfZ1figH1fXK
+LCxn6QJtp2/6/w3IDFa3Iv2zPFrnxhZw895GU4rWKVaRk6hMxikJFA6RrBsRrtg
ntPrRZjUOhI5YDOKHQkDOIdNJuuKw3313d5w+qtj1ZIWVn0ogaeFpWGOqs1i2UB+
UvU/ndzLie7v3ZhcF+R/w1PxDb0Vc4osCpab0ahZoGPq09tELru/ioSxjFRswerg
7voRxBRI5QbVj9HL1MEA064orVpY5Ba2OuSs319aE92QZMiJV1t8YHfyE/2rhJrs
iV/YJzur54L2TmsKVomaNI5aRdxdONm9AdkBLNqoTp1fy1NzaFJi8LRXPBcs0OVO
iXZ2J2QlheFMHZ28gWWxPJ2QkKL6V8+059JZDoJBcU7/c4fFRNpldlKWVdDJ1pKl
VgwxS2IeNI4TdxPS9zH6lx6xyq1aNy6IP4T9QVynR8JyATaaXaZRi5WTaaynVvF9
ZG0JJvdKi+rnzg6ll1gl7SqiGHvZKiBT6ZCHAzKH2oi2o3ObvB1alLLoIfmdEIcq
FckjizaoyaC9gdtS4gO0+Mn1BemIW6IC2hLAxTIuhRxMn6gb1qc=
=bV03
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcOasAACgkQ11dEg7tX
sY1hdQ/+O3g5y9NJAbu9PhpGJ3B4ifVNKxnry9HOomlmjczW7Yp4dd6jnWRODqcQ
vLxfSy/RoYO+etxYvAigJ3+qm5fVir4mWgkwpaMGx/h98MWCIjZJk9DuejFJBMUL
w+3r7/PhBTR+X08IfpleSPrqyGBUlCitsW22RPo8mX3SnA9M7BOqaF4N63hFziXC
J4Y4akFlI7SCS7b56IdkrvPEgMf8SqAHE1VJRw50w0vPes1aHFKu5m23jrfB048e
V/K8y8jhbe296ZTUc1yNxbDXJo4F8OIJTt2owY0tB3owrD17/leqpF+v0ZoucXwM
k5i86oT/kdWm1ibTyv8dRvcHu2uj9oki7qpQfBwjHyRBCulHgKbIW1G/trBExdBS
0CFrsg7A8f4I5JmpGLlT8YZgKDUSnmOeNlQdTBzKqkr1gYvRWr+hcOC4fbAtvyQ8
/hCgHjfIWuLAXbl0AQegmIqUWwAkv1mwXODR7JBrSHOfV5RMM1n0fwqTIAw1xJvF
bn43PqM23yYK/mkcyZKk2MDqT/dJdgLiUghdNo0ON2DpMW4dChIdQ3pl3HFHJB0E
InXkBrpDSl/bQz66kkSVELLxvu6jali9IW5SY2CK9VpPFT1bafVO/BG4ylV/oXR/
f3GVgFPE1c4Klox/IGX2/vn0w9Pu0eYuBqALF25f9sL4acw7vkY=
=l2A/
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcXoQ8ACgkQ11dEg7tX
sY3GyQ/8DuI+ORq5TgGfGoZw/BrIxrKnJma2AyITZ/ZX+vhe5Vd25Af+GFuEadFK
CI7YqgGu3qXHVvAWBVZ9e7QvjvLjq2YL0soBTbnnoe1YeCr0GSrzet4PTun/rHtk
ienPG4Ghj/dNQlMNapx3mdBIMmKkIMcbFIaco+2nbiwO9IEcd9sYAHWqx1VOezy/
hScPbcLFQiSLj6L1Lqewrz6H21O8gqNtKNdvN5Nu+i6EuNa6j/BnjhlUpce1ovHi
OuT29jEvjwS0v1hxVEJsqGebQQ4erVE6UnRltn3j4/Vhrc62eiXVb0SZkkzcueBh
wDWDIHr0aXlGKo3zLUEN00xSHTssDNtuiZeHBV+xHFGiLbNmttnIq/ugECRrE/vv
VagbDUzNG/U0bMA3bJJ3YByaZE58Pku0Dei+OT9hCJ9wj2XBqd7oEZUTG+CqqhLP
VKl51GMzfWKdgSA5HL6opvZlhFXflekRZ3iRMwPt8uk74NdMSkl0OWOY8pAV/iWS
FJ26tj+LJeM7WFjz0COQvq8n6xcfXEr0fz1K+eb6TwhDhDEFZnTrdTXR63q5GI56
FJJ1bzDbEpGSoRrziBpZEK+IGF9qev/IoUAZTO3J1uFQJdOwbWUud6Jtbqed0loP
BHZY/e4aa9kRJDXcb5DRfDuyuq7Q7/OzEot7blsiyDrFheob1UM=
=9cqU
-----END PGP SIGNATURE-----

BIN
plasma.keyring Normal file

Binary file not shown.

View File

@ -0,0 +1,207 @@
-------------------------------------------------------------------
Tue Oct 22 14:08:05 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:35 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:
* update version for new release
-------------------------------------------------------------------
Sat Oct 5 10:44:26 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:56 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
* Remove spurious file added by scripty
* Revert "Register page-script.js as content script"
* manifest: Add back scripts
* manifest: "applications" is now "browser_specific_settings"
* Register page-script.js as content script
* Add history permission
* Migrate manifest.json to v3
* Add service-worker.js
* Port historyrunner favicon fetching to new favicon API
* Make use of "userAgentData" for detecting Google Chrome
* Port chrome.browserAction to chrome.action
* Port chrome.tabs.executeScript to chrome.scripting.executeScript
* Settings: Check for p-b-i host desktop file name
* Set up KAboutData
* Port deprecated methods
* Namespace custom event types
* update version for new release
-------------------------------------------------------------------
Tue Sep 10 14:54:28 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:
* update version for new release
-------------------------------------------------------------------
Tue Aug 6 13:27:49 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:24:31 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:
* update version for new release
-------------------------------------------------------------------
Tue Jul 2 17:34:20 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:58 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:40 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:19:01 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
* Bump manifest version
* set min kf6 version
* Download Job: Truncate excessively long URLs
* MPrisPlugin: Limit string and URL lengths in metadata
* MPrisPlugin: Rate-limit property changes
* add a version for dependencies so it does not break CI https://invent.kde.org/plasma/bluedevil/-/merge_requests/156
-------------------------------------------------------------------
Wed May 22 07:43:11 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
-------------------------------------------------------------------
Wed Apr 17 08:13:10 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:06:08 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
-------------------------------------------------------------------
Wed Mar 13 09:10:06 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:
* update version for new release
-------------------------------------------------------------------
Wed Mar 6 08:40:30 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 18:52:17 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add Provides/Obsoletes to replace Plasma 5
-------------------------------------------------------------------
Wed Feb 21 18:36:35 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:
* update version for new release
* set min kf6 version
* Download Job: Truncate excessively long URLs
* MPrisPlugin: Rate-limit property changes
* MPrisPlugin: Limit string and URL lengths in metadata
* update version for new release
-------------------------------------------------------------------
Wed Jan 31 17:37:35 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:
* RC 1 version dep
* add a version for dependencies so it does not break CI https://invent.kde.org/plasma/bluedevil/-/merge_requests/156
-------------------------------------------------------------------
Wed Jan 17 18:38:58 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/
-------------------------------------------------------------------
Wed Aug 23 21:49:17 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Init plasma6-browser-integration

View File

@ -0,0 +1,138 @@
#
# spec file for package plasma6-browser-integration
#
# 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.5.0
%define qt6_version 6.7.0
%define rname plasma-browser-integration
%bcond_with browser_extension
%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: plasma6-browser-integration
Version: 6.2.2
Release: 0
Summary: Helper for the KDE Plasma Browser Integration
License: GPL-3.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
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF6FileMetaData) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6JobWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
BuildRequires: cmake(KF6Purpose) >= %{kf6_version}
BuildRequires: cmake(KF6Runner) >= %{kf6_version}
BuildRequires: cmake(KF6StatusNotifierItem) >= %{kf6_version}
BuildRequires: cmake(LibTaskManager) >= %{_plasma6_bugfix}
BuildRequires: cmake(PlasmaActivities) >= %{_plasma6_bugfix}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
Supplements: (plasma6-workspace and GoogleChrome)
Supplements: (plasma6-workspace and MozillaFirefox)
Supplements: (plasma6-workspace and chromium)
Supplements: (plasma6-workspace and opera)
Supplements: (plasma6-workspace and vivaldi)
Provides: plasma-browser-integration = %{version}
Obsoletes: plasma-browser-integration < %{version}
Obsoletes: plasma-browser-integration-lang < %{version}
%description
This package contains a helper binary necessary for the WebExtension to
work.
%package extension
Summary: WebExtension for KDE Plamsa Browser Integration
Requires: %{name} = %{version}
Provides: plasma-browser-integration-extension = %{version}
Obsoletes: plasma-browser-integration-extension < %{version}
%description extension
This package contains a WebExtension to integrate the browser better into
KDE Plasma.
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6 \
%if %{with browser_extension}
-DINSTALL_CHROME_MANIFEST:BOOL=TRUE
%else
-DINSTALL_CHROME_MANIFEST:BOOL=FALSE
%endif
%kf6_build
%install
%kf6_install
if [ "%{_lib}" != "lib" ]; then
# Move mozilla native messaging file to correct location
mv %{buildroot}%{_prefix}/lib/mozilla %{buildroot}%{_libdir}
fi
%find_lang %{name} --all-name
%files
%license COPYING*
%{_kf6_bindir}/plasma-browser-integration-host
%{_kf6_plugindir}/kf6/kded/browserintegrationreminder.so
%dir %{_libdir}/mozilla
%{_libdir}/mozilla/native-messaging-hosts/
%dir %{_sysconfdir}/chromium
%{_sysconfdir}/chromium/native-messaging-hosts/
%dir %{_sysconfdir}/opt/chrome
%{_sysconfdir}/opt/chrome/native-messaging-hosts/
%dir %{_sysconfdir}/opt/edge
%{_sysconfdir}/opt/edge/native-messaging-hosts/
%dir %{_kf6_sharedir}/krunner/dbusplugins
%{_kf6_sharedir}/krunner/dbusplugins/plasma-runner-browserhistory.desktop
%{_kf6_sharedir}/krunner/dbusplugins/plasma-runner-browsertabs.desktop
%{_kf6_applicationsdir}/org.kde.plasma.browser_integration.host.desktop
%if %{with browser_extension}
%files extension
%license COPYING*
%dir %{_datadir}/chromium
%dir %{_datadir}/chromium/extensions
%dir %{_datadir}/google-chrome
%dir %{_datadir}/google-chrome/extensions
%{_datadir}/chromium/extensions/cimiefiiaegbelhefglklhhakcgmhkai.json
%{_datadir}/google-chrome/extensions/cimiefiiaegbelhefglklhhakcgmhkai.json
%endif
%files lang -f %{name}.lang
%changelog