]> git.pld-linux.org Git - packages/fake.git/blame - fake.spec
- changed all BuildRoot definitons
[packages/fake.git] / fake.spec
CommitLineData
f4bd6f7f 1Summary: Switches in redundant servers using arp spoofing
2Name: fake
18bc49b3 3Version: 1.1.2
f4bd6f7f 4Release: 2
5Copyright: GPL
6Group: Networking/Utilities
8c753cd4 7Source: ftp://ftp.zipworld.com.au/pub/linux/fake/%{name}-%{version}.tar.gz
f4bd6f7f 8URL: http://linux.zipworld.com.au/redundant_linux/
3d0a2db4 9BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
455c16c5 10
11%description
f4bd6f7f 12Fake is a utility that enables the IP address be taken over by bringing up a
13second interface on the host machine and using gratuitous arp. Designed to
14switch in backup servers on a LAN.
455c16c5 15
16%prep
f4bd6f7f 17%setup -q
455c16c5 18make patch
19
20%build
8c753cd4 21make CC="gcc $RPM_OPT_FLAGS"
455c16c5 22
23%install
24rm -rf $RPM_BUILD_ROOT
25
26make ROOT_DIR=$RPM_BUILD_ROOT install
27
8c753cd4
JR
28rm -rf $RPM_BUILD_ROOT/etc/fake/run/CVS
29
30gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
f4bd6f7f 31
455c16c5 32%clean
33rm -rf $RPM_BUILD_ROOT
34
455c16c5 35%files
f4bd6f7f 36%defattr(644,root,root,755)
37%doc *.gz docs/*.txt.gz
8c753cd4
JR
38%attr(755,root,root) %{_bindir}/send_arp
39%attr(755,root,root) %{_bindir}/fake
455c16c5 40%config /etc/fake/.fakerc
41%config /etc/fake/clear_routers
42%config /etc/fake/instance_config/203.12.97.7.cfg
43/etc/fake/run
This page took 0.072275 seconds and 4 git commands to generate.