netwag/netwag.spec

Name: netwag
Summary: Graphical network toolbox
Version: 5.35.0
Release: 1
License: GPL
Group: Applications/Internet
URL: http://www.laurentconstantin.com/en/netw/netwox/
Description: Netwag is a graphical network toolbox based on netwox.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Laurent Constantin <laurent,constantin$aql,fr>

Summary: Graphical network toolbox
Name: netwag
Version: 5.35.0
Release: 1%{?dist}
License: GPL
Group: Applications/Internet
URL: http://www.laurentconstantin.com/en/netw/netwox/

Source: http://www.laurentconstantin.com/common/netw/netwag/download/v5/netwag-%{version}-src.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: netwox, netwib, tcl, tk, xterm
Requires: netwox

%description
Netwag is a graphical network toolbox based on netwox.

%prep
%setup -n %{name}-%{version}-src
%{__perl} -pi -e 's|^NETWIBDEF_INSTPREFIX=.*|NETWIBDEF_INSTPREFIX=%{_prefix}|g;' src/config.dat
%{__perl} -pi -e 's|^NETWOXDEF_INSTPREFIX=.*|NETWOXDEF_INSTPREFIX=%{_prefix}|g;' src/config.dat

%build
cd src
./genemake
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
cd src
%makeinstall INSTINCLUDE=%{buildroot}%{_includedir} INSTLIB=%{buildroot}%{_libdir} INSTBIN=%{buildroot}%{_bindir} INSTMAN3=%{buildroot}%{_mandir}/man3 INSTMAN1=%{buildroot}%{_mandir}/man1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc INSTALL.TXT README.TXT
%doc %{_mandir}/man1/netwag*
%{_bindir}/netwag*

%changelog
* Sun Nov 12 2006 Dries Verachtert <dries@ulyssis.org> - 5.35.0-1
- Updated to release 5.35.0.

* Fri Apr 07 2006 Dries Verachtert <dries@ulyssis.org> - 5.34.0-1
- Updated to release 5.34.0.

* Wed Dec 21 2005 Dries Verachtert <dries@ulyssis.org> - 5.33.0-1
- Updated to release 5.33.0.

* Sun Nov 27 2005 Dries Verachtert <dries@ulyssis.org> - 5.32-1
- Initial package.