]> git.proxmox.com Git - ovs.git/blame - rhel/openvswitch-fedora.spec.in
Require Python 3 and remove support for Python 2.
[ovs.git] / rhel / openvswitch-fedora.spec.in
CommitLineData
d8fe0a6a
RS
1# Spec file for Open vSwitch.
2
e7529141 3# Copyright (C) 2009, 2010, 2013, 2014, 2015, 2016 Nicira Networks, Inc.
d8fe0a6a
RS
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.
329cf232
GS
9#
10# If tests have to be skipped while building, specify the '--without check'
11# option. For example:
8ef22bb1
LR
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.
d8fe0a6a
RS
23
24#%define kernel 2.6.40.4-5.fc15.x86_64
25
2ff63ae0
FL
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
eea0cdb5
PM
29# To enable DPDK support, specify '--with dpdk' when building
30%bcond_with dpdk
db8dcbaf
LM
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
dcd0f1e8
GS
35# If there is a need to automatically enable the package after installation,
36# specify the "--with autoenable"
37%bcond_with autoenable
2ff63ae0 38
da11d088
FL
39# Enable PIE, bz#955181
40%global _hardened_build 1
41
b4366682
FL
42# some distros (e.g: RHEL-7) don't define _rundir macro yet
43# Fedora 15 onwards uses /run as _rundir
44%if 0%{!?_rundir:1}
45%define _rundir /run
46%endif
47
d8fe0a6a
RS
48Name: openvswitch
49Summary: Open vSwitch
50Group: System Environment/Daemons
51URL: http://www.openvswitch.org/
52Version: @VERSION@
53
362d45b7
FL
54# Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the
55# lib/sflow*.[ch] files are SISSL
56# datapath/ is GPLv2 (although not built into any of the binary packages)
362d45b7 57License: ASL 2.0 and LGPLv2+ and SISSL
d8fe0a6a 58Release: 1%{?dist}
d09dbe62 59Source: http://openvswitch.org/releases/%{name}-%{version}.tar.gz
d8fe0a6a 60
fc38b9e2 61BuildRequires: gcc gcc-c++
d2ed89bc 62BuildRequires: autoconf automake libtool
21ea8738 63BuildRequires: systemd-units openssl openssl-devel
db8dcbaf 64%if 0%{?fedora} > 22 || %{with build_python3}
bb1a7ca2 65BuildRequires: python3-devel
db8dcbaf 66%endif
21ea8738
FL
67BuildRequires: desktop-file-utils
68BuildRequires: groff graphviz
9b897c91 69BuildRequires: checkpolicy, selinux-policy-devel
ab451489 70BuildRequires: /usr/bin/sphinx-build-3
3b4099b4
FL
71# make check dependencies
72BuildRequires: procps-ng
2ff63ae0
FL
73%if %{with libcapng}
74BuildRequires: libcap-ng libcap-ng-devel
75%endif
eea0cdb5 76%if %{with dpdk}
e6932e5d 77BuildRequires: libpcap-devel numactl-devel
f3e7ec25 78BuildRequires: dpdk-devel >= 17.05.1
eea0cdb5
PM
79Provides: %{name}-dpdk = %{version}-%{release}
80%endif
771680d9 81BuildRequires: unbound unbound-devel
21ea8738 82
771680d9 83Requires: openssl hostname iproute module-init-tools unbound
ab725f42 84#Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
c1ddf091 85#Requires: kernel >= 3.15.0-0
ab725f42 86
f624bf23 87Requires(pre): shadow-utils
108bcd6a 88Requires(post): /bin/sed
b33c6dca 89Requires(post): systemd-units
d8fe0a6a
RS
90Requires(preun): systemd-units
91Requires(postun): systemd-units
f1b476c3 92Obsoletes: openvswitch-controller <= 0:2.1.0-1
d8fe0a6a 93
db8dcbaf 94# to skip running checks, pass --without check
329cf232 95%bcond_without check
8ef22bb1 96%bcond_with check_datapath_kernel
329cf232 97
d8fe0a6a 98%description
6fcc7a7a 99Open vSwitch provides standard network bridging functions and
d8fe0a6a
RS
100support for the OpenFlow protocol for remote per-flow control of
101traffic.
102
9b897c91
AA
103%package selinux-policy
104Summary: Open vSwitch SELinux policy
105License: ASL 2.0
106BuildArch: noarch
107Requires: selinux-policy-targeted
108
109%description selinux-policy
110Tailored Open vSwitch SELinux policy
111
db8dcbaf 112%if 0%{?fedora} > 22 || %{with build_python3}
bb1a7ca2
TR
113%package -n python3-openvswitch
114Summary: Open vSwitch python3 bindings
115License: ASL 2.0
116BuildArch: noarch
117Requires: python3
118Requires: python3-six
db8dcbaf 119%{?python_provide:%python_provide python3-openvswitch = %{version}-%{release}}
bb1a7ca2
TR
120
121%description -n python3-openvswitch
9136f9bd 122Python bindings for the Open vSwitch database
db8dcbaf 123%endif
9136f9bd 124
f305420a
FL
125%package test
126Summary: Open vSwitch testing utilities
127License: ASL 2.0
128BuildArch: noarch
f305420a
FL
129
130%description test
131Utilities that are useful to diagnose performance and connectivity
132issues in Open vSwitch setup.
133
3519fa08
FL
134%package devel
135Summary: Open vSwitch OpenFlow development package (library, headers)
136License: ASL 2.0
3519fa08
FL
137
138%description devel
71e8afbd 139This provides shared library, libopenswitch.so and the openvswitch header
3519fa08
FL
140files needed to build an external application.
141
fa72c536
TR
142%if 0%{?rhel} > 7 || 0%{?fedora} > 28
143%package -n network-scripts-%{name}
144Summary: Open vSwitch legacy network service support
145License: ASL 2.0
146Requires: network-scripts
147Supplements: (%{name} and network-scripts)
148
149%description -n network-scripts-%{name}
150This provides the ifup and ifdown scripts for use with the legacy network
151service.
152%endif
153
51639025 154%package ipsec
bdddc715
QX
155Summary: Open vSwitch IPsec tunneling support
156License: ASL 2.0
1ca0323e 157Requires: openvswitch python3-openvswitch libreswan
bdddc715 158
51639025 159%description ipsec
bdddc715
QX
160This package provides IPsec tunneling support for OVS tunnels.
161
d8fe0a6a 162%prep
c1aadf4a 163%setup -q
d8fe0a6a
RS
164
165%build
2ff63ae0
FL
166%configure \
167%if %{with libcapng}
5a0e4aec 168 --enable-libcapng \
2ff63ae0 169%else
5a0e4aec 170 --disable-libcapng \
eea0cdb5
PM
171%endif
172%if %{with dpdk}
5a0e4aec 173 --with-dpdk=$(dirname %{_datadir}/dpdk/*/.config) \
2ff63ae0 174%endif
5a0e4aec 175 --enable-ssl \
71e8afbd 176 --disable-static \
bc4fd439 177 --enable-shared \
5a0e4aec 178 --with-pkidir=%{_sharedstatedir}/openvswitch/pki \
1ca0323e 179 PYTHON3=%{__python3}
2ff63ae0 180
dd6f26a9 181build-aux/dpdkstrip.py \
491a9d3b 182%if %{with dpdk}
5a0e4aec 183 --dpdk \
491a9d3b 184%else
5a0e4aec 185 --nodpdk \
491a9d3b 186%endif
5a0e4aec
BP
187 < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
188 > rhel/usr_lib_systemd_system_ovs-vswitchd.service
491a9d3b 189
6238c95d 190make %{?_smp_mflags}
ee29e9fe 191make selinux-policy
d8fe0a6a
RS
192
193%install
194rm -rf $RPM_BUILD_ROOT
195make install DESTDIR=$RPM_BUILD_ROOT
95ca408c 196
2f4f43bf 197install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
03736a67 198install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
1c9564eb 199install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
a76ef11d
AA
200copy_headers() {
201 src=$1
202 dst=$RPM_BUILD_ROOT/$2
203 install -d -m 0755 $dst
204 install -m 0644 $src/*.h $dst
205}
206copy_headers include %{_includedir}/openvswitch
207copy_headers include/openflow %{_includedir}/openvswitch/openflow
208copy_headers include/openvswitch %{_includedir}/openvswitch/openvswitch
209copy_headers include/sparse %{_includedir}/openvswitch/sparse
210copy_headers include/sparse/arpa %{_includedir}/openvswitch/sparse/arpa
211copy_headers include/sparse/netinet %{_includedir}/openvswitch/sparse/netinet
212copy_headers include/sparse/sys %{_includedir}/openvswitch/sparse/sys
213copy_headers lib %{_includedir}/openvswitch/lib
95ca408c 214
ea5dbd79 215%if %{with dpdk}
216install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
217 $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d/91-vfio.rules
218%endif
219
c846a5b2
FL
220install -p -D -m 0644 \
221 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
222 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
a694ead1 223for service in openvswitch ovsdb-server ovs-vswitchd ovs-delete-transient-ports \
bdddc715 224 openvswitch-ipsec; do
5a0e4aec
BP
225 install -p -D -m 0644 \
226 rhel/usr_lib_systemd_system_${service}.service \
227 $RPM_BUILD_ROOT%{_unitdir}/${service}.service
c05ea879 228done
fa0be8a4 229install -m 0755 rhel/etc_init.d_openvswitch \
d8fe0a6a 230 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
95ca408c 231
92d53574 232install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
233 $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
234
3d1d098c 235install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
4f98e02e 236 $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
95ca408c 237
fa0be8a4 238install -m 0644 vswitchd/vswitch.ovsschema \
4f98e02e 239 $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
95ca408c 240
4f98e02e 241install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
d8fe0a6a 242install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
4f98e02e 243 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
d8fe0a6a 244install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
4f98e02e 245 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
95ca408c 246
db8dcbaf
LM
247%if 0%{?fedora} > 22 || %{with build_python3}
248install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
1ca0323e 249cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/* \
bb1a7ca2 250 $RPM_BUILD_ROOT%{python3_sitelib}
db8dcbaf
LM
251%endif
252
bb1a7ca2 253rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
d8fe0a6a 254
fa0be8a4 255install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
d8fe0a6a 256
1c9564eb 257touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
c1c7480b 258touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/.conf.db.~lock~
1c9564eb
FL
259touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
260
9b897c91
AA
261install -p -m 644 -D selinux/openvswitch-custom.pp \
262 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
263
d5c2862a 264install -d $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
f1ea8916 265
ea36b046
TR
266install -p -D -m 0755 \
267 rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
268 $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
269
1247b5a7 270# remove unpackaged files
e7529141 271rm -f $RPM_BUILD_ROOT%{_bindir}/ovs-parse-backtrace \
1247b5a7 272 $RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \
50e6c26f 273 $RPM_BUILD_ROOT%{_mandir}/man8/ovs-vlan-bug-workaround.8
1247b5a7 274
78203a9c
NS
275# remove ovn unpackages files
276rm -f $RPM_BUILD_ROOT%{_bindir}/ovn*
277rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ovn*
278rm -f $RPM_BUILD_ROOT%{_mandir}/man5/ovn*
279rm -f $RPM_BUILD_ROOT%{_mandir}/man7/ovn*
280rm -f $RPM_BUILD_ROOT%{_mandir}/man8/ovn*
281rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/ovn*
282rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovn*
283rm -f $RPM_BUILD_ROOT%{_includedir}/ovn/*
284rm -f $RPM_BUILD_ROOT%{_libdir}/libovn*
285
329cf232
GS
286%check
287%if %{with check}
0bdc0bf7
TR
288 touch resolv.conf
289 export OVS_RESOLV_CONF=$(pwd)/resolv.conf
0d3f2152 290 if make check TESTSUITEFLAGS='%{_smp_mflags}' RECHECK=yes; then :;
329cf232
GS
291 else
292 cat tests/testsuite.log
293 exit 1
294 fi
295%endif
8ef22bb1
LR
296%if %{with check_datapath_kernel}
297 if make check-kernel RECHECK=yes; then :;
298 else
299 cat tests/system-kmod-testsuite.log
300 exit 1
301 fi
302%endif
329cf232 303
d8fe0a6a
RS
304%clean
305rm -rf $RPM_BUILD_ROOT
306
21aade70
AC
307%pre selinux-policy
308%selinux_relabel_pre -s targeted
309
d8fe0a6a 310%preun
0447019d
FL
311%if 0%{?systemd_preun:1}
312 %systemd_preun %{name}.service
313%else
314 if [ $1 -eq 0 ] ; then
0e12c2a4 315 # Package removal, not upgrade
0447019d
FL
316 /bin/systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
317 /bin/systemctl stop %{name}.service >/dev/null 2>&1 || :
318 fi
319%endif
320
f624bf23 321%pre
068c3bad 322%if %{with libcapng}
f624bf23
AP
323getent group openvswitch >/dev/null || groupadd -r openvswitch
324getent passwd openvswitch >/dev/null || \
325 useradd -r -g openvswitch -d / -s /sbin/nologin \
326 -c "Open vSwitch Daemons" openvswitch
327
328%if %{with dpdk}
00b8c48f 329 getent group hugetlbfs >/dev/null || groupadd -r hugetlbfs
f624bf23
AP
330 usermod -a -G hugetlbfs openvswitch
331%endif
068c3bad 332%endif
dab29add
GS
333
334%if %{with autoenable}
335 if [ -x "/etc/init.d/openvswitch" ]; then
336 touch %{_tmppath}/ovs-upgrade-from-sysv
337 fi
338%endif
f624bf23
AP
339exit 0
340
d8fe0a6a 341%post
068c3bad 342%if %{with libcapng}
ac416a3a 343if [ $1 -eq 1 ]; then
ac416a3a 344 sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
b096fa42 345 sed -i 's:\(.*su\).*:\1 openvswitch openvswitch:' %{_sysconfdir}/logrotate.d/openvswitch
ac416a3a 346
e3e738a3 347%if %{with dpdk}
e3e738a3 348 sed -i \
349 's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
350 /etc/sysconfig/openvswitch
351%endif
352
ac416a3a 353 # In the case of upgrade, this is not needed.
354 chown -R openvswitch:openvswitch /etc/openvswitch
b096fa42 355 chown -R openvswitch:openvswitch /var/log/openvswitch
ac416a3a 356fi
068c3bad 357%endif
ac416a3a 358
0447019d 359%if 0%{?systemd_post:1}
dcd0f1e8 360 # This may not enable openvswitch service or do daemon-reload.
0447019d
FL
361 %systemd_post %{name}.service
362%else
363 # Package install, not upgrade
364 if [ $1 -eq 1 ]; then
365 /bin/systemctl daemon-reload >dev/null || :
366 fi
367%endif
368
dcd0f1e8
GS
369%if %{with autoenable}
370 systemctl daemon-reload
371 systemctl enable openvswitch
dab29add
GS
372 # Handle upgrades to this package from the OVS repo's rhel packages.
373 # One "restart" is needed for newer systemd files to see the old running
374 # daemons. Another "restart" (outside the package postinst script) is
375 # needed to actually run new daemons.
376 if [ -e "%{_tmppath}/ovs-upgrade-from-sysv" ]; then
377 systemctl restart openvswitch
378 rm "%{_tmppath}/ovs-upgrade-from-sysv"
379 fi
dcd0f1e8
GS
380%endif
381
9b897c91 382%post selinux-policy
21aade70 383%selinux_modules_install -s targeted %{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
9b897c91 384
d8fe0a6a 385%postun
5771f476
FL
386%if 0%{?systemd_postun:1}
387 %systemd_postun %{name}.service
0447019d
FL
388%else
389 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
0447019d
FL
390%endif
391
9b897c91
AA
392%postun selinux-policy
393if [ $1 -eq 0 ] ; then
21aade70 394 %selinux_modules_uninstall -s targeted openvswitch-custom
9b897c91
AA
395fi
396
21aade70
AC
397%posttrans selinux-policy
398%selinux_relabel_post -s targeted
399
9b897c91
AA
400%files selinux-policy
401%defattr(-,root,root)
402%{_datadir}/selinux/packages/%{name}/openvswitch-custom.pp
403
db8dcbaf 404%if 0%{?fedora} > 22 || %{with build_python3}
bb1a7ca2
TR
405%files -n python3-openvswitch
406%{python3_sitelib}/ovs
db8dcbaf 407%endif
9136f9bd 408
f305420a
FL
409%files test
410%{_bindir}/ovs-test
411%{_bindir}/ovs-vlan-test
412%{_bindir}/ovs-l3ping
8647686e
AC
413%{_bindir}/ovs-pcap
414%{_bindir}/ovs-tcpdump
415%{_bindir}/ovs-tcpundump
f305420a
FL
416%{_mandir}/man8/ovs-test.8*
417%{_mandir}/man8/ovs-vlan-test.8*
418%{_mandir}/man8/ovs-l3ping.8*
8647686e
AC
419%{_mandir}/man1/ovs-pcap.1*
420%{_mandir}/man8/ovs-tcpdump.8*
421%{_mandir}/man1/ovs-tcpundump.1*
1ca0323e 422%{python3_sitelib}/ovstest
f305420a 423
3519fa08 424%files devel
bc4fd439 425%{_libdir}/lib*.so
2fd84d5e 426%{_libdir}/pkgconfig/*.pc
3519fa08
FL
427%{_includedir}/openvswitch/*
428%{_includedir}/openflow/*
71e8afbd 429%exclude %{_libdir}/*.la
3519fa08 430
fa72c536
TR
431%if 0%{?rhel} > 7 || 0%{?fedora} > 28
432%files -n network-scripts-%{name}
433%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
434%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
435%endif
436
d8fe0a6a 437%files
068c3bad 438%if %{with libcapng}
951d79e6 439%defattr(-,openvswitch,openvswitch)
068c3bad
AA
440%else
441%defattr(-,root,root)
442%endif
1c9564eb 443%dir %{_sysconfdir}/openvswitch
92d53574 444%{_sysconfdir}/openvswitch/default.conf
1c9564eb 445%config %ghost %{_sysconfdir}/openvswitch/conf.db
c1c7480b 446%ghost %{_sysconfdir}/openvswitch/.conf.db.~lock~
1c9564eb
FL
447%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
448%config(noreplace) %{_sysconfdir}/sysconfig/openvswitch
951d79e6
TR
449%defattr(-,root,root)
450%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
451%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
a7321a1f 452%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
d8fe0a6a 453%{_unitdir}/openvswitch.service
4f621873 454%{_unitdir}/ovsdb-server.service
84ad1208 455%{_unitdir}/ovs-vswitchd.service
a694ead1 456%{_unitdir}/ovs-delete-transient-ports.service
d8fe0a6a 457%{_datadir}/openvswitch/scripts/openvswitch.init
fa72c536 458%if ! (0%{?rhel} > 7 || 0%{?fedora} > 28)
d8fe0a6a
RS
459%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
460%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
fa72c536 461%endif
aa6ccca5
FL
462%{_datadir}/openvswitch/bugtool-plugins/
463%{_datadir}/openvswitch/scripts/ovs-bugtool-*
464%{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
465%{_datadir}/openvswitch/scripts/ovs-lib
50e6c26f 466%{_datadir}/openvswitch/scripts/ovs-save
aa6ccca5
FL
467%{_datadir}/openvswitch/scripts/ovs-vtep
468%{_datadir}/openvswitch/scripts/ovs-ctl
15117123 469%{_datadir}/openvswitch/scripts/ovs-kmod-ctl
ea36b046 470%{_datadir}/openvswitch/scripts/ovs-systemd-reload
aa6ccca5
FL
471%config %{_datadir}/openvswitch/vswitch.ovsschema
472%config %{_datadir}/openvswitch/vtep.ovsschema
5b88626a
FL
473%{_bindir}/ovs-appctl
474%{_bindir}/ovs-docker
475%{_bindir}/ovs-dpctl
476%{_bindir}/ovs-dpctl-top
477%{_bindir}/ovs-ofctl
478%{_bindir}/ovs-vsctl
479%{_bindir}/ovsdb-client
480%{_bindir}/ovsdb-tool
481%{_bindir}/ovs-testcontroller
482%{_bindir}/ovs-pki
483%{_bindir}/vtep-ctl
bc4fd439 484%{_libdir}/lib*.so.*
f616ba3e
FL
485%{_sbindir}/ovs-bugtool
486%{_sbindir}/ovs-vswitchd
487%{_sbindir}/ovsdb-server
a2f24d79
FL
488%{_mandir}/man1/ovsdb-client.1*
489%{_mandir}/man1/ovsdb-server.1*
490%{_mandir}/man1/ovsdb-tool.1*
6bb9b060 491%{_mandir}/man5/ovsdb-server.5*
a2f24d79 492%{_mandir}/man5/ovs-vswitchd.conf.db.5*
bfaf6352 493%{_mandir}/man5/ovsdb.5*
a2f24d79 494%{_mandir}/man5/vtep.5*
96edaf5f 495%{_mandir}/man7/ovs-actions.7*
b81dc9a3 496%{_mandir}/man7/ovs-fields.7*
bfaf6352
TR
497%{_mandir}/man7/ovsdb.7*
498%{_mandir}/man7/ovsdb-server.7*
a2f24d79
FL
499%{_mandir}/man8/vtep-ctl.8*
500%{_mandir}/man8/ovs-appctl.8*
501%{_mandir}/man8/ovs-bugtool.8*
502%{_mandir}/man8/ovs-ctl.8*
503%{_mandir}/man8/ovs-dpctl.8*
504%{_mandir}/man8/ovs-dpctl-top.8*
15117123 505%{_mandir}/man8/ovs-kmod-ctl.8*
a2f24d79
FL
506%{_mandir}/man8/ovs-ofctl.8*
507%{_mandir}/man8/ovs-pki.8*
508%{_mandir}/man8/ovs-vsctl.8*
509%{_mandir}/man8/ovs-vswitchd.8*
510%{_mandir}/man8/ovs-parse-backtrace.8*
511%{_mandir}/man8/ovs-testcontroller.8*
ea5dbd79 512%if %{with dpdk}
513%{_prefix}/lib/udev/rules.d/91-vfio.rules
514%endif
888cf44d 515%doc NOTICE README.rst NEWS rhel/README.RHEL.rst
d8fe0a6a 516/var/lib/openvswitch
b096fa42 517%attr(750,root,root) /var/log/openvswitch
51542edd 518%ghost %attr(755,root,root) %{_rundir}/openvswitch
cdce093e 519%ghost %attr(644,root,root) %{_rundir}/openvswitch.useropts
d8fe0a6a 520
51639025 521%files ipsec
bdddc715
QX
522%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
523%{_unitdir}/openvswitch-ipsec.service
524
d8fe0a6a
RS
525%changelog
526* Wed Jan 12 2011 Ralf Spenneberg <ralf@os-s.net>
527- First build on F14