]> git.pld-linux.org Git - packages/pump.git/blob - pump.spec
- build with shared libpopt
[packages/pump.git] / pump.spec
1 Summary:        Bootp and dhcp client for automatic IP configuration
2 Name:           pump
3 Version:        0.7.5
4 Release:        3
5 Group:          Networking/Utilities
6 Group(pl):      Sieciowe/Narzêdzia
7 Copyright:      MIT
8 Source:         %{name}-%{version}.tar.gz
9 Patch:          pump-Makefile.patch
10 Requires:       rc-scripts
11 BuildRequires:  popt-devel
12 BuildRoot:      /tmp/%{name}-%{version}-root
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 machine
23 to retrieve configuration information from a server.  You should install
24 this package if you are on a network which uses BOOTP or DHCP.
25
26 %prep
27 %setup -q
28 %patch -p1
29
30 %build
31 make LDFLAGS="-s" COPT_FLAGS="$RPM_OPT_FLAGS"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 make install MAN8PATH="$RPM_BUILD_ROOT%{_mandir}/man8"
36
37 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %attr(755,root,root) /sbin/pump
45 %{_mandir}/man8/*
This page took 0.07598 seconds and 4 git commands to generate.