]> git.pld-linux.org Git - packages/fake.git/blob - fake.spec
b9466b612e5f87a1dff63cefc0383317ae79139f
[packages/fake.git] / fake.spec
1 # Note that this is NOT a relocatable package
2 %define ver      1.1.1
3 %define rel      1
4 %define prefix   /usr
5
6 Summary: Switches in redundant servers using arp spoofing
7 Name: fake
8 Version: %ver
9 Release: %rel
10 Copyright: GPL
11 Group: Networking/Utilities
12 Source: ftp://ftp.zipworld.com.au/pub/linux/fake/fake-%{ver}.tar.gz
13 Obsoletes: fake
14 BuildRoot: /tmp/fake-root
15 Packager: Horms <horms@zipworld.com.au>
16 URL: http://linux.zipworld.com.au/redundant_linux/
17 Docdir: %{prefix}/doc
18
19 %description
20 Fake is a utility that enables the IP address be taken over
21 by bringing up a second interface on the host machine and
22 using gratuitous arp. Designed to switch in backup servers
23 on a LAN.
24
25
26 %prep
27 %setup -n fake-%{ver}
28 make patch
29
30 %build
31 CFLAGS="${RPM_OPT_FLAGS}"
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 make ROOT_DIR=$RPM_BUILD_ROOT install
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %post
43
44 %postun
45
46 %files
47 %defattr(-,root,root)
48
49 %doc README 
50 %doc AUTHORS 
51 %doc COPYING 
52 %doc ChangeLog
53 %doc docs
54 %doc docs/arp_fun.txt
55 %doc docs/redundant_linux.txt
56 %doc docs/redundant_linux.ps.gz
57 %doc docs/redundant_linux.tar.gz
58
59 %{prefix}/bin/send_arp
60 %{prefix}/bin/fake
61 %config /etc/fake/.fakerc
62 %config /etc/fake/clear_routers
63 %config /etc/fake/instance_config/203.12.97.7.cfg
64 /etc/fake/run
This page took 0.037286 seconds and 2 git commands to generate.