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