56 lines
1.7 KiB
RPMSpec
56 lines
1.7 KiB
RPMSpec
|
Name: mtr
|
||
|
Version: 0.85
|
||
|
Release: 1mamba
|
||
|
Summary: The functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool
|
||
|
Group: Network/Monitoring
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.bitwizard.nl/mtr/
|
||
|
Source: ftp://ftp.bitwizard.nl/mtr/mtr-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libatk-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libfontconfig-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libgdk-pixbuf-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgtk2-devel
|
||
|
BuildRequires: libncurses-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libtermcap-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
mtr combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool.
|
||
|
As mtr starts, it investigates the network connection between the host mtr runs on and a user-specified destination host. After it determines the address of each network hop between the machines, it sends a sequence ICMP ECHO requests to each one to determine the quality of the link to each machine. As it does this, it prints running statistics about each machine.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_sbindir}/mtr
|
||
|
%{_mandir}/man8/mtr.8*
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%changelog
|
||
|
* Wed Jul 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.85-1mamba
|
||
|
- package created using the webbuild interface
|