File gnome-netstatus.spec of Package gnome-netstatus

#
# spec file for package gnome-netstatus
#
# Copyright (c) 2011 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.2
Release:        3
License:        GPLv2+
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:       gnome-icon-theme
Requires:       libgnomesu
Recommends:     %{name}-lang
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\
	--disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
# 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} %{?no_lang_C}
%find_gconf_schemas
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%pre -f %{name}.schemas_pre

%post
%icon_theme_cache_post

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%postun
%icon_theme_cache_postun

%files -f %{name}.schemas_list
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%{_libdir}/bonobo/servers/GNOME_NetstatusApplet_Factory.server
%{_datadir}/gnome-2.0/ui/GNOME_NetstatusApplet.xml
%{_datadir}/gnome-netstatus/
%{_datadir}/icons/hicolor/48x48/apps/gnome-netstatus-*.png
%{_libexecdir}/gnome-netstatus-applet

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by