Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.3:Staging:C:DVD
plasma-nm5
plasma-nm5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plasma-nm5.spec of Package plasma-nm5
# # spec file for package plasma-nm5 # # Copyright (c) 2016 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.8.7 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: http://download.kde.org/stable/plasma/%{version}/plasma-nm-%{version}.tar.xz # PATCH-FIX-UPSTREAM Patch200: 0001-Add-option-to-disable-unlocking-modem-on-detection.patch # PATCH-FIX-UPSTREAM Patch201: 0002-Add-missing-file-with-UI-for-configuration.patch BuildRequires: NetworkManager-devel >= 0.9.8.4 BuildRequires: extra-cmake-modules >= 1.3.0 BuildRequires: fdupes BuildRequires: kf5-filesystem BuildRequires: mobile-broadband-provider-info BuildRequires: update-desktop-files BuildRequires: cmake(KF5Completion) >= 5.25.0 BuildRequires: cmake(KF5ConfigWidgets) >= 5.25.0 BuildRequires: cmake(KF5CoreAddons) >= 5.25.0 BuildRequires: cmake(KF5DBusAddons) >= 5.25.0 BuildRequires: cmake(KF5Declarative) >= 5.25.0 BuildRequires: cmake(KF5I18n) >= 5.25.0 BuildRequires: cmake(KF5IconThemes) >= 5.25.0 BuildRequires: cmake(KF5Init) >= 5.25.0 BuildRequires: cmake(KF5ItemViews) >= 5.25.0 BuildRequires: cmake(KF5KDELibs4Support) >= 5.25.0 BuildRequires: cmake(KF5KIO) >= 5.25.0 BuildRequires: cmake(KF5NetworkManagerQt) >= 5.25.0 BuildRequires: cmake(KF5Notifications) >= 5.25.0 BuildRequires: cmake(KF5Plasma) >= 5.25.0 BuildRequires: cmake(KF5Service) >= 5.25.0 BuildRequires: cmake(KF5Solid) >= 5.25.0 BuildRequires: cmake(KF5Wallet) >= 5.25.0 BuildRequires: cmake(KF5WidgetsAddons) >= 5.25.0 BuildRequires: cmake(KF5WindowSystem) >= 5.25.0 BuildRequires: cmake(KF5XmlGui) >= 5.25.0 BuildRequires: cmake(Qca-qt5) >= 2.1.0 BuildRequires: cmake(Qt5Core) >= 5.4.0 BuildRequires: cmake(Qt5DBus) >= 5.4.0 BuildRequires: cmake(Qt5Network) >= 5.4.0 BuildRequires: cmake(Qt5Quick) >= 5.4.0 BuildRequires: cmake(Qt5Widgets) >= 5.4.0 BuildRequires: pkgconfig(openconnect) >= 4.00 Requires: NetworkManager Requires: kded Requires: kwalletd5 Recommends: 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: cmake(KF5ModemManagerQt) >= 5.14.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 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 Layer Two Tunneling Protocol (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 Point-To-Point Tunneling Protocol (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 Secure Shell (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 Secure Sockets Tunneling Protocol (SSTP) plugin for plasma-nm components. %lang_package %prep %setup -q -n plasma-nm-%{version} %patch200 -p1 %patch201 -p1 %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %make_jobs %install %{kf5_makeinstall} -C build %if %{with lang} %kf5_find_lang %endif %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 %dir %{_kf5_plugindir}/kf5 %dir %{_kf5_plugindir}/kf5/kded %{_kf5_plugindir}/kf5/kded/networkmanagement.so %{_kf5_qmldir}/ %{_kf5_applicationsdir}/kde5-nm-connection-editor.desktop %{_kf5_sharedir}/kxmlgui5/ %{_kf5_notifydir}/ %{_kf5_servicesdir}/plasma-applet*.desktop %{_kf5_servicetypesdir}/ %{_kf5_sharedir}/plasma/ %dir %{_kf5_appstreamdir} %{_kf5_appstreamdir}/org.kde.plasma.networkmanagement.appdata.xml %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 -f %{name}.lang %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