File cheops-ng.spec of Package cheops-ng
Name: cheops-ng
Version: 0.2.3
Release: 1
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Productivity/Networking/Diagnostic
Summary: Network management tool for mapping and monitoring your network
URL: http://cheops-ng.sourceforge.net/
Source: http://prdownloads.sourceforge.net/cheops-ng/%{name}-%{version}.tgz
BuildRequires: autoconf automake bison gnome-libs-devel libadns-devel libxml-devel
BuildRequires: gtk-devel imlib-devel libtiff-devel giflib-progs
# Just for build tests
BuildRequires: tree
Requires: nmap
Packager: Mauricio Teixeira <mteixeira@webset.net>
%description
Network management tool for mapping and monitoring your network. It has
host/network discovery functionality as well as OS detection of hosts.
Cheops-ng has the ability to probe hosts to see what services they are
running. On some services, cheops-ng is actually able to see what program
is running for a service and the version number of that program.
%prep
%setup -q
%build
CFLAGS="%{optflags}" \
%configure || cat config.log || cat configure.log
export PATH=$PATH:/opt/gnome/bin
make XCFLAGS="%{optflags}" || (cd adns-1.0/ ; (cat config.log || cat configure.log) ; tree /opt/gnome)
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
make install DESTDIR=%{buildroot}
tree ${buildroot}
ls -lR %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{prefix}/bin/cheops-ng
%{prefix}/bin/cheops-agent
%{prefix}/share/pixmaps/cheops-ng.xpm
%{prefix}/share/cheops-ng/pixmaps/*
%{prefix}/share/gnome/apps/Internet/cheops-ng.desktop
%{prefix}/share/gnome/ximian/Programs/Internet/cheops-ng.desktop