]> git.pld-linux.org Git - packages/fake.git/blob - fake.spec
- removed %%{_sysconfdir}/fake/run from files (seems not neccessary).
[packages/fake.git] / fake.spec
1 Summary:        Switches in redundant servers using arp spoofing
2 Name:           fake
3 Version:        1.1.6
4 Release:        1
5 License:        GPL
6 Group:          Networking/Utilities
7 Group(de):      Netzwerkwesen/Werkzeuge
8 Group(pl):      Sieciowe/Narzêdzia
9 Source0:        ftp://ftp.vergenet.net/pub/fake/%{version}/%{name}-%{version}.tar.gz
10 URL:            http://www.ca.us.vergenet.net/linux/fake/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Fake is a simple utility designed to enable the switching in of backup
15 servers on a LAN. For example, fake can be used to switch in backup
16 mail, Web, and proxy servers during periods of both unscheduled and
17 scheduled down time. Fake works by bringing up an additional interface
18 and using ARP spoofing to take over the IP address of another machine
19 on the LAN. The additional interface can be a physical interface or a
20 logical interface (an IP alias). Fake is configurable and can be
21 automated using systems that monitor the availability of servers (like
22 Heartbeat and Heart).
23
24 %prep
25 %setup -q
26 %{__make} patch
27
28 %build
29 %{__make} CC="%{__cc} %{rpmcflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} ROOT_DIR=$RPM_BUILD_ROOT install
35
36 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/fake/run/CVS
37
38 gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc *.gz docs/*.txt.gz
46 %config %{_sysconfdir}/fake/.fakerc
47 %config %{_sysconfdir}/fake/clear_routers
48 %config %{_sysconfdir}/fake/instance_config/203.12.97.7.cfg
49 %attr(755,root,root) %{_bindir}/send_arp
50 %attr(755,root,root) %{_bindir}/fake
This page took 0.071112 seconds and 3 git commands to generate.