]> git.pld-linux.org Git - packages/pump.git/blob - pump.spec
- added using %%{__make} macro.
[packages/pump.git] / pump.spec
1 Summary:        Bootp and dhcp client for automatic IP configuration
2 Name:           pump
3 Version:        0.7.9
4 Release:        2
5 Group:          Networking/Utilities
6 Group(pl):      Sieciowe/Narzêdzia
7 Copyright:      MIT
8 Source0:        %{name}-%{version}.tar.gz
9 Patch0:         pump-Makefile.patch
10 Requires:       rc-scripts
11 BuildRequires:  popt-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Obsoletes:      bootpc
14
15 %description
16 DHCP (Dynamic Host Configuration Protocol) and BOOTP (Boot Protocol)
17 are protocols which allow individual devices on an IP network to get
18 their own network configuration information (IP address, subnetmask,
19 broadcast address, etc.) from network servers. The overall purpose of
20 DHCP and BOOTP is to make it easier to administer a large network.
21
22 Pump is a combined BOOTP and DHCP client daemon, which allows your
23 machine to retrieve configuration information from a server. You
24 should install this package if you are on a network which uses BOOTP
25 or DHCP.
26
27 %prep
28 %setup -q
29 %patch -p1
30
31 %build
32 %{__make} LDFLAGS="-s" COPT_FLAGS="$RPM_OPT_FLAGS"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__make} install MAN8PATH="$RPM_BUILD_ROOT%{_mandir}/man8"
37
38 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) /sbin/pump
46 %{_mandir}/man8/*
This page took 0.033078 seconds and 4 git commands to generate.