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