]> git.proxmox.com Git - mirror_ovs.git/blob - rhel/openvswitch-fedora.spec.in
rhel: user/group openvswitch does not exist
[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(pre): shadow-utils
96 Requires(post): /bin/sed
97 %if %{with dpdk}
98 Requires(post): /usr/sbin/usermod
99 Requires(post): /usr/sbin/groupadd
100 %endif
101 Requires(post): systemd-units
102 Requires(preun): systemd-units
103 Requires(postun): systemd-units
104 Obsoletes: openvswitch-controller <= 0:2.1.0-1
105
106 # to skip running checks, pass --without check
107 %bcond_without check
108 %bcond_with check_datapath_kernel
109
110 %description
111 Open vSwitch provides standard network bridging functions and
112 support for the OpenFlow protocol for remote per-flow control of
113 traffic.
114
115 %package selinux-policy
116 Summary: Open vSwitch SELinux policy
117 License: ASL 2.0
118 BuildArch: noarch
119 Requires: selinux-policy-targeted
120
121 %description selinux-policy
122 Tailored Open vSwitch SELinux policy
123
124 %package -n %{_py2}-openvswitch
125 Summary: Open vSwitch python2 bindings
126 License: ASL 2.0
127 BuildArch: noarch
128 Requires: %{_py2}
129 Requires: %{_py2}-six
130 %{?python_provide:%python_provide python2-openvswitch = %{version}-%{release}}
131 %description -n %{_py2}-openvswitch
132 Python bindings for the Open vSwitch database
133
134 %if 0%{?fedora} > 22 || %{with build_python3}
135 %package -n python3-openvswitch
136 Summary: Open vSwitch python3 bindings
137 License: ASL 2.0
138 BuildArch: noarch
139 Requires: python3
140 Requires: python3-six
141 %{?python_provide:%python_provide python3-openvswitch = %{version}-%{release}}
142
143 %description -n python3-openvswitch
144 Python bindings for the Open vSwitch database
145 %endif
146
147 %package test
148 Summary: Open vSwitch testing utilities
149 License: ASL 2.0
150 BuildArch: noarch
151 Requires: %{_py2}-openvswitch = %{version}-%{release}
152 Requires: %{_py2} %{_py2}-twisted
153
154 %description test
155 Utilities that are useful to diagnose performance and connectivity
156 issues in Open vSwitch setup.
157
158 %package devel
159 Summary: Open vSwitch OpenFlow development package (library, headers)
160 License: ASL 2.0
161 Provides: openvswitch-static = %{version}-%{release}
162
163 %description devel
164 This provides static library, libopenswitch.a and the openvswitch header
165 files needed to build an external application.
166
167 %package ovn-central
168 Summary: Open vSwitch - Open Virtual Network support
169 License: ASL 2.0
170 Requires: openvswitch openvswitch-ovn-common
171 Requires: firewalld-filesystem
172
173 %description ovn-central
174 OVN, the Open Virtual Network, is a system to support virtual network
175 abstraction. OVN complements the existing capabilities of OVS to add
176 native support for virtual network abstractions, such as virtual L2 and L3
177 overlays and security groups.
178
179 %package ovn-host
180 Summary: Open vSwitch - Open Virtual Network support
181 License: ASL 2.0
182 Requires: openvswitch openvswitch-ovn-common
183 Requires: firewalld-filesystem
184
185 %description ovn-host
186 OVN, the Open Virtual Network, is a system to support virtual network
187 abstraction. OVN complements the existing capabilities of OVS to add
188 native support for virtual network abstractions, such as virtual L2 and L3
189 overlays and security groups.
190
191 %package ovn-vtep
192 Summary: Open vSwitch - Open Virtual Network support
193 License: ASL 2.0
194 Requires: openvswitch openvswitch-ovn-common
195
196 %description ovn-vtep
197 OVN vtep controller
198
199 %package ovn-common
200 Summary: Open vSwitch - Open Virtual Network support
201 License: ASL 2.0
202 Requires: openvswitch
203
204 %description ovn-common
205 Utilities that are use to diagnose and manage the OVN components.
206
207 %package ovn-docker
208 Summary: Open vSwitch - Open Virtual Network support
209 License: ASL 2.0
210 Requires: openvswitch openvswitch-ovn-common %{_py2}-openvswitch
211
212 %description ovn-docker
213 Docker network plugins for OVN.
214
215 %prep
216 %setup -q
217
218 %build
219 %configure \
220 %if %{with libcapng}
221 --enable-libcapng \
222 %else
223 --disable-libcapng \
224 %endif
225 %if %{with dpdk}
226 --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
227 %endif
228 --enable-ssl \
229 --with-pkidir=%{_sharedstatedir}/openvswitch/pki
230
231 build-aux/dpdkstrip.py \
232 %if %{with dpdk}
233 --dpdk \
234 %else
235 --nodpdk \
236 %endif
237 < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
238 > rhel/usr_lib_systemd_system_ovs-vswitchd.service
239
240 make %{?_smp_mflags}
241 make selinux-policy
242
243 %install
244 rm -rf $RPM_BUILD_ROOT
245 make install DESTDIR=$RPM_BUILD_ROOT
246
247 install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
248 install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
249 install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
250
251 %if %{with dpdk}
252 install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
253 $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d/91-vfio.rules
254 %endif
255
256 install -p -D -m 0644 \
257 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
258 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
259 for service in openvswitch ovsdb-server ovs-vswitchd ovs-delete-transient-ports \
260 ovn-controller ovn-controller-vtep ovn-northd; do
261 install -p -D -m 0644 \
262 rhel/usr_lib_systemd_system_${service}.service \
263 $RPM_BUILD_ROOT%{_unitdir}/${service}.service
264 done
265 install -m 0755 rhel/etc_init.d_openvswitch \
266 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
267
268 install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
269 $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
270
271 install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
272 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
273
274 install -m 0644 vswitchd/vswitch.ovsschema \
275 $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
276
277 install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
278 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
279 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
280 install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
281 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
282
283 install -d -m 0755 $RPM_BUILD_ROOT%{python2_sitelib}
284 cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
285 $RPM_BUILD_ROOT%{python2_sitelib}
286
287 %if 0%{?fedora} > 22 || %{with build_python3}
288 install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
289 cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovs \
290 $RPM_BUILD_ROOT%{python3_sitelib}
291 %endif
292
293 rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
294
295 install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
296
297 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
298 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/.conf.db.~lock~
299 touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
300
301 install -p -m 644 -D selinux/openvswitch-custom.pp \
302 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
303
304 install -d $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
305 install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-central-firewall-service.xml \
306 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
307 install -p -m 0644 rhel/usr_lib_firewalld_services_ovn-host-firewall-service.xml \
308 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
309
310 install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn
311 ln -s %{_datadir}/openvswitch/scripts/ovndb-servers.ocf \
312 $RPM_BUILD_ROOT%{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
313
314 install -p -D -m 0755 \
315 rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
316 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
317
318 # remove unpackaged files
319 rm -f $RPM_BUILD_ROOT%{_bindir}/ovs-parse-backtrace \
320 $RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \
321 $RPM_BUILD_ROOT%{_mandir}/man8/ovs-vlan-bug-workaround.8
322
323 %check
324 %if %{with check}
325 if make check TESTSUITEFLAGS='%{_smp_mflags}' RECHECK=yes; then :;
326 else
327 cat tests/testsuite.log
328 exit 1
329 fi
330 %endif
331 %if %{with check_datapath_kernel}
332 if make check-kernel RECHECK=yes; then :;
333 else
334 cat tests/system-kmod-testsuite.log
335 exit 1
336 fi
337 %endif
338
339 %clean
340 rm -rf $RPM_BUILD_ROOT
341
342 %preun
343 %if 0%{?systemd_preun:1}
344 %systemd_preun %{name}.service
345 %else
346 if [ $1 -eq 0 ] ; then
347 # Package removal, not upgrade
348 /bin/systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
349 /bin/systemctl stop %{name}.service >/dev/null 2>&1 || :
350 fi
351 %endif
352
353 %preun ovn-central
354 %if 0%{?systemd_preun:1}
355 %systemd_preun ovn-northd.service
356 %else
357 if [ $1 -eq 0 ] ; then
358 # Package removal, not upgrade
359 /bin/systemctl --no-reload disable ovn-northd.service >/dev/null 2>&1 || :
360 /bin/systemctl stop ovn-northd.service >/dev/null 2>&1 || :
361 fi
362 %endif
363
364 %preun ovn-host
365 %if 0%{?systemd_preun:1}
366 %systemd_preun ovn-controller.service
367 %else
368 if [ $1 -eq 0 ] ; then
369 # Package removal, not upgrade
370 /bin/systemctl --no-reload disable ovn-controller.service >/dev/null 2>&1 || :
371 /bin/systemctl stop ovn-controller.service >/dev/null 2>&1 || :
372 fi
373 %endif
374
375 %preun ovn-vtep
376 %if 0%{?systemd_preun:1}
377 %systemd_preun ovn-controller-vtep.service
378 %else
379 if [ $1 -eq 0 ] ; then
380 # Package removal, not upgrade
381 /bin/systemctl --no-reload disable ovn-controller-vtep.service >/dev/null 2>&1 || :
382 /bin/systemctl stop ovn-controller-vtep.service >/dev/null 2>&1 || :
383 fi
384 %endif
385
386 %pre
387 getent group openvswitch >/dev/null || groupadd -r openvswitch
388 getent passwd openvswitch >/dev/null || \
389 useradd -r -g openvswitch -d / -s /sbin/nologin \
390 -c "Open vSwitch Daemons" openvswitch
391
392 %if %{with dpdk}
393 getent group hugetlbfs >/dev/null || groupadd hugetlbfs
394 usermod -a -G hugetlbfs openvswitch
395 %endif
396 exit 0
397
398 %post
399 if [ $1 -eq 1 ]; then
400 sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
401
402 %if %{with dpdk}
403 sed -i \
404 's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
405 /etc/sysconfig/openvswitch
406 %endif
407
408 # In the case of upgrade, this is not needed.
409 chown -R openvswitch:openvswitch /etc/openvswitch
410 fi
411
412 %if 0%{?systemd_post:1}
413 %systemd_post %{name}.service
414 %else
415 # Package install, not upgrade
416 if [ $1 -eq 1 ]; then
417 /bin/systemctl daemon-reload >dev/null || :
418 fi
419 %endif
420
421 %post ovn-central
422 %if 0%{?systemd_post:1}
423 %systemd_post ovn-northd.service
424 %else
425 # Package install, not upgrade
426 if [ $1 -eq 1 ]; then
427 /bin/systemctl daemon-reload >dev/null || :
428 fi
429 %endif
430
431 %post ovn-host
432 %if 0%{?systemd_post:1}
433 %systemd_post ovn-controller.service
434 %else
435 # Package install, not upgrade
436 if [ $1 -eq 1 ]; then
437 /bin/systemctl daemon-reload >dev/null || :
438 fi
439 %endif
440
441 %post ovn-vtep
442 %if 0%{?systemd_post:1}
443 %systemd_post ovn-controller-vtep.service
444 %else
445 # Package install, not upgrade
446 if [ $1 -eq 1 ]; then
447 /bin/systemctl daemon-reload >dev/null || :
448 fi
449 %endif
450
451 %post selinux-policy
452 /usr/sbin/semodule -i %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp &> /dev/null || :
453
454 %postun
455 %if 0%{?systemd_postun:1}
456 %systemd_postun %{name}.service
457 %else
458 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
459 %endif
460
461 %postun ovn-central
462 %if 0%{?systemd_postun:1}
463 %systemd_postun ovn-northd.service
464 %else
465 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
466 %endif
467
468 %postun ovn-host
469 %if 0%{?systemd_postun:1}
470 %systemd_postun ovn-controller.service
471 %else
472 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
473 %endif
474
475 %postun ovn-vtep
476 %if 0%{?systemd_postun:1}
477 %systemd_postun ovn-controller-vtep.service
478 %else
479 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
480 %endif
481
482 %postun selinux-policy
483 if [ $1 -eq 0 ] ; then
484 /usr/sbin/semodule -r openvswitch-custom &> /dev/null || :
485 fi
486
487 %files selinux-policy
488 %defattr(-,root,root)
489 %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
490
491 %files -n %{_py2}-openvswitch
492 %{python2_sitelib}/ovs
493
494 %if 0%{?fedora} > 22 || %{with build_python3}
495 %files -n python3-openvswitch
496 %{python3_sitelib}/ovs
497 %endif
498
499 %files test
500 %{_bindir}/ovs-test
501 %{_bindir}/ovs-vlan-test
502 %{_bindir}/ovs-l3ping
503 %{_bindir}/ovs-pcap
504 %{_bindir}/ovs-tcpdump
505 %{_bindir}/ovs-tcpundump
506 %{_mandir}/man8/ovs-test.8*
507 %{_mandir}/man8/ovs-vlan-test.8*
508 %{_mandir}/man8/ovs-l3ping.8*
509 %{_mandir}/man1/ovs-pcap.1*
510 %{_mandir}/man8/ovs-tcpdump.8*
511 %{_mandir}/man1/ovs-tcpundump.1*
512 %{python2_sitelib}/ovstest
513
514 %files devel
515 %{_libdir}/*.a
516 %{_libdir}/*.la
517 %{_libdir}/pkgconfig/*.pc
518 %{_includedir}/openvswitch/*
519 %{_includedir}/openflow/*
520 %{_includedir}/ovn/*
521
522 %files
523 %defattr(-,openvswitch,openvswitch)
524 %dir %{_sysconfdir}/openvswitch
525 %{_sysconfdir}/openvswitch/default.conf
526 %config %ghost %{_sysconfdir}/openvswitch/conf.db
527 %ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
528 %config %ghost %{_sysconfdir}/openvswitch/system-id.conf
529 %config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
530 %defattr(-,root,root)
531 %{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
532 %{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
533 %config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
534 %{_unitdir}/openvswitch.service
535 %{_unitdir}/ovsdb-server.service
536 %{_unitdir}/ovs-vswitchd.service
537 %{_unitdir}/ovs-delete-transient-ports.service
538 %{_datadir}/openvswitch/scripts/openvswitch.init
539 %{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
540 %{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
541 %{_datadir}/openvswitch/bugtool-plugins/
542 %{_datadir}/openvswitch/scripts/ovs-bugtool-*
543 %{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
544 %{_datadir}/openvswitch/scripts/ovs-lib
545 %{_datadir}/openvswitch/scripts/ovs-save
546 %{_datadir}/openvswitch/scripts/ovs-vtep
547 %{_datadir}/openvswitch/scripts/ovs-ctl
548 %{_datadir}/openvswitch/scripts/ovs-systemd-reload
549 %config %{_datadir}/openvswitch/vswitch.ovsschema
550 %config %{_datadir}/openvswitch/vtep.ovsschema
551 %{_bindir}/ovs-appctl
552 %{_bindir}/ovs-docker
553 %{_bindir}/ovs-dpctl
554 %{_bindir}/ovs-dpctl-top
555 %{_bindir}/ovs-ofctl
556 %{_bindir}/ovs-vsctl
557 %{_bindir}/ovsdb-client
558 %{_bindir}/ovsdb-tool
559 %{_bindir}/ovs-testcontroller
560 %{_bindir}/ovs-pki
561 %{_bindir}/vtep-ctl
562 %{_sbindir}/ovs-bugtool
563 %{_sbindir}/ovs-vswitchd
564 %{_sbindir}/ovsdb-server
565 %{_mandir}/man1/ovsdb-client.1*
566 %{_mandir}/man1/ovsdb-server.1*
567 %{_mandir}/man1/ovsdb-tool.1*
568 %{_mandir}/man5/ovsdb-server.5*
569 %{_mandir}/man5/ovs-vswitchd.conf.db.5*
570 %{_mandir}/man5/ovsdb.5*
571 %{_mandir}/man5/vtep.5*
572 %{_mandir}/man7/ovs-fields.7*
573 %{_mandir}/man7/ovsdb.7*
574 %{_mandir}/man7/ovsdb-server.7*
575 %{_mandir}/man8/vtep-ctl.8*
576 %{_mandir}/man8/ovs-appctl.8*
577 %{_mandir}/man8/ovs-bugtool.8*
578 %{_mandir}/man8/ovs-ctl.8*
579 %{_mandir}/man8/ovs-dpctl.8*
580 %{_mandir}/man8/ovs-dpctl-top.8*
581 %{_mandir}/man8/ovs-ofctl.8*
582 %{_mandir}/man8/ovs-pki.8*
583 %{_mandir}/man8/ovs-vsctl.8*
584 %{_mandir}/man8/ovs-vswitchd.8*
585 %{_mandir}/man8/ovs-parse-backtrace.8*
586 %{_mandir}/man8/ovs-testcontroller.8*
587 %if %{with dpdk}
588 %{_prefix}/lib/udev/rules.d/91-vfio.rules
589 %endif
590 %doc NOTICE README.rst NEWS rhel/README.RHEL.rst
591 /var/lib/openvswitch
592 %attr(755,-,-) /var/log/openvswitch
593 %ghost %attr(755,root,root) %{_rundir}/openvswitch
594
595 %files ovn-docker
596 %{_bindir}/ovn-docker-overlay-driver
597 %{_bindir}/ovn-docker-underlay-driver
598
599 %files ovn-common
600 %{_bindir}/ovn-nbctl
601 %{_bindir}/ovn-sbctl
602 %{_bindir}/ovn-trace
603 %{_bindir}/ovn-detrace
604 %{_datadir}/openvswitch/scripts/ovn-ctl
605 %{_datadir}/openvswitch/scripts/ovndb-servers.ocf
606 %{_datadir}/openvswitch/scripts/ovn-bugtool-nbctl-show
607 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-lflow-list
608 %{_datadir}/openvswitch/scripts/ovn-bugtool-sbctl-show
609 %{_mandir}/man8/ovn-ctl.8*
610 %{_mandir}/man8/ovn-nbctl.8*
611 %{_mandir}/man8/ovn-trace.8*
612 %{_mandir}/man1/ovn-detrace.1*
613 %{_mandir}/man7/ovn-architecture.7*
614 %{_mandir}/man8/ovn-sbctl.8*
615 %{_mandir}/man5/ovn-nb.5*
616 %{_mandir}/man5/ovn-sb.5*
617 %{_prefix}/lib/ocf/resource.d/ovn/ovndb-servers
618
619 %files ovn-central
620 %{_bindir}/ovn-northd
621 %{_mandir}/man8/ovn-northd.8*
622 %config %{_datadir}/openvswitch/ovn-nb.ovsschema
623 %config %{_datadir}/openvswitch/ovn-sb.ovsschema
624 %{_unitdir}/ovn-northd.service
625 %{_prefix}/lib/firewalld/services/ovn-central-firewall-service.xml
626
627 %files ovn-host
628 %{_bindir}/ovn-controller
629 %{_mandir}/man8/ovn-controller.8*
630 %{_unitdir}/ovn-controller.service
631 %{_prefix}/lib/firewalld/services/ovn-host-firewall-service.xml
632
633 %files ovn-vtep
634 %{_bindir}/ovn-controller-vtep
635 %{_mandir}/man8/ovn-controller-vtep.8*
636 %{_unitdir}/ovn-controller-vtep.service
637
638 %changelog
639 * Wed Jan 12 2011 Ralf Spenneberg <ralf@os-s.net>
640 - First build on F14