3877a79
%global base_name    plasma-browser-integration
3877a79
3877a79
Name:    plasma-browser-integration
3877a79
Summary: %{base_name} provides components necessary to integrate browsers into the Plasma Desktop
96db5d9
Version: 5.14.5
58a19a3
Release: 1%{?dist}
3877a79
3877a79
License: GPLv2+
3877a79
URL:     https://cgit.kde.org/%{base_name}.git
3877a79
3877a79
%global revision %(echo %{version} | cut -d. -f3)
3877a79
%if %{revision} >= 50
3877a79
%global stable unstable
3877a79
%else
3877a79
%global stable stable
3877a79
%endif
3877a79
Source0:        http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
3877a79
3877a79
## downstream patches
3877a79
3877a79
## upstream patches
3877a79
3877a79
## upstreamable patches
3877a79
3877a79
BuildRequires:  extra-cmake-modules
3877a79
BuildRequires:  kf5-rpm-macros
3877a79
BuildRequires:  cmake(Qt5Gui)
3877a79
BuildRequires:  cmake(Qt5DBus)
3877a79
BuildRequires:  cmake(Qt5Widgets)
3877a79
BuildRequires:  cmake(KF5KIO)
3877a79
BuildRequires:  cmake(KF5I18n)
3877a79
BuildRequires:  cmake(KF5Config)
3877a79
BuildRequires:  cmake(KF5DBusAddons)
3877a79
BuildRequires:  cmake(KF5Notifications)
3877a79
BuildRequires:  cmake(KF5Runner)
3877a79
BuildRequires:  cmake(KF5WindowSystem)
3877a79
BuildRequires:  cmake(KF5Activities)
3877a79
76dfe48
Supplements: (plasma-workspace and chromium)
76dfe48
Supplements: (plasma-workspace and firefox)
76dfe48
3877a79
%description
3877a79
%{base_name} coupled with a browser plugin provides integration of the browser in the desktop.
3877a79
2676ae0
For more information, see
2676ae0
https://community.kde.org/Plasma/Browser_Integration
2676ae0
76dfe48
3877a79
%prep
3877a79
%autosetup -n %{base_name}-%{version} -p1
3877a79
76dfe48
3877a79
%build
3877a79
mkdir %{_target_platform}
3877a79
pushd %{_target_platform}
8361e24
%{cmake_kf5} .. \
8361e24
  -DMOZILLA_DIR:PATH=%{_libdir}/mozilla
3877a79
popd
3877a79
8361e24
%make_build -C %{_target_platform}
3877a79
3877a79
3877a79
%install
3877a79
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
3877a79
3877a79
%find_lang %{name} --all-name
3877a79
3877a79
3877a79
%files -f %{name}.lang
3877a79
%license COPYING-GPL3
3877a79
%config %{_sysconfdir}/chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json
3877a79
%config %{_sysconfdir}/opt/chrome/native-messaging-hosts/org.kde.plasma.browser_integration.json
3877a79
%{_bindir}/plasma-browser-integration-host
3877a79
%{_libdir}/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json
3877a79
%{_libdir}/qt5/plugins/kf5/kded/browserintegrationreminder.so
3877a79
%{_libdir}/qt5/plugins/krunner_browsertabs.so
3877a79
%{_datadir}/kservices5/plasma-runner-browsertabs.desktop
3877a79
76dfe48
3877a79
%changelog
96db5d9
* Tue Feb 19 2019 Rex Dieter <rdieter@fedoraproject.org> - 5.14.5-1
96db5d9
- 5.14.5
96db5d9
78e52f3
* Tue Nov 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.14.4-1
78e52f3
- 5.14.4
78e52f3
eda70b3
* Thu Nov 08 2018 Martin Kyral <martin.kyral@gmail.com> - 5.14.3-1
eda70b3
- 5.14.3
eda70b3
271584a
* Wed Oct 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.14.2-1
271584a
- 5.14.2
271584a
c328043
* Tue Oct 16 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.14.1-1
c328043
- 5.14.1
c328043
58a19a3
* Fri Oct 05 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.14.0-1
58a19a3
- 5.14.0
58a19a3
2676ae0
* Mon Oct 01 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.13.90-2
2676ae0
- add kde wiki link to %%description
2676ae0
f7736f0
* Fri Sep 14 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.90-1
f7736f0
- 5.13.90
f7736f0
4ff36ff
* Tue Sep 04 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.13.5-1
4ff36ff
- 5.13.5
4ff36ff
76dfe48
* Mon Aug 20 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.13.4-2
76dfe48
- Supplements: (plasma-workspace and (chromium or firefox))
76dfe48
cc82a63
* Thu Aug 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.13.4-1
cc82a63
- 5.13.4
cc82a63
f853a5f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.3-2
f853a5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f853a5f
ffcc9f3
* Wed Jul 11 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.3-1
ffcc9f3
- 5.13.3
ffcc9f3
0a9ea85
* Mon Jul 09 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.2-1
3c1f686
- 5.13.2
3c1f686
ee2d380
* Tue Jun 19 2018 Martin Kyral <martin.kyral@gmail.com> - 5.13.1-1
ee2d380
- 5.13.1
ee2d380
8361e24
* Sat Jun 09 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.13.0-1
8361e24
- 5.13.0
8361e24
3877a79
* Fri May 18 2018 Martin Kyral <martin.kyral@gmail.com> - 5.12.90-1
3877a79
- 5.12.90 (new package)