ALT Linux repos
Group :: Graphical desktop/GNOME
RPM: gnome-nettool
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define ver_major 2.22
Name: gnome-nettool
Version: %ver_major.0
Release: alt0.M41.1
Summary: GNOME interface for various networking tools
License: %gpl2only
Group: Graphical desktop/GNOME
Url: http://www.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Obsoletes: gnome-netinfo
Provides: gnome-netinfo = %version-%release
Requires: net-tools
Requires: iputils
Requires: traceroute
BuildPreReq: rpm-build-gnome >= 0.6
BuildPreReq: rpm-build-licenses
BuildPreReq: desktop-file-utils >= 0.8
# From configure.in
BuildPreReq: automake >= 1.9
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libgtk+2-devel >= 2.5.4
BuildPreReq: libglade-devel libGConf2-devel gnome-doc-utils
BuildRequires: docbook-dtds xsltproc gnome-doc-utils-xslt
BuildRequires: rpm-build-compat >= 0.95
%description
GNOME Nettool is a set of front-ends to various networking command-line
tools, like ping, netstat, ifconfig, whois, traceroute, finger.
%prep
%setup -q
# don't run gtk_update_icon_cache
subst '/install-data-hook: update-icon-cache/d' pixmaps/icons/Makefile.in
%build
%configure \
--disable-scrollkeeper \
--disable-schemas-install
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%post
%update_scrollkeeper
%update_desktopdb
%update_menus
%postun
%clean_scrollkeeper
%clean_desktopdb
%clean_menus
%files -f %name.lang
%_bindir/*
%_desktopdir/*
%_datadir/%name
#icons
%_iconsdir/hicolor/16x16/apps/%name.png
%_iconsdir/hicolor/22x22/apps/%name.png
%_iconsdir/hicolor/24x24/apps/%name.png
%_iconsdir/hicolor/32x32/apps/%name.png
%_iconsdir/hicolor/scalable/apps/%name.svg
%doc README NEWS TODO ChangeLog
%changelog
…
Full changelog you can see here
#
%define ver_major 2.22
Name: gnome-nettool
Version: %ver_major.0
Release: alt0.M41.1
Summary: GNOME interface for various networking tools
License: %gpl2only
Group: Graphical desktop/GNOME
Url: http://www.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Obsoletes: gnome-netinfo
Provides: gnome-netinfo = %version-%release
Requires: net-tools
Requires: iputils
Requires: traceroute
BuildPreReq: rpm-build-gnome >= 0.6
BuildPreReq: rpm-build-licenses
BuildPreReq: desktop-file-utils >= 0.8
# From configure.in
BuildPreReq: automake >= 1.9
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libgtk+2-devel >= 2.5.4
BuildPreReq: libglade-devel libGConf2-devel gnome-doc-utils
BuildRequires: docbook-dtds xsltproc gnome-doc-utils-xslt
BuildRequires: rpm-build-compat >= 0.95
%description
GNOME Nettool is a set of front-ends to various networking command-line
tools, like ping, netstat, ifconfig, whois, traceroute, finger.
%prep
%setup -q
# don't run gtk_update_icon_cache
subst '/install-data-hook: update-icon-cache/d' pixmaps/icons/Makefile.in
%build
%configure \
--disable-scrollkeeper \
--disable-schemas-install
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%post
%update_scrollkeeper
%update_desktopdb
%update_menus
%postun
%clean_scrollkeeper
%clean_desktopdb
%clean_menus
%files -f %name.lang
%_bindir/*
%_desktopdir/*
%_datadir/%name
#icons
%_iconsdir/hicolor/16x16/apps/%name.png
%_iconsdir/hicolor/22x22/apps/%name.png
%_iconsdir/hicolor/24x24/apps/%name.png
%_iconsdir/hicolor/32x32/apps/%name.png
%_iconsdir/hicolor/scalable/apps/%name.svg
%doc README NEWS TODO ChangeLog
%changelog
…
Full changelog you can see here