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