Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > ba9edeaf58f2132834b24fa82816c9bc > files > 2

netmask-2.3.12-2.fc15.src.rpm

Name:           netmask
Version:        2.3.12
Release:        2%{?dist}
Summary:        Utility for determining network masks

Group:          Applications/Internet
License:        GPLv2+
URL:            http://packages.debian.org/netmask
Source0:        http://ftp.debian.org/debian/pool/main/n/netmask/%{name}_%{version}.tar.gz
# Upstreamable version sent upstream 2010-03-10
Patch0:         %{name}-optflags.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

%description
This is a handy tool for generating terse netmasks in several common
formats.  If you've ever maintained a firewall with more than a few
rules in it, you might use netmask to clean up and generalize sloppy
rules left by the network administrator before you.  It will also
convert netmasks from one format to another for the day you change
your firewall software.


%prep
%setup -q
%patch0 -p0


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_infodir}/dir


%check
make check


%clean
rm -rf $RPM_BUILD_ROOT


%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :

%preun
if [ $1 -eq 0 ] ; then
  /sbin/install-info --delete %{_infodir}/%{name}.info \
    %{_infodir}/dir 2>/dev/null || :
fi


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/netmask
%{_mandir}/man1/netmask.1*
%{_infodir}/netmask.info*


%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Mon May 10 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.3.12-1
- Update to 2.3.12 (#590609), info dir entry patch applied upstream.

* Wed Mar 10 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.3.11-1
- Update to 2.3.11.

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Wed Jul 16 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.3.10-1
- 2.3.10.

* Sat Feb  9 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.3.9-3
- Rebuild.

* Mon Aug  6 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.3.9-2
- License: GPLv2+

* Mon Mar 26 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.3.9-1
- 2.3.9.

* Wed Oct 11 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.8-1
- 2.3.8.

* Sat Sep  2 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.7-6
- Rebuild.

* Thu Feb 16 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.3.7-5
- Rebuild.

* Thu May 19 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.3.7-4
- Rebuild.

* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.3.7-3
- rebuilt

* Mon Jun 21 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3.7-0.fdr.2
- Split install-info dep into post and preun.
- Run tests in the %%check section.
- Change URL.

* Sat Sep 27 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3.7-0.fdr.1
- Update to 2.3.7.

* Tue Jul  8 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.3.6-0.fdr.1
- First build.