mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 08:10:06 +01:00
contrib/rpm: update spec file adding new wifi plugin NetworkManager-wifi
Commit a544aa374e extracts the wifi device
into a shared library. Update the (currently broken) default spec file to
build the new package NetworkManager-wifi.
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
a2430f01d6
commit
08e8b3bd13
1 changed files with 21 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
%global with_adsl 1
|
%global with_adsl 1
|
||||||
%global with_bluetooth 1
|
%global with_bluetooth 1
|
||||||
|
%global with_wifi 1
|
||||||
%global with_wimax 0
|
%global with_wimax 0
|
||||||
%global with_wwan 1
|
%global with_wwan 1
|
||||||
|
|
||||||
|
|
@ -173,6 +174,18 @@ This package contains NetworkManager support for Bluetooth devices.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?with_wifi}
|
||||||
|
%package wifi
|
||||||
|
Summary: Wifi plugin for NetworkManager
|
||||||
|
Group: System Environment/Base
|
||||||
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Obsoletes: NetworkManager < 1:0.9.9.1-2
|
||||||
|
|
||||||
|
%description wifi
|
||||||
|
This package contains NetworkManager support for Wifi and OLPC devices.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_wwan}
|
%if 0%{?with_wwan}
|
||||||
%package wwan
|
%package wwan
|
||||||
Summary: Mobile broadband device plugin for NetworkManager
|
Summary: Mobile broadband device plugin for NetworkManager
|
||||||
|
|
@ -448,6 +461,14 @@ fi
|
||||||
%exclude %{_libdir}/%{name}/libnm-device-plugin-bluetooth.so
|
%exclude %{_libdir}/%{name}/libnm-device-plugin-bluetooth.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?with_wifi}
|
||||||
|
%files wifi
|
||||||
|
%defattr(-,root,root,0755)
|
||||||
|
%{_libdir}/%{name}/libnm-device-plugin-wifi.so
|
||||||
|
%else
|
||||||
|
%exclude %{_libdir}/%{name}/libnm-device-plugin-wifi.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_wwan}
|
%if 0%{?with_wwan}
|
||||||
%files wwan
|
%files wwan
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue