]> git.pld-linux.org Git - packages/fake.git/blobdiff - fake.spec
- cosmetic changes for common l&f.
[packages/fake.git] / fake.spec
index f94c1866cc1bf009d8390390dd410a096fd3dde9..82f8b7e4d1e19fc41226bdfe274ccd091c025563 100644 (file)
--- a/fake.spec
+++ b/fake.spec
@@ -1,30 +1,20 @@
-# Note that this is NOT a relocatable package
-%define ver      1.1.1
-%define rel      1
-%define prefix   /usr
-
-Summary: Switches in redundant servers using arp spoofing
-Name: fake
-Version: %ver
-Release: %rel
-Copyright: GPL
-Group: Networking/Utilities
-Source: ftp://ftp.zipworld.com.au/pub/linux/fake/fake-%{ver}.tar.gz
-Obsoletes: fake
+Summary:       Switches in redundant servers using arp spoofing
+Name:          fake
+Version:       1.1.1
+Release:       2
+Copyright:     GPL
+Group:         Networking/Utilities
+Source:                ftp://ftp.zipworld.com.au/pub/linux/fake/fake-%{ver}.tar.gz
+URL:           http://linux.zipworld.com.au/redundant_linux/
 BuildRoot:     /tmp/%{name}-%{version}-root
-Packager: Horms <horms@zipworld.com.au>
-URL: http://linux.zipworld.com.au/redundant_linux/
-Docdir: %{prefix}/doc
 
 %description
-Fake is a utility that enables the IP address be taken over
-by bringing up a second interface on the host machine and
-using gratuitous arp. Designed to switch in backup servers
-on a LAN.
-
+Fake is a utility that enables the IP address be taken over by bringing up a
+second interface on the host machine and using gratuitous arp. Designed to
+switch in backup servers on a LAN.
 
 %prep
-%setup -n fake-%{ver}
+%setup -q
 make patch
 
 %build
@@ -36,26 +26,14 @@ rm -rf $RPM_BUILD_ROOT
 
 make ROOT_DIR=$RPM_BUILD_ROOT install
 
+gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux.txt}.txt
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-
-%postun
-
 %files
-%defattr(-,root,root)
-
-%doc README 
-%doc AUTHORS 
-%doc COPYING 
-%doc ChangeLog
-%doc docs
-%doc docs/arp_fun.txt
-%doc docs/redundant_linux.txt
-%doc docs/redundant_linux.ps.gz
-%doc docs/redundant_linux.tar.gz
-
+%defattr(644,root,root,755)
+%doc *.gz docs/*.txt.gz
 %{prefix}/bin/send_arp
 %{prefix}/bin/fake
 %config /etc/fake/.fakerc
This page took 0.080876 seconds and 4 git commands to generate.