82 lines
2.5 KiB
RPMSpec
82 lines
2.5 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
%define plasmaver %(echo %version | cut -d. -f1-3)
|
|
|
|
Name: plasma-browser-integration
|
|
Version: 5.18.5
|
|
Release: 1mamba
|
|
Summary: KDE Plasma 5 integration with web browsers
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.kde.org
|
|
Source: https://download.kde.org/stable/plasma/%{plasmaver}/plasma-browser-integration-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libgcc
|
|
BuildRequires: libkactivities5-devel
|
|
BuildRequires: libkcompletion-devel
|
|
BuildRequires: libkconfig-devel
|
|
BuildRequires: libkcoreaddons-devel
|
|
BuildRequires: libkcrash-devel
|
|
BuildRequires: libkdbusaddons-devel
|
|
BuildRequires: libkfilemetadata-devel
|
|
BuildRequires: libki18n-devel
|
|
BuildRequires: libkio-devel
|
|
BuildRequires: libkjobwidgets-devel
|
|
BuildRequires: libknotifications-devel
|
|
BuildRequires: libkpackage-devel
|
|
BuildRequires: libkrunner-devel
|
|
BuildRequires: libkservice-devel
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
BuildRequires: libkwindowsystem-devel
|
|
BuildRequires: libplasma-framework-devel
|
|
BuildRequires: libpurpose-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: rpm-macros-kde5
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
KDE Plasma 5 integration with web browsers.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kde5 -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}5_qt.lang
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json
|
|
%{_sysconfdir}/opt/chrome/native-messaging-hosts/org.kde.plasma.browser_integration.json
|
|
%{_bindir}/plasma-browser-integration-host
|
|
%{_prefix}/lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json
|
|
%{_libdir}/qt5/plugins/kf5/kded/browserintegrationreminder.so
|
|
%{_libdir}/qt5/plugins/krunner_browsertabs.so
|
|
%{_datadir}/kservices5/plasma-runner-browsertabs.desktop
|
|
|
|
%changelog
|
|
* Fri May 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.18.5-1mamba
|
|
- update to 5.18.5
|
|
|
|
* Thu Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.18.4.1-1mamba
|
|
- package created using the webbuild interface
|