ALT Linux repos
Group :: Graphical desktop/GNOME
RPM: gnome-nettool
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define ver_major 2.26
Name: gnome-nettool
Version: %ver_major.1
Release: alt1
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 gnome-common
BuildPreReq: rpm-build-licenses
BuildPreReq: desktop-file-utils >= 0.8
# From configure.in
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libgtk+2-devel >= 2.5.4
BuildPreReq: libglade-devel libGConf2-devel gnome-doc-utils libgtop-devel
BuildRequires: docbook-dtds xsltproc gnome-doc-utils-xslt
%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
rm -f m4/libtool.m4 m4/lt*.m4
%build
%autoreconf
%configure \
--disable-scrollkeeper \
--disable-schemas-install
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%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
Name: gnome-nettool
Version: %ver_major.1
Release: alt1
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 gnome-common
BuildPreReq: rpm-build-licenses
BuildPreReq: desktop-file-utils >= 0.8
# From configure.in
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libgtk+2-devel >= 2.5.4
BuildPreReq: libglade-devel libGConf2-devel gnome-doc-utils libgtop-devel
BuildRequires: docbook-dtds xsltproc gnome-doc-utils-xslt
%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
rm -f m4/libtool.m4 m4/lt*.m4
%build
%autoreconf
%configure \
--disable-scrollkeeper \
--disable-schemas-install
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%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