]> git.pld-linux.org Git - packages/fake.git/blame - fake.spec
- standarized line with BuildRoot field:
[packages/fake.git] / fake.spec
CommitLineData
455c16c5 1# Note that this is NOT a relocatable package
2%define ver 1.1.1
3%define rel 1
4%define prefix /usr
5
6Summary: Switches in redundant servers using arp spoofing
7Name: fake
8Version: %ver
9Release: %rel
10Copyright: GPL
11Group: Networking/Utilities
12Source: ftp://ftp.zipworld.com.au/pub/linux/fake/fake-%{ver}.tar.gz
13Obsoletes: fake
2188ef2e 14BuildRoot: /tmp/%{name}-%{version}-root
455c16c5 15Packager: Horms <horms@zipworld.com.au>
16URL: http://linux.zipworld.com.au/redundant_linux/
17Docdir: %{prefix}/doc
18
19%description
20Fake is a utility that enables the IP address be taken over
21by bringing up a second interface on the host machine and
22using gratuitous arp. Designed to switch in backup servers
23on a LAN.
24
25
26%prep
27%setup -n fake-%{ver}
28make patch
29
30%build
31CFLAGS="${RPM_OPT_FLAGS}"
32make
33
34%install
35rm -rf $RPM_BUILD_ROOT
36
37make ROOT_DIR=$RPM_BUILD_ROOT install
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%post
43
44%postun
45
46%files
a9522505 47%defattr(-,root,root)
455c16c5 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.049025 seconds and 4 git commands to generate.