File ip_resend.spec of Package ip_resend
#
# spec file for package ip_resend (Version 0.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ip_resend
License: GPL v2 or later
Group: Productivity/Networking/PPP
AutoReqProv: on
Url: http://www.baty.hanse.de/ip_resend
Version: 0.4
Release: 111
Summary: Demand Dial Accelerator
Source: ip_resend-0.4.tar.bz2
Patch: ip_resend-0.4.diff
Patch1: ip_resend-fhs.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The response to the first packet sent through a demand dial PPP link is
usually lost, especially with dynamic IP assignment, but also if
dial-up takes a long time. The upper layers recover from such loss only
after a noticeable delay. Ip_resend eliminates such delays by resending
the first packet with adjusted IP addresses as soon as the link becomes
operational.
Authors:
--------
Henner Eisen <eis@baty.hanse.de>
%prep
%setup
%patch -p1
%patch1 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
make CFLAGS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT/usr/sbin
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8
make DESTDIR=$RPM_BUILD_ROOT install
install -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
install -m 644 README.de $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
install -m 644 README $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
%files
%defattr(-,root,root,-)
%dir /var/run/ip_resend
%doc %{_defaultdocdir}/%{name}
%doc /usr/share/man/man8/ip_resend.8.gz
%doc /usr/share/man/man8/ip_resend_wakeup.8.gz
/usr/sbin/ip_resend
/usr/sbin/ip_resend_wakeup
%changelog
* Sat Jul 26 2008 aj@suse.de
- make README files non-executable.
* Wed Feb 15 2006 kkeil@suse.de
- fix wrong format strings (#150559)
- fix many other compiler warnings
- recode german text to UTF8
- rebase to version 0.4
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Nov 03 2005 dmueller@suse.de
- don't build as root
* Thu Jun 12 2003 kukuk@suse.de
- Fix filelist
* Wed Feb 05 2003 kkeil@suse.de
- make it FHS 2.2 conform /var/ip_resend --> /var/run/ip_resend
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Fri Aug 16 2002 ro@suse.de
- removed empty post scripts (#17880)
* Fri Mar 30 2001 kkeil@suse.de
- new package possible to avoid problems like BUG 3849