Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:4247
plasma-nm5.openSUSE_Leap_42.1_Update
plasma-nm5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plasma-nm5.spec of Package plasma-nm5.openSUSE_Leap_42.1_Update
# # spec file for package plasma-nm5 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %bcond_without lang %define mm_support 1 Name: plasma-nm5 Version: 5.4.3 Release: 0 Summary: Plasma applet written in QML for managing network connections License: (LGPL-2.1 or LGPL-3.0) and (GPL-2.0 or GPL-3.0) Group: System/GUI/KDE Url: https://projects.kde.org/projects/playground/network/plasma-nm Source: plasma-nm-%{version}.tar.xz Source99: %{name}-rpmlintrc BuildRequires: NetworkManager-devel >= 0.9.8.4 BuildRequires: extra-cmake-modules >= 1.3.0 BuildRequires: fdupes BuildRequires: kcompletion-devel BuildRequires: kconfigwidgets-devel BuildRequires: kcoreaddons-devel BuildRequires: kdbusaddons-devel BuildRequires: kdeclarative-devel BuildRequires: kdelibs4support-devel BuildRequires: kf5-filesystem BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kinit-devel BuildRequires: kitemviews-devel BuildRequires: knotifications-devel BuildRequires: kservice-devel BuildRequires: kwallet-devel BuildRequires: kwidgetsaddons-devel BuildRequires: kwindowsystem-devel BuildRequires: kxmlgui-devel BuildRequires: libKF5NetworkManagerQt-devel >= 5.8.0 BuildRequires: mobile-broadband-provider-info BuildRequires: plasma-framework-devel BuildRequires: solid-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) >= 5.4.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0 BuildRequires: pkgconfig(Qt5Network) >= 5.4.0 BuildRequires: pkgconfig(Qt5Quick) >= 5.4.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0 BuildRequires: pkgconfig(openconnect) >= 4.00 Requires: NetworkManager Requires: kded Requires: kwalletd5 Requires: mobile-broadband-provider-info %if %{with lang} Recommends: %{name}-lang %endif Provides: NetworkManager-client Provides: plasma-nm-kf5 = %{version} Obsoletes: plasma-nm-kf5 < %{version} %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm = %{version} Obsoletes: plasma-nm < %{version} %endif %if 0%{?mm_support} BuildRequires: libKF5ModemManagerQt-devel >= 5.9.0 BuildRequires: pkgconfig(ModemManager) >= 1.0.0 %endif Obsoletes: NetworkManager-kde4-devel Obsoletes: NetworkManager-kde4-libs Obsoletes: NetworkManager-kde4-libs-lang Obsoletes: NetworkManager-novellvpn-kde4 Obsoletes: plasmoid-networkmanagement %description Plasma applet for controlling network connections on systems that use the NetworkManager service. %package openvpn Summary: OpenVPN support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} Requires: NetworkManager-openvpn Supplements: packageand(%{name}:NetworkManager-openvpn) Provides: NetworkManager-openvpn-frontend %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm-openvpn = %{version} Obsoletes: plasma-nm-openvpn < %{version} %endif Obsoletes: NetworkManager-openvpn-kde4 %description openvpn OpenVPN VPN plugin for plasma-nm components. %package vpnc Summary: Vpnc support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} Requires: NetworkManager-vpnc Supplements: packageand(%{name}:NetworkManager-vpnc) Provides: NetworkManager-vpnc-frontend %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm-vpnc = %{version} Obsoletes: plasma-nm-vpnc < %{version} %endif Obsoletes: NetworkManager-vpnc-kde4 %description vpnc Vpnc plugin for plasma-nm components. %package openconnect Summary: OpenConnect support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} Requires: NetworkManager-openconnect Requires: openconnect Supplements: packageand(%{name}:NetworkManager-openconnect:openconnect) Provides: NetworkManager-openconnect-frontend %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm-openconnect = %{version} Obsoletes: plasma-nm-openconnect < %{version} %endif Obsoletes: NetworkManager-openconnect-kde4 %description openconnect OpenConnect plugin for plasma-nm components. %package openswan Summary: Openswan support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} # NetworkManager-openswan is not in Factory #Requires: NetworkManager-openswan #Supplements: packageand(%{name}:NetworkManager-openswan) Provides: NetworkManager-openswan-frontend %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm-openswan = %{version} Obsoletes: plasma-nm-openswan < %{version} %endif %description openswan Openswan plugin for plasma-nm components. %package strongswan Summary: Strongswan support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} Requires: NetworkManager-strongswan Supplements: packageand(%{name}:NetworkManager-strongswan) Provides: NetworkManager-strongswan-frontend %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm-strongswan = %{version} Obsoletes: plasma-nm-strongswan < %{version} %endif %description strongswan Strongswan plugin for plasma-nm components. %package l2tp Summary: L2TP support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} # NetworkManager-l2tp is not in Factory #Requires: NetworkManager-l2tp #Supplements: packageand(%{name}:NetworkManager-l2tp) Provides: NetworkManager-l2tp-frontend %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm-l2tp = %{version} Obsoletes: plasma-nm-l2tp < %{version} %endif %description l2tp L2TP plugin for plasma-nm components. %package pptp Summary: PPTP support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} Requires: NetworkManager-pptp Supplements: packageand(%{name}:NetworkManager-pptp) Provides: NetworkManager-pptp-frontend %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Provides: plasma-nm-pptp = %{version} Obsoletes: plasma-nm-pptp < %{version} %endif Obsoletes: NetworkManager-pptp-kde4 %description pptp pptp plugin for plasma-nm components. %package ssh Summary: SSH support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} # NetworkManager-ssh doesn't exist in Factory #Requires: NetworkManager-ssh Supplements: packageand(%{name}:NetworkManager-ssh) Provides: NetworkManager-ssh-frontend %description ssh ssh plugin for plasma-nm components. %package sstp Summary: sstp support for %{name} Group: System/GUI/KDE Requires: %{name} = %{version} # NetworkManager-ssh doesn't exist in Factory #Requires: NetworkManager-ssh Supplements: packageand(%{name}:NetworkManager-sstp) Provides: NetworkManager-sstp-frontend %description sstp sstp plugin for plasma-nm components. %lang_package %prep %setup -q -n plasma-nm-%{version} %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %make_jobs %install %{kf5_makeinstall} -C build %suse_update_desktop_file -r kde5-nm-connection-editor KDE System X-SuSE-ServiceConfiguration %fdupes -s %{buildroot} %files %defattr(-,root,root) %doc COPYING* %{_kf5_bindir}/kde5-nm-connection-editor %{_kf5_libdir}/libplasmanm_editor.so %{_kf5_libdir}/libplasmanm_internal.so %{_kf5_plugindir}/kded_networkmanagement.so %{_kf5_qmldir}/ %{_kf5_applicationsdir}/kde5-nm-connection-editor.desktop %{_kf5_sharedir}/kxmlgui5/ %{_kf5_notifydir}/ %{_kf5_servicesdir}/kded/ %{_kf5_servicesdir}/plasma-applet*.desktop %{_kf5_servicetypesdir}/ %{_kf5_sharedir}/plasma/ %files openvpn %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_openvpnui.so %{_kf5_servicesdir}/plasmanetworkmanagement_openvpnui.desktop %files vpnc %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_vpncui.so %{_kf5_servicesdir}/plasmanetworkmanagement_vpncui.desktop %files openconnect %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_openconnectui.so %{_kf5_servicesdir}/plasmanetworkmanagement_openconnectui.desktop %files openswan %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_openswanui.so %{_kf5_servicesdir}/plasmanetworkmanagement_openswanui.desktop %files strongswan %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_strongswanui.so %{_kf5_servicesdir}/plasmanetworkmanagement_strongswanui.desktop %files l2tp %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_l2tpui.so %{_kf5_servicesdir}/plasmanetworkmanagement_l2tpui.desktop %files pptp %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_pptpui.so %{_kf5_servicesdir}/plasmanetworkmanagement_pptpui.desktop %files ssh %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_sshui.so %{_kf5_servicesdir}/plasmanetworkmanagement_sshui.desktop %files sstp %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/*_sstpui.so %{_kf5_servicesdir}/plasmanetworkmanagement_sstpui.desktop %if %{with lang} %files lang %defattr(-,root,root) %{_kf5_localedir}/ %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor