Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > a222c12fa71cb2a8f17c9013bf342e2a > files > 2

fake-1.1.8-3mdk.src.rpm

%define version      1.1.8
%define release      3mdk

Summary: 	Switches in redundant servers using arp spoofing
Name: 		fake
Version: 	%{version}
Release: 	%{release}
license: 	GPL
Group: 		Networking/Other
Source: http://www.vergenet.net/linux/fake/download/%{version}/fake-%{version}.tar.bz2
Obsoletes: 	fake
BuildRoot:      %{_tmppath}/%{name}-%{version}
URL: 		http://www.vergenet.net/linux/fake/

%description
Fake is a utility that enables the IP address be taken over
by bringing up a second interface on the host machine and
using gratuitous arp. Designed to switch in backup servers
on a LAN.


%prep
%setup -n fake-%{version}
#%patch -p1

%build
make patch
make CFLAGS="$RPM_OPT_FLAGS -s"

%install
rm -rf $RPM_BUILD_ROOT

make ROOT_DIR=$RPM_BUILD_ROOT MAN8_DIR=$RPM_BUILD_ROOT/%{_mandir}/man8 install
rm -rf $RPM_BUILD_ROOT/usr/doc/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc COPYING AUTHORS README ChangeLog docs/* instance_config/* heartbeat/fake
%{_prefix}/sbin/*
%{_mandir}/man8/*
%config(noreplace) %{_sysconfdir}/fake/instance_config
%config(noreplace) %{_sysconfdir}/fake/.fakerc
%config(noreplace) %{_sysconfdir}/fake/clear_routers
%{_libdir}/heartbeat/fake

%changelog
* Mon Aug 18 2003 Antoine Ginies <aginies@bi.mandrakesoft.com> 1.1.8-3mdk
- rebuild 9.2

* Thu Feb 27 2003 Antoine Ginies <aginies@mandrakesoft.com> 1.1.8-2mdk
- rebuild
* Tue Jan 07 2003 Clic-dev <clic-dev-public@mandrakesoft.com> 1.1.8-1mdk
- based on Horms <horms@verge.net.au> spec file
- first release for Mandrakesoft