"Fossies" - the Fresh Open Source Software Archive

Member "fake-1.1.11/fake.spec" (8 Jul 2009, 1278 Bytes) of package /linux/misc/old/fake-1.1.11.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Note that this is NOT a relocatable package
    2 %define ver      1.1.8
    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: http://www.vergenet.net/linux/fake/download/%{ver}/fake-%{ver}.tar.gz
   13 Obsoletes: fake
   14 BuildRoot: /tmp/fake-root
   15 Packager: Horms <horms@verge.net.au>
   16 URL: http://www.vergenet.net/linux/fake/
   17 
   18 %description
   19 Fake is a utility that enables the IP address be taken over
   20 by bringing up a second interface on the host machine and
   21 using gratuitous arp. Designed to switch in backup servers
   22 on a LAN.
   23 
   24 
   25 %prep
   26 %setup -n fake-%{ver}
   27 #%patch -p1
   28 
   29 %build
   30 make patch
   31 make CFLAGS="$RPM_OPT_FLAGS -s"
   32 
   33 %install
   34 rm -rf $RPM_BUILD_ROOT
   35 
   36 make ROOT_DIR=$RPM_BUILD_ROOT MAN8_DIR=$RPM_BUILD_ROOT/%{_mandir}/man8 install
   37 
   38 %clean
   39 rm -rf $RPM_BUILD_ROOT
   40 
   41 %files
   42 %defattr(-, root, root)
   43 
   44 %doc AUTHORS 
   45 %doc README
   46 %doc ChangeLog
   47 %doc docs/arp_fun.txt
   48 %doc docs/redundant_linux.txt
   49 %doc instance_config/203.12.97.7.cfg
   50 %doc instance_config/192.168.89.19.cfg
   51 %doc heartbeat/fake
   52 
   53 %{prefix}/sbin/*
   54 %{_mandir}/man8/*
   55 %dir /etc/fake
   56 %dir /etc/fake/instance_config
   57 %config /etc/fake/.fakerc
   58 %config /etc/fake/clear_routers
   59 %{prefix}/lib/heartbeat/fake