]> git.proxmox.com Git - mirror_ovs.git/blob - rhel/openvswitch-fedora.spec.in
Merge branch 'dpdk_merge' of https://github.com/istokes/ovs into HEAD
[mirror_ovs.git] / rhel / openvswitch-fedora.spec.in
1 # Spec file for Open vSwitch.
2
3 # Copyright (C) 2009, 2010, 2013, 2014, 2015, 2016 Nicira Networks, Inc.
4 #
5 # Copying and distribution of this file, with or without modification,
6 # are permitted in any medium without royalty provided the copyright
7 # notice and this notice are preserved. This file is offered as-is,
8 # without warranty of any kind.
9 #
10 # If tests have to be skipped while building, specify the '--without check'
11 # option. For example:
12 # rpmbuild -bb --without check rhel/openvswitch-fedora.spec
13 #
14 # Support for executing kernel data path tests under rpmbuild is
15 # provided, however this is intended for use only in test environments
16 # and should not be used otherwise (these tests require root privileges).
17 # These tests can be executed, for example, via:
18 # rpmbuild -rb --with check_datapath_kernel openvswitch-fedora.src.rpm
19 #
20 # These tests will use the currently installed OVS kernel modules, when
21 # testing out of tree kernel modules the appropriate openvswitch-kmod
22 # package should be installed first.
23
24 #%define kernel 2.6.40.4-5.fc15.x86_64
25
26 # If libcap-ng isn't available and there is no need for running OVS
27 # as regular user, specify the '--without libcapng'
28 %bcond_without libcapng
29 # To enable DPDK support, specify '--with dpdk' when building
30 %bcond_with dpdk
31 # Enable Python 3 by specifying '--with build_python3'.
32 # This is enabled by default for versions of the distribution that
33 # have Python 3 by default (Fedora > 22).
34 %bcond_with build_python3
35
36 # Enable PIE, bz#955181
37 %global _hardened_build 1
38
39 # some distros (e.g: RHEL-7) don't define _rundir macro yet
40 # Fedora 15 onwards uses /run as _rundir
41 %if 0%{!?_rundir:1}
42 %define _rundir /run
43 %endif
44
45 # define the python package prefix based on distribution version so that we can
46 # simultaneously support RHEL-based and later Fedora versions in this spec file.
47 %if 0%{?fedora} >= 25
48 %define _py2 python2
49 %endif
50
51 %if 0%{?rhel} || 0%{?fedora} < 25
52 %define _py2 python
53 %endif
54
55
56 Name: openvswitch
57 Summary: Open vSwitch
58 Group: System Environment/Daemons
59 URL: http://www.openvswitch.org/
60 Version: @VERSION@
61
62 # Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the
63 # lib/sflow*.[ch] files are SISSL
64 # datapath/ is GPLv2 (although not built into any of the binary packages)
65 License: ASL 2.0 and LGPLv2+ and SISSL
66 Release: 1%{?dist}
67 Source: http://openvswitch.org/releases/%{name}-%{version}.tar.gz
68
69 BuildRequires: autoconf automake libtool
70 BuildRequires: systemd-units openssl openssl-devel
71 BuildRequires: %{_py2}-devel
72 %if 0%{?fedora} > 22 || %{with build_python3}
73 BuildRequires: python3-devel
74 %endif
75 BuildRequires: desktop-file-utils
76 BuildRequires: groff graphviz
77 BuildRequires: checkpolicy, selinux-policy-devel
78 BuildRequires: %{_py2}-sphinx
79 # make check dependencies
80 BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface %{_py2}-six
81 BuildRequires: procps-ng
82 %if %{with libcapng}
83 BuildRequires: libcap-ng libcap-ng-devel
84 %endif
85 %if %{with dpdk}
86 BuildRequires: libpcap-devel numactl-devel
87 BuildRequires: dpdk-devel >= 17.05.1
88 Provides: %{name}-dpdk = %{version}-%{release}
89 %endif
90
91 Requires: openssl hostname iproute module-init-tools
92 #Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
93 #Requires: kernel >= 3.15.0-0
94
95 Requires(post): /usr/bin/getent
96 Requires(post): /usr/sbin/useradd
97 Requires(post): /usr/bin/sed
98 %if %{with dpdk}
99 Requires(post): /usr/sbin/usermod
100 Requires(post): /usr/sbin/groupadd
101 %endif
102 Requires(post): systemd-units
103 Requires(preun): systemd-units
104 Requires(postun): systemd-units
105 Obsoletes: openvswitch-controller <= 0:2.1.0-1
106
107 # to skip running checks, pass --without check
108 %bcond_without check
109 %bcond_with check_datapath_kernel
110
111 %description
112 Open vSwitch provides standard network bridging functions and
113 support for the OpenFlow protocol for remote per-flow control of
114 traffic.
115
116 %package selinux-policy
117 Summary: Open vSwitch SELinux policy
118 License: ASL 2.0
119 BuildArch: noarch
120 Requires: selinux-policy-targeted
121
122 %description selinux-policy
123 Tailored Open vSwitch SELinux policy
124
125 %package -n %{_py2}-openvswitch
126 Summary: Open vSwitch python2 bindings
127 License: ASL 2.0
128 BuildArch: noarch
129 Requires: %{_py2}
130 Requires: %{_py2}-six
131 %{?python_provide:%python_provide python2-openvswitch = %{version}-%{release}}
132 %description -n %{_py2}-openvswitch
133 Python bindings for the Open vSwitch database
134
135 %if 0%{?fedora} > 22 || %{with build_python3}
136 %package -n python3-openvswitch
137 Summary: Open vSwitch python3 bindings
138 License: ASL 2.0
139 BuildArch: noarch
140 Requires: python3
141 Requires: python3-six
142 %{?python_provide:%python_provide python3-openvswitch = %{version}-%{release}}
143
144 %description -n python3-openvswitch
145 Python bindings for the Open vSwitch database
146 %endif
147
148 %package test
149 Summary: Open vSwitch testing utilities
150 License: ASL 2.0
151 BuildArch: noarch
152 Requires: %{_py2}-openvswitch = %{version}-%{release}
153 Requires: %{_py2} %{_py2}-twisted
154
155 %description test
156 Utilities that are useful to diagnose performance and connectivity
157 issues in Open vSwitch setup.
158
159 %package devel
160 Summary: Open vSwitch OpenFlow development package (library, headers)
161 License: ASL 2.0
162 Provides: openvswitch-static = %{version}-%{release}
163
164 %description devel
165 This provides static library, libopenswitch.a and the openvswitch header
166 files needed to build an external application.
167
168 %package ovn-central
169 Summary: Open vSwitch - Open Virtual Network support
170 License: ASL 2.0
171 Requires: openvswitch openvswitch-ovn-common
172 Requires: firewalld-filesystem
173
174 %description ovn-central
175 OVN, the Open Virtual Network, is a system to support virtual network
176 abstraction. OVN complements the existing capabilities of OVS to add
177 native support for virtual network abstractions, such as virtual L2 and L3
178 overlays and security groups.
179
180 %package ovn-host
181 Summary: Open vSwitch - Open Virtual Network support
182 License: ASL 2.0
183 Requires: openvswitch openvswitch-ovn-common
184 Requires: firewalld-filesystem
185
186 %description ovn-host
187 OVN, the Open Virtual Network, is a system to support virtual network
188 abstraction. OVN complements the existing capabilities of OVS to add
189 native support for virtual network abstractions, such as virtual L2 and L3
190 overlays and security groups.
191
192 %package ovn-vtep
193 Summary: Open vSwitch - Open Virtual Network support
194 License: ASL 2.0
195 Requires: openvswitch openvswitch-ovn-common
196
197 %description ovn-vtep
198 OVN vtep controller
199
200 %package ovn-common
201 Summary: Open vSwitch - Open Virtual Network support
202 License: ASL 2.0
203 Requires: openvswitch
204
205 %description ovn-common
206 Utilities that are use to diagnose and manage the OVN components.
207
208 %package ovn-docker
209 Summary: Open vSwitch - Open Virtual Network support
210 License: ASL 2.0
211 Requires: openvswitch openvswitch-ovn-common %{_py2}-openvswitch
212
213 %description ovn-docker
214 Docker network plugins for OVN.
215
216 %prep
217 %setup -q
218
219 %build
220 %configure \
221 %if %{with libcapng}
222 --enable-libcapng \
223 %else
224 --disable-libcapng \
225 %endif
226 %if %{with dpdk}
227 --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
228 %endif
229 --enable-ssl \
230 --with-pkidir=%{_sharedstatedir}/openvswitch/pki
231
232 build-aux/dpdkstrip.py \
233 %if %{with dpdk}
234 --dpdk \
235 %else
236 --nodpdk \
237 %endif
238 < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
239 > rhel/usr_lib_systemd_system_ovs-vswitchd.service
240
241 make %{?_smp_mflags}
242 make selinux-policy
243
244 %install
245 rm -rf $RPM_BUILD_ROOT
246 make install DESTDIR=$RPM_BUILD_ROOT
247
248 install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
249 install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
250 install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
251
252 %if %{with dpdk}
253 install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
254 $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d/91-vfio.rules
255 %endif
256
257 install -p -D -m 0644 \
258 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
259 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
260 for service in openvswitch ovsdb-server ovs-vswitchd ovs-delete-transient-ports \
261 ovn-controller ovn-controller-vtep ovn-northd; do
262 install -p -D -m 0644 \
263 rhel/usr_lib_systemd_system_${service}.service \
264 $RPM_BUILD_ROOT%{_unitdir}/${service}.service
265 done
266 install -m 0755 rhel/etc_init.d_openvswitch \
267 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
268
269 install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
270 $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
271
272 install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
273 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
274
275 install -m 0644 vswitchd/vswitch.ovsschema \
276 $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
277
278 install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
279 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
280 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
281 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
282 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
283
284 install -d -m 0755 $RPM_BUILD_ROOT%{python2_sitelib}
285 cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
286 $RPM_BUILD_ROOT%{python2_sitelib}
287
288 %if 0%{?fedora} > 22 || %{with build_python3}
289 install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
290 cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovs \
291 $RPM_BUILD_ROOT%{python3_sitelib}
292 %endif
293
294 rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
295
296 install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
297
298 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
299 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/.conf.db.~lock~
300 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
301
302 install -p -m 644 -D selinux/openvswitch-custom.pp \
303 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
304
305 install -d $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
306 install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
307 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
308 install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
309 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
310
311 install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn
312 ln -s %{_datadir}/openvswitch/scripts/ovndb-servers.ocf \
313 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
314
315 install -p -D -m 0755 \
316 rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
317 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
318
319 # remove unpackaged files
320 rm -f $RPM_BUILD_ROOT%{_bindir}/ovs-parse-backtrace \
321 $RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \
322 $RPM_BUILD_ROOT%{_mandir}/man8/ovs-vlan-bug-workaround.8
323
324 %check
325 %if %{with check}
326 if make check TESTSUITEFLAGS='%{_smp_mflags}' RECHECK=yes; then :;
327 else
328 cat tests/testsuite.log
329 exit 1
330 fi
331 %endif
332 %if %{with check_datapath_kernel}
333 if make check-kernel RECHECK=yes; then :;
334 else
335 cat tests/system-kmod-testsuite.log
336 exit 1
337 fi
338 %endif
339
340 %clean
341 rm -rf $RPM_BUILD_ROOT
342
343 %preun
344 %if 0%{?systemd_preun:1}
345 %systemd_preun %{name}.service
346 %else
347 if [ $1 -eq 0 ] ; then
348 # Package removal, not upgrade
349 /bin/systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
350 /bin/systemctl stop %{name}.service >/dev/null 2>&1 || :
351 fi
352 %endif
353
354 %preun ovn-central
355 %if 0%{?systemd_preun:1}
356 %systemd_preun ovn-northd.service
357 %else
358 if [ $1 -eq 0 ] ; then
359 # Package removal, not upgrade
360 /bin/systemctl --no-reload disable ovn-northd.service >/dev/null 2>&1 || :
361 /bin/systemctl stop ovn-northd.service >/dev/null 2>&1 || :
362 fi
363 %endif
364
365 %preun ovn-host
366 %if 0%{?systemd_preun:1}
367 %systemd_preun ovn-controller.service
368 %else
369 if [ $1 -eq 0 ] ; then
370 # Package removal, not upgrade
371 /bin/systemctl --no-reload disable ovn-controller.service >/dev/null 2>&1 || :
372 /bin/systemctl stop ovn-controller.service >/dev/null 2>&1 || :
373 fi
374 %endif
375
376 %preun ovn-vtep
377 %if 0%{?systemd_preun:1}
378 %systemd_preun ovn-controller-vtep.service
379 %else
380 if [ $1 -eq 0 ] ; then
381 # Package removal, not upgrade
382 /bin/systemctl --no-reload disable ovn-controller-vtep.service >/dev/null 2>&1 || :
383 /bin/systemctl stop ovn-controller-vtep.service >/dev/null 2>&1 || :
384 fi
385 %endif
386
387 %post
388 if [ $1 -eq 1 ]; then
389 getent passwd openvswitch >/dev/null || \
390 useradd -r -d / -s /sbin/nologin -c "Open vSwitch Daemons" openvswitch
391
392 sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
393
394 %if %{with dpdk}
395 getent group hugetlbfs >/dev/null || \
396 groupadd hugetlbfs
397 usermod -a -G hugetlbfs openvswitch
398 sed -i \
399 's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
400 /etc/sysconfig/openvswitch
401 %endif
402
403 # In the case of upgrade, this is not needed.
404 chown -R openvswitch:openvswitch /etc/openvswitch
405 fi
406
407 %if 0%{?systemd_post:1}
408 %systemd_post %{name}.service
409 %else
410 # Package install, not upgrade
411 if [ $1 -eq 1 ]; then
412 /bin/systemctl daemon-reload >dev/null || :
413 fi
414 %endif
415
416 %post ovn-central
417 %if 0%{?systemd_post:1}
418 %systemd_post ovn-northd.service
419 %else
420 # Package install, not upgrade
421 if [ $1 -eq 1 ]; then
422 /bin/systemctl daemon-reload >dev/null || :
423 fi
424 %endif
425
426 %post ovn-host
427 %if 0%{?systemd_post:1}
428 %systemd_post ovn-controller.service
429 %else
430 # Package install, not upgrade
431 if [ $1 -eq 1 ]; then
432 /bin/systemctl daemon-reload >dev/null || :
433 fi
434 %endif
435
436 %post ovn-vtep
437 %if 0%{?systemd_post:1}
438 %systemd_post ovn-controller-vtep.service
439 %else
440 # Package install, not upgrade
441 if [ $1 -eq 1 ]; then
442 /bin/systemctl daemon-reload >dev/null || :
443 fi
444 %endif
445
446 %post selinux-policy
447 /usr/sbin/semodule -i %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp &> /dev/null || :
448
449 %postun
450 %if 0%{?systemd_postun:1}
451 %systemd_postun %{name}.service
452 %else
453 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
454 %endif
455
456 %postun ovn-central
457 %if 0%{?systemd_postun:1}
458 %systemd_postun ovn-northd.service
459 %else
460 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
461 %endif
462
463 %postun ovn-host
464 %if 0%{?systemd_postun:1}
465 %systemd_postun ovn-controller.service
466 %else
467 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
468 %endif
469
470 %postun ovn-vtep
471 %if 0%{?systemd_postun:1}
472 %systemd_postun ovn-controller-vtep.service
473 %else
474 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
475 %endif
476
477 %postun selinux-policy
478 if [ $1 -eq 0 ] ; then
479 /usr/sbin/semodule -r openvswitch-custom &> /dev/null || :
480 fi
481
482 %files selinux-policy
483 %defattr(-,root,root)
484 %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
485
486 %files -n %{_py2}-openvswitch
487 %{python2_sitelib}/ovs
488 %doc COPYING
489
490 %if 0%{?fedora} > 22 || %{with build_python3}
491 %files -n python3-openvswitch
492 %{python3_sitelib}/ovs
493 %doc COPYING
494 %endif
495
496 %files test
497 %{_bindir}/ovs-test
498 %{_bindir}/ovs-vlan-test
499 %{_bindir}/ovs-l3ping
500 %{_bindir}/ovs-pcap
501 %{_bindir}/ovs-tcpdump
502 %{_bindir}/ovs-tcpundump
503 %{_mandir}/man8/ovs-test.8*
504 %{_mandir}/man8/ovs-vlan-test.8*
505 %{_mandir}/man8/ovs-l3ping.8*
506 %{_mandir}/man1/ovs-pcap.1*
507 %{_mandir}/man8/ovs-tcpdump.8*
508 %{_mandir}/man1/ovs-tcpundump.1*
509 %{python2_sitelib}/ovstest
510
511 %files devel
512 %{_libdir}/*.a
513 %{_libdir}/*.la
514 %{_libdir}/pkgconfig/*.pc
515 %{_includedir}/openvswitch/*
516 %{_includedir}/openflow/*
517 %{_includedir}/ovn/*
518
519 %files
520 %defattr(-,openvswitch,openvswitch)
521 %dir %{_sysconfdir}/openvswitch
522 %{_sysconfdir}/openvswitch/default.conf
523 %config %ghost %{_sysconfdir}/openvswitch/conf.db
524 %ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
525 %config %ghost %{_sysconfdir}/openvswitch/system-id.conf
526 %config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
527 %defattr(-,root,root)
528 %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
529 %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
530 %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
531 %{_unitdir}/openvswitch.service
532 %{_unitdir}/ovsdb-server.service
533 %{_unitdir}/ovs-vswitchd.service
534 %{_unitdir}/ovs-delete-transient-ports.service
535 %{_datadir}/openvswitch/scripts/openvswitch.init
536 %{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
537 %{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
538 %{_datadir}/openvswitch/bugtool-plugins/
539 %{_datadir}/openvswitch/scripts/ovs-bugtool-*
540 %{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
541 %{_datadir}/openvswitch/scripts/ovs-lib
542 %{_datadir}/openvswitch/scripts/ovs-save
543 %{_datadir}/openvswitch/scripts/ovs-vtep
544 %{_datadir}/openvswitch/scripts/ovs-ctl
545 %{_datadir}/openvswitch/scripts/ovs-systemd-reload
546 %config %{_datadir}/openvswitch/vswitch.ovsschema
547 %config %{_datadir}/openvswitch/vtep.ovsschema
548 %{_bindir}/ovs-appctl
549 %{_bindir}/ovs-docker
550 %{_bindir}/ovs-dpctl
551 %{_bindir}/ovs-dpctl-top
552 %{_bindir}/ovs-ofctl
553 %{_bindir}/ovs-vsctl
554 %{_bindir}/ovsdb-client
555 %{_bindir}/ovsdb-tool
556 %{_bindir}/ovs-testcontroller
557 %{_bindir}/ovs-pki
558 %{_bindir}/vtep-ctl
559 %{_sbindir}/ovs-bugtool
560 %{_sbindir}/ovs-vswitchd
561 %{_sbindir}/ovsdb-server
562 %{_mandir}/man1/ovsdb-client.1*
563 %{_mandir}/man1/ovsdb-server.1*
564 %{_mandir}/man1/ovsdb-tool.1*
565 %{_mandir}/man5/ovsdb-server.5*
566 %{_mandir}/man5/ovs-vswitchd.conf.db.5*
567 %{_mandir}/man5/ovsdb.5*
568 %{_mandir}/man5/vtep.5*
569 %{_mandir}/man7/ovs-fields.7*
570 %{_mandir}/man7/ovsdb.7*
571 %{_mandir}/man7/ovsdb-server.7*
572 %{_mandir}/man8/vtep-ctl.8*
573 %{_mandir}/man8/ovs-appctl.8*
574 %{_mandir}/man8/ovs-bugtool.8*
575 %{_mandir}/man8/ovs-ctl.8*
576 %{_mandir}/man8/ovs-dpctl.8*
577 %{_mandir}/man8/ovs-dpctl-top.8*
578 %{_mandir}/man8/ovs-ofctl.8*
579 %{_mandir}/man8/ovs-pki.8*
580 %{_mandir}/man8/ovs-vsctl.8*
581 %{_mandir}/man8/ovs-vswitchd.8*
582 %{_mandir}/man8/ovs-parse-backtrace.8*
583 %{_mandir}/man8/ovs-testcontroller.8*
584 %if %{with dpdk}
585 %{_prefix}/lib/udev/rules.d/91-vfio.rules
586 %endif
587 %doc COPYING NOTICE README.rst NEWS rhel/README.RHEL.rst
588 /var/lib/openvswitch
589 %attr(755,-,-) /var/log/openvswitch
590 %ghost %attr(755,root,root) %{_rundir}/openvswitch
591
592 %files ovn-docker
593 %{_bindir}/ovn-docker-overlay-driver
594 %{_bindir}/ovn-docker-underlay-driver
595
596 %files ovn-common
597 %{_bindir}/ovn-nbctl
598 %{_bindir}/ovn-sbctl
599 %{_bindir}/ovn-trace
600 %{_bindir}/ovn-detrace
601 %{_datadir}/openvswitch/scripts/ovn-ctl
602 %{_datadir}/openvswitch/scripts/ovndb-servers.ocf
603 %{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
604 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
605 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
606 %{_mandir}/man8/ovn-ctl.8*
607 %{_mandir}/man8/ovn-nbctl.8*
608 %{_mandir}/man8/ovn-trace.8*
609 %{_mandir}/man1/ovn-detrace.1*
610 %{_mandir}/man7/ovn-architecture.7*
611 %{_mandir}/man8/ovn-sbctl.8*
612 %{_mandir}/man5/ovn-nb.5*
613 %{_mandir}/man5/ovn-sb.5*
614 %{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
615
616 %files ovn-central
617 %{_bindir}/ovn-northd
618 %{_mandir}/man8/ovn-northd.8*
619 %config %{_datadir}/openvswitch/ovn-nb.ovsschema
620 %config %{_datadir}/openvswitch/ovn-sb.ovsschema
621 %{_unitdir}/ovn-northd.service
622 %{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
623
624 %files ovn-host
625 %{_bindir}/ovn-controller
626 %{_mandir}/man8/ovn-controller.8*
627 %{_unitdir}/ovn-controller.service
628 %{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
629
630 %files ovn-vtep
631 %{_bindir}/ovn-controller-vtep
632 %{_mandir}/man8/ovn-controller-vtep.8*
633 %{_unitdir}/ovn-controller-vtep.service
634
635 %changelog
636 * Wed Jan 12 2011 Ralf Spenneberg <ralf@os-s.net>
637 - First build on F14