Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
NetworkManager-kde4
NetworkManager-kde4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File NetworkManager-kde4.spec of Package NetworkManager-kde4
# # spec file for package NetworkManager-kde4 # # Copyright (c) 2012 SUSE LINUX Products 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/ # Name: NetworkManager-kde4 Url: http://quickgit.kde.org/?p=networkmanagement.git BuildRequires: git BuildRequires: kdebase4-workspace-devel BuildRequires: mobile-broadband-provider-info %if 0%{?suse_version} >= 1210 BuildRequires: NetworkManager-devel >= 0.9.0 BuildRequires: openconnect-devel >= 3.99 %else BuildRequires: NetworkManager-devel < 0.8.5 %endif Version: 0.9.0.7 Release: 0 Summary: NetworkManager client for KDE 4 License: LGPL-2.0+ Group: System/GUI/KDE %if 0%{?suse_version} >= 1210 Source0: http://download.kde.org/unstable/networkmanagement/%{version}/src/networkmanagement-%{version}.tar.bz2 %else Source0: networkmanagement.tar.bz2 %endif Source1: networkmanager-po.tar.bz2 Source2: knetworkmanager.default.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 s390x %description KNetworkManager is a KDE 4 applet for controlling network connections on systems that use the NetworkManager service. %package libs Summary: NetworkManager client for KDE 4 License: LGPL-2.0+ Group: System/GUI/KDE Requires: NetworkManager Recommends: %{name}-libs-lang = %{version} Obsoletes: NetworkManager-kde4-lang < 0.9.svn1192577 Provides: NetworkManager-kde4-lang = 0.9.svn1192577 %kde4_runtime_requires %description libs Support libraries for the Network Management plasmoid Network Management Plasmoid is a KDE 4 applet and connection editor for controlling network connections on systems that use the NetworkManager service %package devel Summary: Development files for %{name} License: LGPL-2.0+ Group: Development/Libraries/KDE Requires: %{name}-libs = %{version} Requires: plasmoid-networkmanagement = %{version} %kde4_runtime_requires %description devel This package contains the necessary files and headers for developing applications using %{name}. %package -n plasmoid-networkmanagement Summary: NetworkManager client for KDE 4 License: GPL-2.0+ Group: System/GUI/KDE Requires: %{name}-libs = %{version} Requires: mobile-broadband-provider-info Obsoletes: NetworkManager-kde4 < %{version} Provides: NetworkManager-client Provides: NetworkManager-kde4 = %{version} %kde4_runtime_requires %description -n plasmoid-networkmanagement Network Management Plasma applet for controlling network connections on systems that use the NetworkManager service. %package -n NetworkManager-openvpn-kde4 Summary: NetworkManager client for KDE 4 License: GPL-2.0+ Group: System/GUI/KDE Requires: %{name}-libs = %{version} Requires: NetworkManager-openvpn Provides: NetworkManager-openvpn-frontend %kde4_runtime_requires %description -n NetworkManager-openvpn-kde4 OpenVPN VPN plugin for KDE Network Management components. %package -n NetworkManager-pptp-kde4 Summary: NetworkManager client for KDE 4 License: GPL-2.0+ Group: System/GUI/KDE Requires: %{name}-libs = %{version} Requires: NetworkManager-pptp Provides: NetworkManager-pptp-frontend %kde4_runtime_requires %description -n NetworkManager-pptp-kde4 PPTP VPN plugin for KDE Network Management components. %package -n NetworkManager-vpnc-kde4 Summary: NetworkManager client for KDE 4 License: GPL-2.0+ Group: System/GUI/KDE Requires: %{name}-libs = %{version} Requires: NetworkManager-vpnc Provides: NetworkManager-vpnc-frontend %kde4_runtime_requires %description -n NetworkManager-vpnc-kde4 Cisco VPN plugin for KDE Network Management components. %package -n NetworkManager-novellvpn-kde4 Summary: NovellVPN NetworkManager plugin for KDE 4 License: GPL-2.0+ Group: System/GUI/KDE Requires: %{name}-libs = %{version} Requires: NetworkManager-novellvpn Provides: NetworkManager-novellvpn-frontend %kde4_runtime_requires %description -n NetworkManager-novellvpn-kde4 NovellVPN VPN plugin for KDE Network Management components. %package -n NetworkManager-strongswan-kde4 Summary: Strongswan NetworkManager plugin for KDE 4 License: GPL-2.0+ Group: System/GUI/KDE Requires: %{name}-libs = %{version} Requires: strongswan Provides: NetworkManager-strongswan-frontend %kde4_runtime_requires %description -n NetworkManager-strongswan-kde4 Strongswan VPN plugin for KDE Network Management components. %if 0%{?suse_version} >= 1210 %package -n NetworkManager-openconnect-kde4 Summary: OpenConnect NetworkManager plugin for KDE 4 License: GPL-2.0+ Group: System/GUI/KDE Requires: %{name}-libs = %{version} Requires: openconnect Provides: NetworkManager-openconnect-frontend %kde4_runtime_requires %description -n NetworkManager-openconnect-kde4 OpenConnect VPN plugin for KDE Network Management components. %endif %lang_package -n %{name}-libs %prep %if 0%{?suse_version} >= 1210 %setup -q -n networkmanagement-%{version} %else %setup -q -n networkmanagement git checkout nm08 tar -xjf %{SOURCE1} %endif echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt echo "add_subdirectory(po)" >> CMakeLists.txt %build %cmake_kde4 -d build \-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d %make_jobs %install cd build %make_install mkdir -p %{buildroot}%{_kde4_sharedir}/env install -m 755 %{SOURCE2} %{buildroot}%{_kde4_sharedir}/env %ifarch s390 s390x rm -f %{buildroot}%{_kde4_modulesdir}/networkmanagement_openvpnui.so rm -f %{buildroot}%{_kde4_servicesdir}/networkmanagement_openvpnui.desktop %endif # Add a general frontend dbus configuration in NetworkManager # so delete the conf in knetworkmanager, bili@novell.com(bnc#476502). # -f because file doesn't exist in nm09 branch anymore rm -f %{buildroot}%{_sysconfdir}/dbus-1/system.d/NetworkManager-kde4.conf %kde_post_install cd .. %find_lang libknetworkmanager %{name}.lang %find_lang knetworkmanager %{name}.lang %find_lang plasma_applet_networkmanagement %{name}.lang %if 0%{?suse_version} >= 1210 %find_lang solidcontrolnm09 %{name}.lang %endif %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %clean rm -rf %{buildroot} %files libs-lang -f %{name}.lang %files libs %defattr(-,root,root) %{_kde4_appsdir}/networkmanagement/ %{_kde4_iconsdir}/oxygen/* %{_kde4_libdir}/libknmclient.so.* %{_kde4_libdir}/libknminternals.so.* %{_kde4_libdir}/libknmservice.so.* %{_kde4_libdir}/libknmui.so.* %{_kde4_libdir}/libknm_nm.so %{_kde4_libdir}/libsolidcontrolfuture.so %{_kde4_libexecdir}/networkmanagement_configshell %{_kde4_modulesdir}/kcm_networkmanagement.so %{_kde4_modulesdir}/kcm_networkmanagement_tray.so %{_kde4_servicesdir}/kcm_networkmanagement.desktop %{_kde4_servicesdir}/kcm_networkmanagement_tray.desktop %{_kde4_servicetypesdir}/networkmanagement_vpnuiplugin.desktop %{_kde4_sharedir}/env %if 0%{?suse_version} >= 1210 %{_kde4_libdir}/libsolidcontrol*.so.* %{_kde4_modulesdir}/solid_networkmanager09.so %{_kde4_servicesdir}/solidbackends/solid_networkmanager09.desktop %{_kde4_servicetypesdir}/solidnetworkmanagernm09.desktop %{_kde4_appsdir}/desktoptheme/default/icons/network2.svgz %endif %files devel %defattr(-,root,root) %{_kde4_libdir}/libknmclient.so %{_kde4_libdir}/libknminternals.so %{_kde4_libdir}/libknmservice.so %{_kde4_libdir}/libknmui.so %if 0%{?suse_version} >= 1210 %exclude %{_kde4_libdir}/libsolidcontrolfuture.so %{_kde4_libdir}/libsolidcontrol*.so %{_includedir}/solid/* %endif %files -n plasmoid-networkmanagement %defattr(-,root,root) %{_kde4_modulesdir}/kded_networkmanagement.so %{_kde4_modulesdir}/plasma_applet_networkmanagement.so %{_kde4_modulesdir}/plasma_engine_networkmanagement.so %{_kde4_servicesdir}/kded %{_kde4_servicesdir}/plasma-applet-networkmanagement.desktop %{_kde4_servicesdir}/plasma-engine-networkmanagement.desktop %files -n NetworkManager-openvpn-kde4 %defattr(-,root,root) %{_kde4_modulesdir}/networkmanagement_openvpnui.so %{_kde4_servicesdir}/networkmanagement_openvpnui.desktop %files -n NetworkManager-vpnc-kde4 %defattr(-,root,root) %{_kde4_modulesdir}/networkmanagement_vpncui.so %{_kde4_servicesdir}/networkmanagement_vpncui.desktop %files -n NetworkManager-pptp-kde4 %defattr(-,root,root) %{_kde4_modulesdir}/networkmanagement_pptpui.so %{_kde4_servicesdir}/networkmanagement_pptpui.desktop %files -n NetworkManager-novellvpn-kde4 %defattr(-,root,root) %{_kde4_modulesdir}/networkmanagement_novellvpnui.so %{_kde4_servicesdir}/networkmanagement_novellvpnui.desktop %files -n NetworkManager-strongswan-kde4 %defattr(-,root,root) %{_kde4_modulesdir}/networkmanagement_strongswanui.so %{_kde4_servicesdir}/networkmanagement_strongswanui.desktop %if 0%{?suse_version} >= 1210 %files -n NetworkManager-openconnect-kde4 %defattr(-,root,root) %{_kde4_modulesdir}/networkmanagement_openconnectui.so %{_kde4_servicesdir}/networkmanagement_openconnectui.desktop %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