]> git.pld-linux.org Git - packages/dhcp.git/blame - dhcp.spec
- up to 4.0.2
[packages/dhcp.git] / dhcp.spec
CommitLineData
fa424e73
JB
1#
2# Conditional build:
967af251 3%bcond_without ldap # without support for ldap storage
6db0fb84 4%bcond_without static_libs # don't build static library
ceee8beb
ER
5
6# vendor string
7%define vvendor PLD/Linux
fa424e73 8#
8dc004f7 9Summary: DHCP Server
6e8d2260
ER
10Summary(es.UTF-8): Servidor DHCP
11Summary(pl.UTF-8): Serwer DHCP
12Summary(pt_BR.UTF-8): Servidor DHCP (Protocolo de configuração dinâmica de hosts)
cd3ce1e4 13Name: dhcp
6db0fb84 14# 4.1.0a1 is on DEVEL
585ef843
AM
15Version: 4.0.2
16Release: 1
9598ee90 17Epoch: 4
6acbb058 18License: MIT
cd3ce1e4 19Group: Networking/Daemons
cab047e0 20Source0: ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}.tar.gz
585ef843 21# Source0-md5: f8d35ade3727429b1ab74c26058bd6b1
a4dfcb55 22Source1: %{name}.init
6e6494f3
AM
23Source2: %{name}6.init
24Source3: %{name}-relay.init
25Source4: %{name}.sysconfig
26Source5: %{name}-relay.sysconfig
27Source6: %{name}-libdhcp4client.pc
28Source7: %{name}-dhcp4client.h
29Source8: %{name}-libdhcp4client.make
30Source9: %{name}-libdhcp_control.h
03a6f6c6 31Source10: %{name}.schema
ceee8beb
ER
32Source11: %{name}-README.ldap
33Source12: draft-ietf-dhc-ldap-schema-01.txt
34Source13: dhcpd-conf-to-ldap
35Source14: dhcp-dhclient-script
4ca0a88e 36Patch0: %{name}-release-by-ifup.patch
9f600e9f 37# http://github.com/dcantrell/ldap-for-dhcp/raw/9cfd4c277d7615777f372ea08f44cc7de9ed7959/dhcp-4.0.1-ldap.patch
4ca0a88e
MB
38Patch1: %{name}-ldap.patch
39Patch2: %{name}-3.0.3-x-option.patch
40Patch3: %{name}-paths.patch
4ca0a88e
MB
41Patch5: %{name}-timeouts.patch
42Patch6: %{name}-options.patch
43Patch7: %{name}-libdhcp4client.patch
44Patch8: %{name}-prototypes.patch
45Patch9: %{name}-errwarn-message.patch
46Patch10: %{name}-memory.patch
47Patch11: %{name}-dhclient-decline-backoff.patch
48Patch12: %{name}-unicast-bootp.patch
49Patch13: %{name}-fast-timeout.patch
50Patch14: %{name}-failover-ports.patch
51Patch15: %{name}-dhclient-usage.patch
52Patch16: %{name}-default-requested-options.patch
53Patch17: %{name}-xen-checksum.patch
54Patch18: %{name}-dhclient-anycast.patch
55Patch19: %{name}-manpages.patch
56Patch20: %{name}-NetworkManager-crash.patch
5ea0fa25 57URL: http://www.isc.org/sw/dhcp/
03a6f6c6
AM
58BuildRequires: autoconf
59BuildRequires: automake
bca716bd 60BuildRequires: groff
ceee8beb 61BuildRequires: libtool
01b31b42 62%{?with_ldap:BuildRequires: openldap-devel}
5bf1b3cd 63%{?with_ldap:BuildRequires: openssl-devel}
967af251
JR
64BuildRequires: rpmbuild(macros) >= 1.304
65Requires(post): coreutils
ac30bae3
ER
66Requires(post,preun): /sbin/chkconfig
67Requires: rc-scripts >= 0.2.0
73612d9c 68Provides: dhcpd
bf74a63f 69BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cd3ce1e4 70
6e6494f3 71%define _sbindir /sbin
967af251
JR
72%define schemadir /usr/share/openldap/schema
73
cd3ce1e4 74%description
0770f14a 75DHCP (Dynamic Host Configuration Protocol) is a protocol which allows
37bec083 76individual devices on an IP network to get their own network
77configuration information (IP address, subnetmask, broadcast address,
78etc.) from a DHCP server. The overall purpose of DHCP is to make it
79easier to administer a large network.
0770f14a 80
39cd54ba 81%description -l es.UTF-8
1f522308 82DHCP permite que hosts en una red TCP/IP soliciten y tengan sus
39cd54ba
JR
83direcciones IP alocadas dinámicamente, permite también descubrir
84información sobre la red en que están conectados. BOOTP provee una
1f522308 85funcionalidad similar, con ciertas restricciones. Este servidor
39cd54ba 86también las atiende.
1f522308 87
39cd54ba 88%description -l pl.UTF-8
b7cc5fa2 89Serwer DHCP (Dynamic Host Configuration Protocol).
cd3ce1e4 90
39cd54ba 91DHCP to protokół pozwalający urządzeniom pracującym w sieci IP na
cd42af6b 92pobieranie ich konfiguracji IP (adresu, maski podsieci, adresu
39cd54ba
JR
93rozgłoszeniowego itp.) z serwera DHCP. Ułatwia on administrowanie
94dużymi sieciami IP.
cd42af6b 95
39cd54ba 96%description -l pt_BR.UTF-8
1f522308 97DHCP permite que hosts numa rede TCP/IP requisitem e tenham seus
39cd54ba
JR
98endereços IP alocados dinamicamente, permite também descobrir
99informações sobre a rede em que estão conectados. BOOTP provê uma
100funcionalidade similar, com certas restrições. Este servidor também
101atende aquelas requisições. Esta versão é ainda considerada um
1f522308 102software BETA.
103
b62eae95 104%package -n openldap-schema-dhcp
967af251
JR
105Summary: LDAP Schema for DHCP Server
106Summary(pl.UTF-8): Schemat LDAP dla serwera DHCP
107Group: Networking/Daemons
108Requires(post,postun): sed >= 4.0
109Requires: openldap-servers
110
b62eae95 111%description -n openldap-schema-dhcp
967af251
JR
112This package contains LDAPv3 schema for use with the DHCP Server.
113
b62eae95 114%description -n openldap-schema-dhcp -l pl.UTF-8
967af251
JR
115Ten pakiet zawiera schemat LDAPv3 do używania z serwerem DHCP.
116
3bb4bab9 117%package client
118Summary: DHCP Client
6e8d2260 119Summary(pl.UTF-8): Klient DHCP
3bb4bab9 120Group: Networking/Daemons
eda193cb
JR
121Requires: coreutils
122Requires: iproute2
123Requires: net-tools
dd3090a5 124Obsoletes: dhclient
3bb4bab9 125
126%description client
0770f14a 127Dynamic Host Configuration Protocol Client.
3bb4bab9 128
39cd54ba 129%description client -l pl.UTF-8
0770f14a 130Klient DHCP (Dynamic Host Configuration Protocol).
3bb4bab9 131
45ef0575 132%package relay
133Summary: DHCP Relay Agent
6e8d2260 134Summary(pl.UTF-8): Agent przekazywania informacji DHCP
45ef0575 135Group: Networking/Daemons
967af251 136Requires(post): coreutils
ac30bae3
ER
137Requires(post,preun): /sbin/chkconfig
138Requires: rc-scripts >= 0.2.0
45ef0575 139
140%description relay
a4dfcb55 141Dhcp relay is a relay agent for DHCP packets. It is used on a subnet
142with DHCP clients to "relay" their requests to a subnet that has a
143DHCP server on it. Because DHCP packets can be broadcast, they will
144not be routed off of the local subnet. The DHCP relay takes care of
145this for the client.
146
39cd54ba
JR
147%description relay -l pl.UTF-8
148Agent przekazywania DHCP (Dynamic Host Configuration Protocol) między
149podsieciami. Ponieważ komunikaty DHCP mogą być przekazywane w formie
150rozgłoszeniowej, bez tego agenta nie zostaną przerutowane do innej
cd42af6b 151podsieci.
45ef0575 152
1d526f5b
JK
153%package devel
154Summary: DHCP development includes and libs
6e8d2260 155Summary(pl.UTF-8): Pliki nagłówkowe i biblioteki dla oprogramowania DHCP
1d526f5b
JK
156Group: Development/Libraries
157
158%description devel
159Includes OMAPI and dhcptl libraries.
160
161OMAPI is an programming layer designed for controlling remote
162applications, and for querying them for their state. It is currently
163used by the ISC DHCP server.
164
165The dhcpctl set of functions provide an API that can be used to
166communicate with and manipulate a running ISC DHCP server.
167
39cd54ba 168%description devel -l pl.UTF-8
1d526f5b
JK
169Zawiera biblioteki OMAPI oraz dhcpctl.
170
171OMAPI to warstwa programowa stworzona do kontroli zdalnych aplikacji i
39cd54ba 172odpytywania o ich stan. Aktualnie jest używana przez serwer ISC DHCP.
1d526f5b 173
39cd54ba
JR
174dhcpctl to zbiór funkcji tworzących API, które może być używane do
175komunikacji z działającym serwerem ISC DHCP i jego kontroli.
1d526f5b 176
c494ae74
PZ
177%package -n libdhcp4client
178Summary: The DHCP client in a library for invocation by other programs
179Summary(pl.UTF-8): Klient DHCP w postaci biblioteki do wykorzystania w innych programach
180Group: Development/Libraries
181
182%description -n libdhcp4client
183Provides the client for the DHCP protocol.
184
185%description -n libdhcp4client -l pl.UTF-8
186Ten pakiet zawiera klienta protokołu DHCP.
187
188%package -n libdhcp4client-devel
189Summary: Header files for development with the DHCP client library
190Summary(pl.UTF-8): Pliki nagłówkowe do programowania z użyciem biblioteki klienckiej DHCP
6acbb058 191License: GPL v2+
ceee8beb 192Group: Development/Libraries
c494ae74
PZ
193Requires: libdhcp4client = %{epoch}:%{version}-%{release}
194
195%description -n libdhcp4client-devel
196Header files for development with the DHCP client library.
197
198%description -n libdhcp4client-devel -l pl.UTF-8
ceee8beb
ER
199Pliki nagłówkowe do programowania z użyciem biblioteki klienckiej
200DHCP.
c494ae74
PZ
201
202%package -n libdhcp4client-static
203Summary: Static DHCP client library
204Summary(pl.UTF-8): Statyczna biblioteka kliencka DHCP
205Group: Development/Libraries
206Requires: libdhcp4client-devel = %{epoch}:%{version}-%{release}
207
208%description -n libdhcp4client-static
209Static DHCP client library.
210
211%description -n libdhcp4client-static -l pl.UTF-8
212Statyczna biblioteka kliencka DHCP.
213
cd3ce1e4 214%prep
cab047e0 215%setup -q
37332297 216%patch0 -p1
9f600e9f 217%patch1 -p1
4ca0a88e 218# This patch is required for dhcdbd to function
ceee8beb
ER
219# CHECK ME: adds -x (formerly -y):
220#The -x argument enables extended option information to be created in the
221#-s dhclient-script environment, which would allow applications running
222#in that environment to handle options they do not know about in advance -
223#this is a Red Hat extension to support dhcdbd and NetworkManager.
f805880f 224# however, fedora doesn't have this patch anymore, so can drop?
4ca0a88e
MB
225#%%patch2 -p1
226%patch3 -p1
92eb981e 227%patch5 -p1
74b36fbe 228%patch6 -p1
4ca0a88e 229%patch7 -p1
c494ae74 230%patch8 -p1
03a6f6c6
AM
231%patch9 -p1
232%patch10 -p1
8cf9160b 233%patch11 -p1
ceee8beb
ER
234%patch12 -p1
235%patch13 -p1
236%patch14 -p1
237%patch15 -p1
238%patch16 -p1
239%patch17 -p1
240%patch18 -p1
241%patch19 -p1
242%patch20 -p1
ceee8beb
ER
243
244# Copy in documentation and example scripts for LDAP patch to dhcpd
245cp -a %{SOURCE11} README.ldap
246cp -a %{SOURCE12} doc
247cp -a %{SOURCE13} contrib
248
249# Copy in the libdhcp4client headers and Makefile.dist
250install -d libdhcp4client
6e6494f3
AM
251cp %{SOURCE7} libdhcp4client/dhcp4client.h
252cp %{SOURCE8} libdhcp4client/Makefile.dist
ceee8beb
ER
253
254# Copy in libdhcp_control.h to the isc-dhcp includes directory
6e6494f3 255cp %{SOURCE9} includes/isc-dhcp/libdhcp_control.h
4b8d2654 256
ceee8beb
ER
257# Replace @PRODUCTNAME@
258%{__sed} -i -e 's|@PRODUCTNAME@|%{vvendor}|g' common/dhcp-options.5
259%{__sed} -i -e 's|@PRODUCTNAME@|%{vvendor}|g' configure.ac
260
261# Update paths in all man pages
262for page in client/dhclient.conf.5 client/dhclient.leases.5 client/dhclient-script.8 client/dhclient.8; do
263 %{__sed} -i -e 's|CLIENTBINDIR|/sbin|g' \
264 -e 's|RUNDIR|%{_localstatedir}/run|g' \
265 -e 's|DBDIR|%{_localstatedir}/db/dhclient|g' \
266 -e 's|ETCDIR|%{_sysconfdir}|g' $page
267done
268
269for page in server/dhcpd.conf.5 server/dhcpd.leases.5 server/dhcpd.8; do
270 %{__sed} -i -e 's|CLIENTBINDIR|/sbin|g' \
271 -e 's|RUNDIR|%{_localstatedir}/run|g' \
272 -e 's|DBDIR|%{_localstatedir}/db/dhcpd|g' \
273 -e 's|ETCDIR|%{_sysconfdir}|g' $page
274done
275
7e4b9e16 276sed 's/@DHCP_VERSION@/'%{version}'/' < %{SOURCE6} > libdhcp4client.pc
ceee8beb 277
0770f14a 278%build
03a6f6c6
AM
279%{__libtoolize}
280%{__aclocal}
281%{__autoconf}
282%{__autoheader}
283%{__automake}
4a7f1e32 284CFLAGS="%{rpmcflags} -fPIC -D_GNU_SOURCE=1"
6e6494f3 285%configure \
6db0fb84 286 %{!?with_static_libs:--disable-static} \
6e6494f3 287 --enable-dhcpv6 \
9f600e9f 288 --with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \
289 --with-cli-lease-file=/var/lib/dhclient/dhclient.leases \
290 --with-srv-pid-file=/var/run/dhcpd.pid \
291 --with-cli-pid-file=/var/run/dhclient.pid \
292 --with-relay-pid-file=/var/run/dhcrelay.pid \
293 --with%{!?with_ldap:out}-ldap
6e6494f3 294%{__make}
cd3ce1e4 295
296%install
297rm -rf $RPM_BUILD_ROOT
ceee8beb 298install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},%{_pkgconfigdir},/var/lib/{dhcpd,dhclient}}
cd3ce1e4 299
771aee8c 300%{__make} install \
6e6494f3 301 DESTDIR=$RPM_BUILD_ROOT
967af251 302
cd3ce1e4 303install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcpd
6e6494f3
AM
304install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcpd6
305install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/dhcp-relay
306install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/dhcpd
307install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/dhcp-relay
ceee8beb 308install %{SOURCE14} $RPM_BUILD_ROOT/sbin/dhclient-script
cd3ce1e4 309
967af251 310install server/dhcpd.conf $RPM_BUILD_ROOT%{_sysconfdir}
ceee8beb 311
967af251 312%if %{with ldap}
ceee8beb 313install -d $RPM_BUILD_ROOT%{schemadir}
03a6f6c6 314install %{SOURCE10} $RPM_BUILD_ROOT%{schemadir}
967af251 315%endif
1d526f5b 316
c588390c 317# Install headers for libdhcp4client-devel
6787bbb5
PZ
318install -d $RPM_BUILD_ROOT%{_includedir}/dhcp4client
319install libdhcp4client/dhcp4client.h $RPM_BUILD_ROOT%{_includedir}/dhcp4client/dhcp4client.h
c588390c 320install -d $RPM_BUILD_ROOT%{_includedir}/dhcp4client/minires
c588390c
AM
321for hdr in cdefs.h ctrace.h dhcp.h dhcp6.h dhcpd.h dhctoken.h failover.h \
322 heap.h inet.h minires/minires.h minires/res_update.h \
ceee8beb
ER
323 minires/resolv.h osdep.h site.h statement.h tree.h; do
324 install -p -m 0644 includes/${hdr} $RPM_BUILD_ROOT%{_includedir}/dhcp4client/${hdr}
c588390c
AM
325done
326
4ca0a88e 327:> $RPM_BUILD_ROOT%{_sysconfdir}/dhclient.conf
9da55644 328
ceee8beb 329touch $RPM_BUILD_ROOT/var/lib/dhcpd/dhcpd.leases
b0caeee3 330touch $RPM_BUILD_ROOT/var/lib/dhclient/dhclient.leases
3bb4bab9 331
ceee8beb 332touch $RPM_BUILD_ROOT/var/lib/dhcpd/dhcpd6.leases
8f0f47ea
AM
333touch $RPM_BUILD_ROOT/var/lib/dhclient/dhclient6.leases
334
ceee8beb 335# Install pkg-config file
c494ae74 336install libdhcp4client.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libdhcp4client.pc
ceee8beb 337cp -a includes/isc-dhcp/libdhcp_control.h $RPM_BUILD_ROOT%{_includedir}/isc-dhcp
c494ae74 338
6db0fb84
ER
339%if %{with static_libs}
340# HACK: strip doesn't like .a inside .a
ceee8beb 341install -d stripworkdir
6db0fb84
ER
342cd stripworkdir
343for a in $RPM_BUILD_ROOT%{_libdir}/*.a; do
344 archives=$(ar t $a | grep '\.a$' || :)
345 [ "$archives" ] || continue
346
347 # hope we don't have to recurse here
348 for ar in $archives; do
349 rm -f *.o *.a
350 ar x $a $ar
351 ar x $ar
352 ar d $a $ar
353 ar cr $a *.o
354 done
355done
356cd -
357%endif
358
82fbb222
JB
359%clean
360rm -rf $RPM_BUILD_ROOT
361
cd3ce1e4 362%post
ceee8beb 363touch /var/lib/dhcpd/dhcpd.leases
7089f517 364touch /var/lib/dhcpd/dhcpd6.leases
3a01d42c 365/sbin/chkconfig --add dhcpd
30c45ada 366%service dhcpd restart "dhcpd daemon"
ceee8beb 367/sbin/chkconfig --add dhcpd6
6e6494f3 368%service dhcpd6 restart "dhcpd IPv6 daemon"
cd3ce1e4 369
208108e2
JB
370%preun
371if [ "$1" = "0" ];then
30c45ada 372 %service dhcpd stop
208108e2 373 /sbin/chkconfig --del dhcpd
ceee8beb 374 %service dhcpd6 stop
6e6494f3 375 /sbin/chkconfig --del dhcpd6
208108e2
JB
376fi
377
6acbb058 378%triggerpostun -- dhcp < 3.0
ceee8beb
ER
379if ! grep -q ddns-update-style /etc/dhcpd.conf; then
380 %{__sed} -i -e '1iddns-update-style none;' /etc/dhcpd.conf
6acbb058
JB
381fi
382
b62eae95 383%post -n openldap-schema-dhcp
967af251
JR
384%openldap_schema_register %{schemadir}/dhcp.schema -d core
385%service -q ldap restart
386
b62eae95 387%postun -n openldap-schema-dhcp
967af251
JR
388if [ "$1" = "0" ]; then
389 %openldap_schema_unregister %{schemadir}/dhcp.schema
390 %service -q ldap restart
391fi
392
7940deed 393%post relay
3a01d42c 394/sbin/chkconfig --add dhcp-relay
3a01d42c 395if [ -f /var/lock/subsys/dhcrelay ]; then
30c45ada 396 mv -f /var/lock/subsys/{dhcrelay,dhcp-relay}
3a01d42c 397fi
30c45ada 398%service dhcp-relay restart "dhcrelay daemon"
7940deed 399
7940deed 400%preun relay
3a01d42c 401if [ "$1" = "0" ];then
30c45ada 402 %service dhcp-relay stop
3a01d42c 403 /sbin/chkconfig --del dhcp-relay
404fi
7940deed 405
6acbb058
JB
406%post -n libdhcp4client -p /sbin/ldconfig
407%postun -n libdhcp4client -p /sbin/ldconfig
b7f7d94b 408
cd3ce1e4 409%files
410%defattr(644,root,root,755)
9f600e9f 411%doc doc/* README RELNOTES server/dhcpd.conf LICENSE
412%doc contrib/ms2isc %{?with_ldap:contrib/dhcpd-conf-to-ldap README.ldap}
ac30bae3
ER
413%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcpd
414%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhcpd.conf
967af251 415%attr(755,root,root) %{_bindir}/omshell
cd3ce1e4 416%attr(755,root,root) %{_sbindir}/dhcpd
d3d402da 417%attr(754,root,root) /etc/rc.d/init.d/dhcpd
6e6494f3 418%attr(754,root,root) /etc/rc.d/init.d/dhcpd6
ceee8beb
ER
419%attr(750,root,root) %dir /var/lib/dhcpd
420%ghost /var/lib/dhcpd/dhcpd.leases
421%ghost /var/lib/dhcpd/dhcpd6.leases
6acbb058
JB
422%{_mandir}/man1/omshell.1*
423%{_mandir}/man5/dhcp-eval.5*
424%{_mandir}/man5/dhcp-options.5*
425%{_mandir}/man5/dhcpd.conf.5*
426%{_mandir}/man5/dhcpd.leases.5*
427%{_mandir}/man8/dhcpd.8*
3bb4bab9 428
429%files client
ccf64540 430%defattr(644,root,root,755)
ceee8beb 431%doc contrib/sethostname.sh client/dhclient.conf
967af251 432%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dhclient.conf
3bb4bab9 433%attr(755,root,root) /sbin/dhclient
ceee8beb 434%attr(755,root,root) /sbin/dhclient-script
6acbb058
JB
435%{_mandir}/man5/dhclient.conf.5*
436%{_mandir}/man5/dhclient.leases.5*
437%{_mandir}/man8/dhclient.8*
438%{_mandir}/man8/dhclient-script.8*
ceee8beb 439%dir %attr(750,root,root) /var/lib/dhclient
b0caeee3 440%ghost /var/lib/dhclient/dhclient.leases
8f0f47ea 441%ghost /var/lib/dhclient/dhclient6.leases
45ef0575 442
443%files relay
444%defattr(644,root,root,755)
ac30bae3 445%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dhcp-relay
45ef0575 446%attr(755,root,root) %{_sbindir}/dhcrelay
3ac86cff 447%attr(754,root,root) /etc/rc.d/init.d/dhcp-relay
6acbb058 448%{_mandir}/man8/dhcrelay.8*
1d526f5b
JK
449
450%files devel
451%defattr(644,root,root,755)
6acbb058 452%{_libdir}/libdhcpctl.a
6e6494f3 453%{_libdir}/libdst.a
6acbb058 454%{_libdir}/libomapi.a
6e6494f3 455%{_includedir}/dhcpctl
6acbb058
JB
456%{_includedir}/isc-dhcp
457%{_includedir}/omapip
458%{_mandir}/man3/dhcpctl.3*
459%{_mandir}/man3/omapi.3*
c494ae74 460
03a6f6c6
AM
461%files -n libdhcp4client
462%defattr(644,root,root,755)
463%attr(755,root,root) %{_libdir}/libdhcp4client-*.so.*
c494ae74 464
03a6f6c6
AM
465%files -n libdhcp4client-devel
466%defattr(644,root,root,755)
467%attr(755,root,root) %{_libdir}/libdhcp4client.so
c588390c 468%{_includedir}/dhcp4client
03a6f6c6
AM
469%{_pkgconfigdir}/libdhcp4client.pc
470%{_libdir}/libdhcp4client.la
c494ae74 471
6db0fb84 472%if %{with static_libs}
03a6f6c6
AM
473%files -n libdhcp4client-static
474%defattr(644,root,root,755)
475%{_libdir}/libdhcp4client.a
6db0fb84 476%endif
ceee8beb
ER
477
478%if %{with ldap}
479%files -n openldap-schema-dhcp
480%defattr(644,root,root,755)
481%{schemadir}/dhcp.schema
482%endif
This page took 0.171691 seconds and 4 git commands to generate.