summaryrefslogtreecommitdiff
path: root/contrib/fedora/rpm/NetworkManager.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fedora/rpm/NetworkManager.spec')
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index 61f2e0a549..2adde2ce7e 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -50,6 +50,7 @@
%bcond_without wwan
%bcond_without team
%bcond_without wifi
+%bcond_without openvswitch
%bcond_without ppp
%bcond_without nmtui
%bcond_without regen_docs
@@ -240,6 +241,19 @@ This package contains NetworkManager support for mobile broadband (WWAN)
devices.
%endif
+
+%if %{with openvswitch}
+%package openvswitch
+Summary: OpenVSwitch device plugin for NetworkManager
+Group: System Environment/Base
+Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
+Requires: openvswitch
+
+%description openvswitch
+This package contains NetworkManager support for OpenVSwitch bridges.
+%endif
+
+
%if %{with ppp}
%package ppp
Summary: PPP plugin for NetworkManager
@@ -596,6 +610,12 @@ fi
%{_libdir}/%{name}/libnm-wwan.so
%endif
+%if %{with openvswitch}
+%files openvswitch
+%{_libdir}/%{name}/libnm-device-plugin-openvswitch.so
+%{systemd_dir}/NetworkManager.service.d/NetworkManager-openvswitch.conf
+%endif
+
%if %{with ppp}
%files ppp
%{_libdir}/pppd/%{ppp_version}/nm-pppd-plugin.so