File gnome-nettool.spec of Package gnome-nettool
#
# spec file for package gnome-nettool (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-nettool
Version: 2.28.0
Release: 1
License: GPL v2 or later
Summary: GNOME Interface for Various Networking Tools
Url: http://www.gnome.org
Group: System/GUI/GNOME
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libgtop-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNOME Nettool is a set of front-ends to various networking command line
tools, like ping, netstat, ifconfig, whois, traceroute, and finger.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure\
--libexecdir=%{_prefix}/lib/%{name}\
--disable-scrollkeeper
make %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file -G "Network Information" gnome-nettool Network Settings
%find_lang %{name}
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/gnome-nettool
%{_datadir}/applications/gnome-nettool.desktop
%{_datadir}/gnome-nettool
%{_datadir}/icons/hicolor/*/apps/gnome-nettool.png
%{_datadir}/icons/hicolor/scalable/apps/gnome-nettool.svg
%files lang -f %{name}.lang
%changelog