2013-12-02 07:04:23 +01:00
|
|
|
#
|
|
|
|
# spec file for package libmbim
|
|
|
|
#
|
2023-04-26 17:25:45 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-12-02 07:04:23 +01:00
|
|
|
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-08 22:36:53 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-12-02 07:04:23 +01:00
|
|
|
#
|
|
|
|
|
2014-02-04 10:52:56 +01:00
|
|
|
|
2013-12-02 07:04:23 +01:00
|
|
|
Name: libmbim
|
2023-04-26 17:25:45 +02:00
|
|
|
Version: 1.28.4
|
2013-12-02 07:04:23 +01:00
|
|
|
Release: 0
|
2019-04-24 10:53:12 +02:00
|
|
|
Summary: Mobile Broadband Interface Model (MBIM) protocol
|
2018-08-26 12:55:48 +02:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
2013-12-02 07:04:23 +01:00
|
|
|
Group: Productivity/Networking/System
|
2023-04-26 17:25:45 +02:00
|
|
|
URL: https://gitlab.freedesktop.org/mobile-broadband/libmbim
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
# PATCH-FIX-UPSTREAM 0001-intel-mutual-authentication-new-service-fcc-lock.patch -- intel-mutual-authentication: new service, fcc-lock
|
|
|
|
Patch: 0001-intel-mutual-authentication-new-service-fcc-lock.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0002-intel-tools-new-service-trace-config.patch --intel-tools: new service, trace-config
|
|
|
|
Patch2: 0002-intel-tools-new-service-trace-config.patch
|
|
|
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
BuildRequires: meson
|
2017-11-02 16:35:19 +01:00
|
|
|
BuildRequires: pkgconfig
|
2020-01-05 08:55:12 +01:00
|
|
|
BuildRequires: python3-base
|
2013-12-02 07:04:23 +01:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2018-01-22 10:57:53 +01:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
2020-06-19 16:55:08 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.48
|
2013-12-02 07:04:23 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2020-06-19 16:55:08 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2023-04-26 17:25:45 +02:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2013-12-02 07:04:23 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libmbim is a glib-based library for talking to WWAN modems and devices
|
2020-06-19 16:55:08 +02:00
|
|
|
which speak the Mobile Broadband Interface Model (MBIM) protocol.
|
2013-12-02 07:04:23 +01:00
|
|
|
|
2014-11-13 18:25:10 +01:00
|
|
|
%package -n libmbim-glib4
|
2020-06-19 16:55:08 +02:00
|
|
|
Summary: Mobile Broadband Interface Model (MBIM) protocol
|
2018-03-05 09:53:35 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2013-12-02 07:04:23 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2014-11-13 18:25:10 +01:00
|
|
|
%description -n libmbim-glib4
|
2013-12-02 07:04:23 +01:00
|
|
|
libmbim is a glib-based library for talking to WWAN modems and devices
|
2020-06-19 16:55:08 +02:00
|
|
|
which speak the Mobile Broadband Interface Model (MBIM) protocol.
|
2013-12-02 07:04:23 +01:00
|
|
|
|
|
|
|
%package devel
|
2020-06-19 16:55:08 +02:00
|
|
|
Summary: Mobile Broadband Interface Model (MBIM) protocol - Development files
|
2018-03-05 09:53:35 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2013-12-02 07:04:23 +01:00
|
|
|
Group: Development/Languages/C and C++
|
2014-11-13 18:25:10 +01:00
|
|
|
Requires: libmbim-glib4 = %{version}
|
2013-12-02 07:04:23 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libmbim is a glib-based library for talking to WWAN modems and devices
|
2020-06-19 16:55:08 +02:00
|
|
|
which speak the Mobile Broadband Interface Model (MBIM) protocol.
|
2013-12-02 07:04:23 +01:00
|
|
|
|
Accepting request 407815 from home:bruno_friedmann:branches:network
Find the last update of libmbim to version 1.14.
It will be needed to have the final new ModemManager 1.6 submitted
for TW.
+ New support for the 'QMI over MBIM' service, so that clients
can use libqmi to build messages and libmbim to transport them.
+ The GUDev library, which we use to read the max message size
from the USB descriptor, is now optional. When configuring, it
will be used by default only if it's found. It can also be
explicitly disabled using the new configure switch
'--without-udev' or explicitly enabled using '--with-udev'.
If GUDev isn't used, libmbim-glib will rely on sysfs directly.
+ libmbim-glib updates:
Added support for building messages of custom services.
+ mbim-network updates:
Added support for loading profiles from different paths using
the new '--profile' option. This makes it possible to use
mbim-network with multiple devices running in the same system.
Added support to allow specifying APN user (APN_USER), password
(APN_PASS) and authentication type (APN_AUTH) in the profile.
Added support to allow using the mbim-proxy setup by
configuring it in the profile file (PROXY=yes).
+ Several other minor improvements and fixes.
The following features which were backported to 1.12.x releases
are also present in libmbim 1.14.0:
+ mbimcli updates:
Updated '--connect' arguments to allow specifying "key=value"
pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username)
,(Password)]" format is kept as valid for backwards
compatibility, although it should be assumed deprecated.
Longer timeouts for connect/register operations.
Report IP configuration when connected.
Allow specifying session ids.
OBS-URL: https://build.opensuse.org/request/show/407815
OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=16
2016-07-20 13:40:44 +02:00
|
|
|
%package -n mbimcli-bash-completion
|
|
|
|
Summary: Bash completion for mbimcli
|
2018-08-26 12:55:48 +02:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
Accepting request 407815 from home:bruno_friedmann:branches:network
Find the last update of libmbim to version 1.14.
It will be needed to have the final new ModemManager 1.6 submitted
for TW.
+ New support for the 'QMI over MBIM' service, so that clients
can use libqmi to build messages and libmbim to transport them.
+ The GUDev library, which we use to read the max message size
from the USB descriptor, is now optional. When configuring, it
will be used by default only if it's found. It can also be
explicitly disabled using the new configure switch
'--without-udev' or explicitly enabled using '--with-udev'.
If GUDev isn't used, libmbim-glib will rely on sysfs directly.
+ libmbim-glib updates:
Added support for building messages of custom services.
+ mbim-network updates:
Added support for loading profiles from different paths using
the new '--profile' option. This makes it possible to use
mbim-network with multiple devices running in the same system.
Added support to allow specifying APN user (APN_USER), password
(APN_PASS) and authentication type (APN_AUTH) in the profile.
Added support to allow using the mbim-proxy setup by
configuring it in the profile file (PROXY=yes).
+ Several other minor improvements and fixes.
The following features which were backported to 1.12.x releases
are also present in libmbim 1.14.0:
+ mbimcli updates:
Updated '--connect' arguments to allow specifying "key=value"
pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username)
,(Password)]" format is kept as valid for backwards
compatibility, although it should be assumed deprecated.
Longer timeouts for connect/register operations.
Report IP configuration when connected.
Allow specifying session ids.
OBS-URL: https://build.opensuse.org/request/show/407815
OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=16
2016-07-20 13:40:44 +02:00
|
|
|
Group: Productivity/Networking/System
|
2023-04-26 17:25:45 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: pkgconfig(bash-completion)
|
Accepting request 407815 from home:bruno_friedmann:branches:network
Find the last update of libmbim to version 1.14.
It will be needed to have the final new ModemManager 1.6 submitted
for TW.
+ New support for the 'QMI over MBIM' service, so that clients
can use libqmi to build messages and libmbim to transport them.
+ The GUDev library, which we use to read the max message size
from the USB descriptor, is now optional. When configuring, it
will be used by default only if it's found. It can also be
explicitly disabled using the new configure switch
'--without-udev' or explicitly enabled using '--with-udev'.
If GUDev isn't used, libmbim-glib will rely on sysfs directly.
+ libmbim-glib updates:
Added support for building messages of custom services.
+ mbim-network updates:
Added support for loading profiles from different paths using
the new '--profile' option. This makes it possible to use
mbim-network with multiple devices running in the same system.
Added support to allow specifying APN user (APN_USER), password
(APN_PASS) and authentication type (APN_AUTH) in the profile.
Added support to allow using the mbim-proxy setup by
configuring it in the profile file (PROXY=yes).
+ Several other minor improvements and fixes.
The following features which were backported to 1.12.x releases
are also present in libmbim 1.14.0:
+ mbimcli updates:
Updated '--connect' arguments to allow specifying "key=value"
pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username)
,(Password)]" format is kept as valid for backwards
compatibility, although it should be assumed deprecated.
Longer timeouts for connect/register operations.
Report IP configuration when connected.
Allow specifying session ids.
OBS-URL: https://build.opensuse.org/request/show/407815
OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=16
2016-07-20 13:40:44 +02:00
|
|
|
Requires: bash-completion
|
2023-04-26 17:25:45 +02:00
|
|
|
Supplements: (%{name} and bash-completion)
|
Accepting request 407815 from home:bruno_friedmann:branches:network
Find the last update of libmbim to version 1.14.
It will be needed to have the final new ModemManager 1.6 submitted
for TW.
+ New support for the 'QMI over MBIM' service, so that clients
can use libqmi to build messages and libmbim to transport them.
+ The GUDev library, which we use to read the max message size
from the USB descriptor, is now optional. When configuring, it
will be used by default only if it's found. It can also be
explicitly disabled using the new configure switch
'--without-udev' or explicitly enabled using '--with-udev'.
If GUDev isn't used, libmbim-glib will rely on sysfs directly.
+ libmbim-glib updates:
Added support for building messages of custom services.
+ mbim-network updates:
Added support for loading profiles from different paths using
the new '--profile' option. This makes it possible to use
mbim-network with multiple devices running in the same system.
Added support to allow specifying APN user (APN_USER), password
(APN_PASS) and authentication type (APN_AUTH) in the profile.
Added support to allow using the mbim-proxy setup by
configuring it in the profile file (PROXY=yes).
+ Several other minor improvements and fixes.
The following features which were backported to 1.12.x releases
are also present in libmbim 1.14.0:
+ mbimcli updates:
Updated '--connect' arguments to allow specifying "key=value"
pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username)
,(Password)]" format is kept as valid for backwards
compatibility, although it should be assumed deprecated.
Longer timeouts for connect/register operations.
Report IP configuration when connected.
Allow specifying session ids.
OBS-URL: https://build.opensuse.org/request/show/407815
OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=16
2016-07-20 13:40:44 +02:00
|
|
|
|
|
|
|
%description -n mbimcli-bash-completion
|
|
|
|
This package contain de bash completion command for mbimcli tools.
|
|
|
|
|
2020-06-19 16:55:08 +02:00
|
|
|
%package -n typelib-1_0-Mbim-1_0
|
|
|
|
Summary: Introspection bindings for libmbim
|
|
|
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Mbim-1_0
|
|
|
|
libmbim is a glib-based library for talking to WWAN modems and devices
|
|
|
|
which speak the Mobile Broadband Interface Model (MBIM) protocol.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for libmbim.
|
|
|
|
|
2013-12-02 07:04:23 +01:00
|
|
|
%prep
|
2019-09-03 01:01:10 +02:00
|
|
|
%autosetup -p1
|
2013-12-02 07:04:23 +01:00
|
|
|
|
|
|
|
%build
|
2023-04-26 17:25:45 +02:00
|
|
|
%meson \
|
2019-09-03 01:01:10 +02:00
|
|
|
%{nil}
|
2023-04-26 17:25:45 +02:00
|
|
|
%meson_build
|
2013-12-02 07:04:23 +01:00
|
|
|
|
|
|
|
%install
|
2023-04-26 17:25:45 +02:00
|
|
|
%meson_install
|
2013-12-02 07:04:23 +01:00
|
|
|
|
2017-11-02 16:35:19 +01:00
|
|
|
%check
|
2023-04-26 17:25:45 +02:00
|
|
|
%meson_test
|
2013-12-05 06:16:02 +01:00
|
|
|
|
2023-04-26 17:25:45 +02:00
|
|
|
%ldconfig_scriptlets -n libmbim-glib4
|
2013-12-05 06:16:02 +01:00
|
|
|
|
2013-12-02 07:04:23 +01:00
|
|
|
%files
|
2018-03-05 09:53:35 +01:00
|
|
|
%doc NEWS
|
2013-12-02 07:04:23 +01:00
|
|
|
%{_bindir}/mbim-network
|
|
|
|
%{_bindir}/mbimcli
|
2014-11-13 18:25:10 +01:00
|
|
|
%{_libexecdir}/mbim-proxy
|
2014-02-04 10:52:56 +01:00
|
|
|
%{_mandir}/man1/mbim-network.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/mbimcli.1%{?ext_man}
|
2013-12-02 07:04:23 +01:00
|
|
|
|
2014-11-13 18:25:10 +01:00
|
|
|
%files -n libmbim-glib4
|
2023-04-26 17:25:45 +02:00
|
|
|
%license LICENSES
|
2013-12-02 07:04:23 +01:00
|
|
|
%{_libdir}/libmbim-glib.so.*
|
|
|
|
|
|
|
|
%files devel
|
2023-04-26 17:25:45 +02:00
|
|
|
%doc AUTHORS README.md
|
2020-06-19 16:55:08 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2013-12-02 07:04:23 +01:00
|
|
|
%{_includedir}/libmbim-glib/
|
|
|
|
%{_libdir}/libmbim-glib.so
|
|
|
|
%{_libdir}/pkgconfig/mbim-glib.pc
|
|
|
|
|
Accepting request 407815 from home:bruno_friedmann:branches:network
Find the last update of libmbim to version 1.14.
It will be needed to have the final new ModemManager 1.6 submitted
for TW.
+ New support for the 'QMI over MBIM' service, so that clients
can use libqmi to build messages and libmbim to transport them.
+ The GUDev library, which we use to read the max message size
from the USB descriptor, is now optional. When configuring, it
will be used by default only if it's found. It can also be
explicitly disabled using the new configure switch
'--without-udev' or explicitly enabled using '--with-udev'.
If GUDev isn't used, libmbim-glib will rely on sysfs directly.
+ libmbim-glib updates:
Added support for building messages of custom services.
+ mbim-network updates:
Added support for loading profiles from different paths using
the new '--profile' option. This makes it possible to use
mbim-network with multiple devices running in the same system.
Added support to allow specifying APN user (APN_USER), password
(APN_PASS) and authentication type (APN_AUTH) in the profile.
Added support to allow using the mbim-proxy setup by
configuring it in the profile file (PROXY=yes).
+ Several other minor improvements and fixes.
The following features which were backported to 1.12.x releases
are also present in libmbim 1.14.0:
+ mbimcli updates:
Updated '--connect' arguments to allow specifying "key=value"
pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username)
,(Password)]" format is kept as valid for backwards
compatibility, although it should be assumed deprecated.
Longer timeouts for connect/register operations.
Report IP configuration when connected.
Allow specifying session ids.
OBS-URL: https://build.opensuse.org/request/show/407815
OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=16
2016-07-20 13:40:44 +02:00
|
|
|
%files -n mbimcli-bash-completion
|
|
|
|
%{_datadir}/bash-completion/completions/mbimcli
|
|
|
|
|
2020-06-19 16:55:08 +02:00
|
|
|
%files -n typelib-1_0-Mbim-1_0
|
|
|
|
%{_libdir}/girepository-1.0/Mbim-1.0.typelib
|
|
|
|
|
2013-12-02 07:04:23 +01:00
|
|
|
%changelog
|