Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 6e2d129ad5584313f28956740965628c > files > 2

fake-1.1.8-2mdk.src.rpm

%define version      1.1.8
%define release      2mdk

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
* 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