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