File NetworkManager-kde4.spec of Package NetworkManager-kde4

#
# spec file for package NetworkManager-kde4 (Version 0.7)
#
# Copyright (c) 2008 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/
#


Url:            http://www.kde.org

Name:           NetworkManager-kde4
BuildRequires:  NetworkManager-devel kdebase4-workspace-devel
Version:        0.7
Release:        9
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/GUI/KDE
Summary:        NetworkManager client for KDE 4
Source0:        knetworkmanager-4.1-openSUSE.tar.bz2
Requires:       %{name}-lang = %{version}
%kde4_runtime_requires

%description
KNetworkManager is a KDE 4 applet and connection editor for controlling
network connections on systems that use the NetworkManager daemon.



Authors:
--------
    Will Stephenson <wstephenson@novell.com>

%ifnarch s390 s390x

%package -n NetworkManager-openvpn-kde4
License:        GPL v2 or later
Summary:        NetworkManager client for KDE 4
Group:          System/GUI/KDE
Provides:       NetworkManager-openvpn-frontend
Requires:       %{name} = %{version}-%{release}
Requires:       NetworkManager-openvpn

%description -n NetworkManager-openvpn-kde4
KNetworkManager is a KDE 4 applet and connection editor for controlling
network connections on systems that use the NetworkManager daemon.



Authors:
--------
    Will Stephenson <wstephenson@novell.com>

%endif

%package -n NetworkManager-vpnc-kde4
License:        GPL v2 or later
Summary:        NetworkManager client for KDE 4
Group:          System/GUI/KDE
Provides:       NetworkManager-vpnc-frontend
Requires:       %{name} = %{version}-%{release}
Requires:       NetworkManager-vpnc

%description -n NetworkManager-vpnc-kde4
Cisco VPN plugin for the KNetworkManager KDE 4 applet and connection
editor for controlling network connections on systems that use the
NetworkManager daemon.



Authors:
--------
    Will Stephenson <wstephenson@novell.com>

%prep
%setup -q -n knetworkmanager-4.1-openSUSE

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  %kde_post_install
%ifarch s390 s390x
rm -f $RPM_BUILD_ROOT/%_kde4_modules/knetworkmanager4_openvpnui.so
rm -f $RPM_BUILD_ROOT/%{_datadir}/kde4/services/knetworkmanager4_openvpnui.desktop
%endif

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%_kde_share_dir/services/kcm_knetworkmanager.desktop
%{_datadir}/kde4/services/kded/knetworkmanager.desktop
%{_datadir}/kde4/services/plasma-applet-networkmanager.desktop
%{_datadir}/kde4/apps/knetworkmanager
%{_datadir}/kde4/apps/desktoptheme/default/networkmanager
%_kde4_modules/kcm_knetworkmanager.so
%_kde4_modules/kded_knetworkmanager.so
%_kde4_modules/plasma_applet_networkmanager.so
%_libdir/libknmstorage.so*
%_libdir/libknmui.so*
%_libdir/libknmdbus.so*
%{_datadir}/kde4/servicetypes/knetworkmanager4_vpnuiplugin.desktop
/usr/share/icons/oxygen/*/apps/networkmanager.*
/usr/share/icons/oxygen/*/actions/accesspoint.*
/usr/%_lib/kde4/libexec/knetworkmanager_configshell
%ifnarch s390 s390x

%files -n NetworkManager-openvpn-kde4
%defattr(-,root,root)
%_kde4_modules/knetworkmanager4_openvpnui.so
%{_datadir}/kde4/services/knetworkmanager4_openvpnui.desktop
%endif

%files -n NetworkManager-vpnc-kde4
%defattr(-,root,root)
%_kde4_modules/knetworkmanager4_vpncui.so
%{_datadir}/kde4/services/knetworkmanager4_vpncui.desktop

%changelog
* Fri Nov 28 2008 ro@suse.de
- disable openvpn addon for s390 s390x
  (required package does not exist there for whatever reason)
* Sat Nov 22 2008 stbinner@suse.de
- update from knetworkmanager-4.1-openSUSE branch
* Wed Nov 19 2008 stbinner@suse.de
- update from knetworkmanager-4.1-openSUSE branch
* Fri Nov 14 2008 stbinner@suse.de
- update from knetworkmanager-4.1-openSUSE branch:
  * compress notification for networks (dis)appearing
  * fix appearance of wifi networks
  * layout fixes and several tooltips added
* Thu Nov 13 2008 stbinner@suse.de
- backport networkmanager plasmoid trunk changes/fixes
- fix wrong popup position, missing icons and translation loading
- add tooltip
* Sun Nov 09 2008 jpr@novell.com
- Fix build with latest NM checkin with upstream patch
  nm-kde4-settings.patch (r882028)
* Fri Nov 07 2008 stbinner@suse.de
- add requirement on NetworkManager-kde4-lang
* Thu Nov 06 2008 wstephenson@suse.de
- Update
  * Switch to drawing the plasmoid interface with QWidget for
  KDE 4.1
  * Add VPN plugin UIs
* Mon Oct 27 2008 wstephenson@suse.de
- React to changes in the wireless environment
* Wed Oct 22 2008 wstephenson@suse.de
- Update
  * Milestone 3 - Everyday connectivity
    - WPA-PSK, WEP wireless security
  * Plasmoid
* Mon Oct 13 2008 wstephenson@suse.de
- Update
  * Milestone 2 - Basic connectivity
    - Wired networks
    - Unsecured wifi
* Tue Sep 30 2008 aj@suse.de
- Fix filelist for debug builds.
* Tue Sep 30 2008 aj@suse.de
- Fix filelist.
* Mon Sep 29 2008 will@suse.de
- Build with NM 0.7-r4060
* Fri Sep 19 2008 wstephenson@suse.de
- Initial package
  * Milestone 1 - All major components in place,
  minimal functionality
openSUSE Build Service is sponsored by