File NetworkManager-gnome.spec of Package NetworkManager-gnome

# spec file for package NetworkManager-gnome (Version 0.7.0.r1053)
# Copyright (c) 2010 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

Name:           NetworkManager-gnome
Version:        0.7.0.r1053
Release:        11.<RELEASE2>
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  NetworkManager-devel NetworkManager-glib PolicyKit-gnome-devel dbus-1-devel dbus-1-glib gconf2-devel gnome-keyring-devel gtk2-devel hal-devel intltool libglade2-devel libgnomeui-devel libnotify-devel libtool update-desktop-files
Group:          System/GUI/GNOME
Summary:        GNOME applications for use with NetworkManager
Source:         nm-applet-%{version}.tar.bz2
Source1:        nm-icons.tar.gz
Patch0:         nma-autostart-only-in-gnome.patch
%if 0%{?suse_version} == 1100
Patch1:         nma-build-fix-opensuse110.patch
Patch1:         nma-build-fix.patch
Patch2:         nm-applet-r1053-use-modem-manager.patch
Patch3:         nma-fallback.patch
Patch4:         nma-ca-system-certs.patch
Patch5:         nma-no-show-password.patch
Patch6:         nma-wired-certs.patch
Patch7:         nma-nag-segfault.patch
Patch8:         nma-wpa-eap-ttls-inner-auth.patch
Patch9:         nma-dbus-permissions.patch
Patch10:        nma-cve-2009-0578.patch
Patch11:        nma-brc546793.patch
Patch12:        nma-brc546117.patch
Provides:       NetworkManager-client
Requires:       NetworkManager >= 0.7.0.r4359
Requires:       hal >= 0.5.0

This package contains GNOME utilities and applications for use with
NetworkManager, including a panel applet for wireless networks.

    Dan Williams <>
    Robert Love <>

%setup -n nm-applet-0.7.0 -a 1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1

autoreconf -f -i
%configure \
# parallel build is broken
# make %{?jobs:-j%jobs}

%suse_update_desktop_file nm-applet
%suse_update_desktop_file nm-connection-editor
%find_lang nm-applet
cp -r nm-icons/* $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/

rm -rf "$RPM_BUILD_ROOT"

%files -f nm-applet.lang