File gnome-netstatus.spec of Package gnome-netstatus

#
# spec file for package gnome-netstatus (Version 2.12.2)
#
# 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/
#

# norootforbuild


Name:           gnome-netstatus
BuildRequires:  docbook-xsl-stylesheets fdupes gnome-common gnome-doc-utils-devel gnome-panel-devel gnutls-devel intltool libgnomeprintui-devel libwnck-devel perl-XML-Parser scrollkeeper sgml-skel update-desktop-files
Version:        2.12.2
Release:        1
Url:            http://www.gnome.org/
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        Network Information Applet for GNOME
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.12/%{name}-%{version}.tar.bz2
Patch1:         gnome-netstatus-default-configure.diff 
Requires:       gnome-icon-theme libgnomesu
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}
AutoReqProv:    on
%gconf_schemas_prereq

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



Authors:
--------
    Mark McLoughlin <mark@skynet.ie>
    Erwann Chenede <erwann.chenede@sun.com>
    Calum Benson <calum.benson@sun.com>

%lang_package
%prep
%setup -q
# rm po/no.*
# sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in
%patch1 -p1

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

%install
make install DESTDIR=$RPM_BUILD_ROOT
# FIXME: --disable-scrollkeeper is not implemented
rm -r $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%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/*.*
%{_datadir}/omf/*
%{_prefix}/lib/gnome-panel/*

%files lang -f %{name}.lang

%changelog
* Wed Oct 01 2008 mboman@suse.de
- Update to version 2.12.2:
  + Fix leak
  + Correctly install/uninstall/use named icon
  + Translation updates
* Fri Mar 07 2008 maw@suse.de
- Don't run autoreconf.
* Fri Oct 12 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Fri Mar 09 2007 maw@suse.de
- Update to version 2.12.1.
  - fixed some warnings
  - updated and added translations
* Tue Jan 30 2007 sbrabec@suse.cz
- Removed remaining references to /opt/gnome.
* Wed Dec 20 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sat Oct 14 2006 jhargadon@suse.de
- added gnome-doc-utils-devel in BuildRequires.
* Thu Jan 26 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 22 2005 sbrabec@suse.cz
- Use gnomesu for starting YaST (#8669).
* Tue Sep 06 2005 sbrabec@suse.cz
- Updated to version 2.12.0.
* Wed Aug 24 2005 gekker@suse.de
- Updated to version 2.11.92
- Update nfb and install scrollkeeper docs
* Wed Aug 03 2005 sbrabec@suse.cz
- Updated to version 2.11.90.
* Tue Jun 21 2005 gekker@suse.de
- Update to version 2.11.1
* Mon Jun 13 2005 ro@suse.de
- change specfile to build (rm -r -> rm -rf)
* Thu Mar 10 2005 gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
* Mon Jan 24 2005 clahey@suse.de
- Updated to version 2.9.4.
* Wed Nov 03 2004 ro@suse.de
- locale rename: no -> nb
* Tue Oct 12 2004 sbrabec@suse.cz
- Fixed libexecdir for bi-arch (#47050).
* Wed Jun 23 2004 sragavan@suse.de
- Fixed the configure button popup from network-admin to yast2
* Tue May 11 2004 sbrabec@suse.cz
- Fixed gconftool-2 prerequirements.
* Thu May 06 2004 sbrabec@suse.cz
- New SuSE package, version 2.6.1 (GNOME 2.6).
openSUSE Build Service is sponsored by