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