LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File plasma-nm.spec of Package plasma-nm (Project KDE:Unstable:SC)

#
# spec file for package rekonq (Version git)
#
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
#
# 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.
# 

# norootforbuild

BuildRequires:      libkde4-devel
BuildRequires:      libNetworkManagerQt-devel
BuildRequires:      libModemManagerQt-devel
BuildRequires:      NetworkManager-devel
BuildRequires:      NetworkManager-kde4-libs

Name:               plasma-nm
Summary:            A Lightweight Network Management plasmoid for KDE4
Version:            0.60.git
Release:            1
License:            GPL-2.0
Group:              Productivity/Networking
Source0:            %{name}-%{version}.tar.bz2
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
Requires:           mobile-broadband-provider-info

%description
A new lightweight plasmoid to manage the network connections in KDE


%lang_package
%prep 
%setup -qn %{name}-%{version}

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %kde4_makeinstall
  cd ..
  %kde_post_install
  %suse_update_desktop_file -r kde-nm-connection-editor KDE System X-SuSE-ServiceConfiguration 
  mkdir -p %{buildroot}%{_kde4_iconsdir}/hicolor/32x32/apps
  cp -r %{_kde4_iconsdir}/oxygen/32x32/devices/network-defaultroute.png %{buildroot}%{_kde4_iconsdir}/hicolor/32x32/apps/network-defaultroute.png

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc LICENSE
%dir %{_kde4_modulesdir}/imports
%dir %{_kde4_modulesdir}/imports/org
%dir %{_kde4_modulesdir}/imports/org/kde
%dir %{_kde4_appsdir}/desktoptheme/
%dir %{_kde4_appsdir}/desktoptheme/default
%dir %{_kde4_appsdir}/desktoptheme/default/icons
%dir %{_kde4_appsdir}/plasma/plasmoids
%dir %{_kde4_modulesdir}/plugins
%dir %{_kde4_modulesdir}/plugins/designer
%{_kde4_appsdir}/plasma/plasmoids/org.kde.plasma-nm/
%{_kde4_modulesdir}/imports/org/kde/plasmanm/
%{_kde4_appsdir}/desktoptheme/default/icons/plasma-nm.svgz
%{_kde4_appsdir}/plasma-nm/
%{_kde4_servicesdir}/plasma-applet-nm.desktop
%{_kde4_bindir}/kde-nm-connection-editor
%{_kde4_applicationsdir}/kde-nm-connection-editor.desktop
%{_kde4_iconsdir}/hicolor/*/apps/*png
%{_kde4_modulesdir}/plasmanm_vpncui.so
%{_kde4_servicesdir}/plasmanm_vpncui.desktop
%{_kde4_servicetypesdir}/plasma-nm-vpnuiplugin.desktop
%{_kde4_modulesdir}/kded_plasmanm.so
%{_kde4_libdir}/libplasmanm-internal.so*
%{_kde4_libdir}/libplasmanm-editor.so
%{_kde4_servicesdir}/kded/plasmanm.desktop
%{_kde4_modulesdir}/kcm_network.so
%{_kde4_servicesdir}/kcm_network.desktop
%{_kde4_modulesdir}/plasma_nm_notifications.so
%{_kde4_servicesdir}/plasma_nm_notifications.desktop
%{_kde4_modulesdir}/plugins/designer/plasmanmwidgets.so

%changelog