Blob Blame History Raw
Name:           aggregate
Version:        1.6
Release:        3%{?dist}
Summary:        IPv4 CIDR prefix aggregator

License:        ISC
URL:            http://ftp.isc.org/isc/aggregate/
Source0:        http://ftp.isc.org/isc/aggregate/aggregate-%{version}.tar.gz
Patch0:         aggregate-fedora.patch

%description
aggregate takes a list of prefixes in conventional format on stdin, 
and performs two optimizations to attempt to reduce the length of 
the prefix list.


%package ios
Summary: Cisco/IOS IPv4 prefix lists aggregator
Requires: aggregate
BuildArch: noarch

%description ios
aggregate-ios takes Cisco IOS configuration on stdin, and optimizes 
any prefix filters found using aggregate.

%prep
%setup -q
chmod -x LICENSE
%patch0 -p1 -b .fedora


%build
%configure
make %{?_smp_mflags}


%install
make install DESTDIR=$RPM_BUILD_ROOT


%files
%{_bindir}/aggregate
%{_mandir}/man1/aggregate.1.*
%doc HISTORY LICENSE

%files ios
%{_bindir}/aggregate-ios
%{_mandir}/man1/aggregate-ios.1.*


%changelog
* Mon May 20 2013 Yanko Kaneti <yaneti@declera.com> 1.6-3
- Make the -ios subpackage noarch

* Fri Dec  9 2011 Yanko Kaneti <yaneti@declera.com> 1.6-2
- Some changes suggested by review comment #1

* Fri May 20 2011 Yanko Kaneti <yaneti@declera.com> 1.6-1
- First attempt at packaging.