Blob Blame History Raw
Name:		ipv6calc
Version:	0.47
Release:	3.1
Summary:	IPv6 address format change and calculation utility
License:	GPL
Group:		Applications/Text
URL:		http://www.deepspace6.net/projects/%{name}.html
Source:		ftp://ftp.deepspace6.net/pub/ds6/sources/%{name}/%{name}-%{version}.tar.gz
Requires:	krb5-libs, openssl
BuildRequires:	krb5-devel, openssl-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
ipv6calc is a small utility which formats and calculates IPv6 addresses in
different ways.

Install this package, if you want to extend the existing address detection
on IPv6 initscript setup or make life easier in adding reverse IPv6 zones to DNS
or using in DNS queries like
 dig -t ANY `ipv6calc -r 3ffe:ffff:100::1/48`
Many more format conversions are supported, see given URL for more.

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS"
%configure
make clean
sh configure
make COPTS="$RPM_OPT_FLAGS"
make test

%install
#make installonly root=${RPM_BUILD_ROOT}
make install root=${RPM_BUILD_ROOT}

%clean
rm -rf ${RPM_BUILD_ROOT}
#rm -rf $RPM_BUILD_DIR/%{name}-%{version}

%files
%defattr(-,root,root)
%doc ChangeLog README CREDITS TODO COPYING LICENSE
%doc examples/analog/analog-dist.cfg examples/analog/run_analog.sh examples/analog/ipv6calc.tab ipv6calcweb/ipv6calcweb.cgi examples/analog/analog-ipv6calc-descriptions.txt examples/analog/analog-dist-combined.cfg
/bin/ipv6*
%{_bindir}/ipv6*
%{_mandir}/man8/ipv6*

%changelog
* Mon Oct 18 2004 Radek Vokal <rvokal@redhat.com> 0.47-3
- initial build for Fedora Core

* Mon Aug 23 2004 Robert Scheck <redhat@linuxnetz.de> 0.47-2
- Updated URLs
- Fixed openssl and krb5 support and requirements

* Sun Jan 11 2004 Robert Scheck <redhat@linuxnetz.de> 0.47-1
- Update to 0.47
- Rewrite of the spec file

* Sat Oct 11 2003 Robert Scheck <redhat@linuxnetz.de> 0.46-1
- Update to 0.46
- Spec file for Red Hat Linux based on that one from SuSE