Projects
home:Eustace:branches:Eulaceura:Factory
plasma-nm
_service:obs_scm:plasma-nm.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:plasma-nm.spec of Package plasma-nm
%undefine __cmake_in_source_build %global kf5_version 5.58.0 %define mobilesupport 0 %define openvpnsupport 1 %define openconnectsupport 1 %define openswansupport 1 %define l2tpsupport 1 %define pptpsupport 1 %define fortisslvpnsupport 1 %define vpncsupport 1 %define sshsupport 1 %define iodinesupport 1 Name: plasma-nm Summary: Plasma for managing network connections Version: 5.27.11 Release: 1 License: LGPLv2+ and GPLv2+ URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz %global __provides_exclude_from ^(%{_kf5_qtplugindir}/.*\\.so)$ BuildRequires: zlib-devel BuildRequires: gettext BuildRequires: kf5-rpm-macros BuildRequires: extra-cmake-modules >= %{kf5_version} BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qttools-devel BuildRequires: qt5-qttools-static BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: kf5-kservice-devel BuildRequires: kf5-kcompletion-devel BuildRequires: kf5-kwidgetsaddons-devel BuildRequires: kf5-kio-devel BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-kwallet-devel BuildRequires: kf5-kitemviews-devel BuildRequires: kf5-kxmlgui-devel BuildRequires: kf5-kconfigwidgets-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-solid-devel BuildRequires: kf5-kdbusaddons-devel BuildRequires: kf5-knotifications-devel BuildRequires: kf5-plasma-devel BuildRequires: kf5-kdeclarative-devel BuildRequires: kf5-kinit-devel BuildRequires: kf5-kdelibs4support-devel BuildRequires: kf5-networkmanager-qt-devel >= %{kf5_version} BuildRequires: kf5-modemmanager-qt-devel >= %{kf5_version} BuildRequires: kf5-prison-devel BuildRequires: kf5-kirigami2-devel BuildRequires: kf5-kcmutils-devel # Some stupid developers messed up libxtables.so.12 in openEuler # We do not want polycube, and this should be fixed by infra - 251 BuildRequires: iptables-libs %if ! 0%{?bootstrap} BuildRequires: pkgconfig(ModemManager) >= 1.0.0 %endif BuildRequires: pkgconfig(libnm) >= 1.0.0 BuildRequires: pkgconfig(openconnect) >= 4.00 BuildRequires: qca-qt5-devel Requires: NetworkManager >= 1.0.0 Requires: kf5-prison Requires: kf5-kirigami2 Obsoletes: kde-plasma-networkmanagement < 1:0.9.1.0 Obsoletes: kde-plasma-networkmanagement-libs < 1:0.9.1.0 Obsoletes: kde-plasma-nm < 5.0.0-1 Provides: kde-plasma-nm = %{version}-%{release} %description Plasma applet and editor for managing your network connections in KDE 4 using the default NetworkManager service. %if 0%{mobilesupport} %package mobile Summary: Mobile support for %{name} Requires: ModemManager %if ! 0%{?bootstrap} BuildRequires: pkgconfig(mobile-broadband-provider-info) %endif Requires: mobile-broadband-provider-info Requires: kf5-modemmanager-qt >= 5.0.0-1 Obsoletes: kde-plasma-networkmanagement-mobile < 1:0.9.1.0 Obsoletes: kde-plasma-nm-mobile < 5.0.0-1 Provides: kde-plasma-nm-mobile = %{version}-%{release} %description mobile %{summary}. %endif %if 0%{openvpnsupport} %package openvpn Summary: OpenVPN support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-openvpn Obsoletes: kde-plasma-networkmanagement-openvpn < 1:0.9.1.0 Obsoletes: kde-plasma-nm-openvpn < 5.0.0-1 Provides: kde-plasma-nm-openvpn = %{version}-%{release} %description openvpn %{summary}. %endif %if 0%{openconnectsupport} %package openconnect Summary: OpenConnect support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-openconnect Obsoletes: kde-plasma-networkmanagement-openconnect < 1:0.9.1.0 Obsoletes: kde-plasma-nm-openconnect < 5.0.0-1 Provides: kde-plasma-nm-openconnect = %{version}-%{release} %description openconnect %{summary}. %endif %if 0%{openswansupport} %package openswan Summary: Openswan support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-openswan Obsoletes: kde-plasma-nm-openswan < 5.0.0-1 Provides: kde-plasma-nm-openswan = %{version}-%{release} %description openswan %{summary}. %endif %package strongswan Summary: Strongswan support for %{name} Requires: %{name} = %{version}-%{release} Requires: strongswan Obsoletes: kde-plasma-nm-strongswan < 5.0.0-1 Provides: kde-plasma-nm-strongswan = %{version}-%{release} %description strongswan %{summary}. %if 0%{l2tpsupport} %package l2tp Summary: L2TP support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-l2tp Obsoletes: kde-plasma-nm-l2tp < 5.0.0-1 Provides: kde-plasma-nm-l2tp = %{version}-%{release} %description l2tp %{summary}. %endif %if 0%{pptpsupport} %package pptp Summary: PPTP support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-pptp Obsoletes: kde-plasma-networkmanagement-pptp < 1:0.9.1.0 Obsoletes: kde-plasma-nm-pptp < 5.0.0-1 Provides: kde-plasma-nm-pptp = %{version}-%{release} %description pptp %{summary}. %endif %package sstp Summary: SSTP support for %{name} Requires: %{name} = %{version}-%{release} %description sstp %{summary}. %if 0%{fortisslvpnsupport} %package fortisslvpn Summary: Fortigate SSL VPN support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-fortisslvpn %description fortisslvpn %{summary}. %endif %if 0%{vpncsupport} %package vpnc Summary: Vpnc support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-vpnc Obsoletes: kde-plasma-networkmanagement-vpnc < 1:0.9.1.0 Obsoletes: kde-plasma-nm-vpnc < 5.0.0-1 Provides: kde-plasma-nm-vpnc = %{version}-%{release} %description vpnc %{summary}. %endif %if 0%{sshsupport} %package ssh Summary: SSH suppor for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-ssh %description ssh %{summary}. %endif %if 0%{iodinesupport} %package iodine Summary: Iodine support for %{name} Requires: %{name} = %{version}-%{release} Requires: NetworkManager-iodine %description iodine %{summary}. %endif %prep %autosetup -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd %make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang plasma_applet_org.kde.plasma.networkmanagement %find_lang plasmanetworkmanagement-kded %find_lang plasmanetworkmanagement-kcm %find_lang plasmanetworkmanagement-libs %if 0%{openvpnsupport} %find_lang plasmanetworkmanagement_openvpnui %endif %if 0%{openconnectsupport} %find_lang plasmanetworkmanagement_openconnectui %endif %if 0%{openswansupport} %find_lang plasmanetworkmanagement_libreswanui %endif %find_lang plasmanetworkmanagement_strongswanui %if 0%{l2tpsupport} %find_lang plasmanetworkmanagement_l2tpui %endif %if 0%{pptpsupport} %find_lang plasmanetworkmanagement_pptpui %endif %find_lang plasmanetworkmanagement_sstpui %if 0%{fortisslvpnsupport} %find_lang plasmanetworkmanagement_fortisslvpnui %endif %if 0%{vpncsupport} %find_lang plasmanetworkmanagement_vpncui %endif %if 0%{sshsupport} %find_lang plasmanetworkmanagement_sshui %endif %if 0%{iodinesupport} %find_lang plasmanetworkmanagement_iodineui %endif %ldconfig_scriptlets %files -f plasma_applet_org.kde.plasma.networkmanagement.lang -f plasmanetworkmanagement-kded.lang -f plasmanetworkmanagement-libs.lang -f plasmanetworkmanagement-kcm.lang %{_libdir}/libplasmanm_internal.so %{_libdir}/libplasmanm_editor.so %{_qt5_qmldir}/org/kde/plasma/networkmanagement/ %{_kf5_datadir}/plasma/plasmoids/org.kde.plasma.networkmanagement/ %{_datadir}/qlogging-categories5/plasma-nm.categories %{_kf5_datadir}/knotifications5/networkmanagement.notifyrc %{_kf5_plugindir}/kded/networkmanagement.so %{_kf5_metainfodir}/org.kde.plasma.networkmanagement.appdata.xml %{_qt5_plugindir}/plasma/kcms/systemsettings_qwidgets/kcm_networkmanagement.so %{_datadir}/kcm_networkmanagement/qml/ %{_kf5_datadir}/applications/kcm_networkmanagement.desktop %{_datadir}/locale/*/LC_MESSAGES/kcm_mobile_wifi.mo %{_datadir}/locale/*/LC_MESSAGES/kcm_mobile_hotspot.mo %if 0%{mobilesupport} %files mobile %{_qt5_plugindir}/kcms/kcm_mobile_hotspot.so %{_qt5_plugindir}/kcms/kcm_mobile_wifi.so %{_kf5_datadir}/kpackage/kcms/kcm_mobile_hotspot/contents/ui/main.qml %{_kf5_datadir}/kpackage/kcms/kcm_mobile_wifi/contents/ui/ConnectDialog.qml %{_kf5_datadir}/kpackage/kcms/kcm_mobile_wifi/contents/ui/ConnectionItemDelegate.qml %{_kf5_datadir}/kpackage/kcms/kcm_mobile_wifi/contents/ui/NetworkSettings.qml %{_kf5_datadir}/kpackage/kcms/kcm_mobile_wifi/contents/ui/PasswordField.qml %{_kf5_datadir}/kpackage/kcms/kcm_mobile_wifi/contents/ui/main.qml %endif %if 0%{openvpnsupport} %files openvpn -f plasmanetworkmanagement_openvpnui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openvpnui.so %endif %if 0%{openconnectsupport} %files openconnect -f plasmanetworkmanagement_openconnectui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openconnect_anyconnect.so %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openconnect_globalprotectui.so %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openconnect_juniperui.so %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openconnect_pulseui.so %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openconnect_arrayui.so %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openconnect_f5ui.so %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_openconnect_fortinetui.so %endif %if 0%{openswansupport} %files openswan -f plasmanetworkmanagement_libreswanui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_libreswanui.so %endif %files strongswan -f plasmanetworkmanagement_strongswanui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_strongswanui.so %if 0%{l2tpsupport} %files l2tp -f plasmanetworkmanagement_l2tpui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_l2tpui.so %endif %if 0%{pptpsupport} %files pptp -f plasmanetworkmanagement_pptpui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_pptpui.so %endif %files sstp -f plasmanetworkmanagement_sstpui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_sstpui.so %if 0%{fortisslvpnsupport} %files fortisslvpn -f plasmanetworkmanagement_fortisslvpnui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_fortisslvpnui.so %endif %if 0%{vpncsupport} %files vpnc -f plasmanetworkmanagement_vpncui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_vpncui.so %endif %if 0%{sshsupport} %files ssh -f plasmanetworkmanagement_sshui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_sshui.so %endif %if 0%{iodinesupport} %files iodine -f plasmanetworkmanagement_iodineui.lang %{_kf5_qtplugindir}/plasma/network/vpn/plasmanetworkmanagement_iodineui.so %endif %changelog * Thu Mar 14 2024 peijiankang <peijiankang@kylinos.cn> - 5.27.11-1 - Update package to version 5.27.11 * Tue Jan 09 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.27.10-1 - Update package to version 5.27.10 * Wed Nov 01 2023 misaka00251 <liuxin@iscas.ac.cn> - 5.27.6-1 - Upgrade to 5.27.6 * Tue Nov 15 2022 misaka00251 <liuxin@iscas.ac.cn> - 5.25.5-1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2