File gnome-netstatus.spec of Package gnome-netstatus

#
# spec file for package gnome-netstatus (Version 2.28.0)
#
# Copyright (c) 2009 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:           gnome-netstatus
Version:        2.28.0
Release:        1
License:        GPL v2 or later
Summary:        Network Information Applet for GNOME
Url:            http://www.gnome.org/
Group:          System/GUI/GNOME
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.12/%{name}-%{version}.tar.bz2
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
Patch1:         gnome-netstatus-default-configure.diff
BuildRequires:  fdupes
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnome-panel-devel
BuildRequires:  intltool
#BuildRequires:  libglade2-devel
BuildRequires:  scrollkeeper
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Requires:       %{name}-lang = %{version}
Requires:       gnome-icon-theme
Requires:       libgnomesu
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq

%description
This package contains an applet that provides information about a
network interface on your panel.

%lang_package
%prep
%setup -q
translation-update-upstream
%patch1 -p1

%build
%configure\
	--libexecdir=%{_prefix}/lib/gnome-panel\
	--disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
# Some doc translations are not ported to gnome-doc-utils, so we still have to
# do this. When this won't be needed anymore, we'll be able to remove
# scrollkeeper from BuildRequires.
rm -r %{buildroot}%{_localstatedir}/scrollkeeper
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_libdir}/bonobo/servers/*.server
%{_datadir}/gnome-2.0/ui/*
%{_datadir}/gnome-netstatus
%{_datadir}/icons/hicolor/48x48/apps/*.*
%{_prefix}/lib/gnome-panel/*

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by