SHA256
1
0
forked from pool/ModemManager
Files
ModemManager/ModemManager.spec

188 lines
5.6 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package ModemManager
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define glib_version 2.56.0
%define _udevdir %(pkg-config --variable udevdir udev)
Name: ModemManager
Version: 1.20.6
Release: 0
Summary: DBus interface for modem handling
License: GPL-2.0-or-later AND GPL-3.0-or-later
Group: Productivity/Networking/System
URL: http://cgit.freedesktop.org/ModemManager/ModemManager
Source0: https://gitlab.com/linux-mobile-broadband/ModemManager/-/archive/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: dbus-1-glib-devel
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
BuildRequires: gobject-introspection-devel >= 0.9.6
BuildRequires: hicolor-icon-theme
BuildRequires: libgudev-1_0-devel
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: ppp-devel
Accepting request 956019 from home:gmbr3:Active - Update to version 1.18.6: + The ModemManager.service file for systemd integration provided in the sources is updated as follows: ++ 'CAP_NET_ADMIN' is now required in the 'CapabilityBoundingSet' field. ++ 'AF_NETLINK' and 'AF_QIPCRTR' are now required in the 'RestrictAddressFamilies' field. + The LEGACY and PARANOID filter types that were allowed options in the '--filter-policy' option in the ModemManager daemon were deprecated in version 1.16.0 and have now been completely removed, along with the vid:pid blacklist of devices and the vid:pid greylist of RS232<->USB adapters. + The ModemManager daemon can run now in a 'quick suspend/resume' mode, in which no explicit data disconnection is triggered on suspend, and no explicit device re-probing from scratch is launched on resume. Instead, the daemon will try to refresh the state of all interfaces upon suspend, e.g. to see if the module keeps registered to the same operator, to see if it is still connected, and so on. + core: added support for the new 'WWAN' subsystem in Linux kernel 5.13, enabling PCIe-only modules. + core: The charset conversion methods rework, including the avoiding of the iconv() + qmi: the logic managing allowed/preferred modes was fixed for multimode devices like the MC7304, making sure the acquisition order preference always had the same items. + serial: when modem is connected with AT+PPP, ignore forced disconnections, so that we don't take ownership of the PPP port before pppd has released it. + foxconn: added support for the T99W175 (SDX55) module, including built-in FCC unlock procedure. + foxconn: added new MBIM QDU firmware update method. - Move the dbus-1 system.d file to /usr (bsc#1196170) - Use source verification - Update Supplements to new format - Add BRs needed for new tests: * python3-gobject-Gdk * python3-dbus-python OBS-URL: https://build.opensuse.org/request/show/956019 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=158
2022-02-21 15:42:16 +00:00
BuildRequires: python3-dbus-python
BuildRequires: python3-gobject-Gdk
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
BuildRequires: vala-devel >= 0.18
BuildRequires: xsltproc
BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
BuildRequires: pkgconfig(glib-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gmodule-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gobject-2.0) >= %{glib_version}
BuildRequires: pkgconfig(gudev-1.0) >= 147
BuildRequires: pkgconfig(libsystemd) >= 209
BuildRequires: pkgconfig(mbim-glib) >= 1.28.0
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.97
BuildRequires: pkgconfig(qmi-glib) >= 1.32.0
BuildRequires: pkgconfig(qrtr-glib)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
# Needed for tests
BuildRequires: /usr/bin/dbus-daemon
Requires: hicolor-icon-theme
Recommends: libmbim
Recommends: usb_modeswitch
Provides: org.freedesktop.ModemManager
%{?systemd_ordering}
%description
DBus interface for modem handling. Provides a standard abstracted API
(over DBus) to communicate with all sorts of modems (landline, GSM,
CDMA).
%package -n libmm-glib0
Summary: Glib bindings for the modem handling DBus interface
Group: System/Libraries
%description -n libmm-glib0
DBus interface for modem handling. Provides a standard abstracted API
(over DBus) to communicate with all sorts of modems (landline, GSM,
CDMA).
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
%package -n typelib-1_0-ModemManager-1_0
Summary: Introspection bindings for the modem handling DBus interface
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
Group: System/Libraries
%description -n typelib-1_0-ModemManager-1_0
DBus interface for modem handling. Provides a standard abstracted API
(over DBus) to communicate with all sorts of modems (landline, GSM,
CDMA).
%package devel
Summary: Development files for the modem handling DBus interface
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: libmm-glib0 = %{version}
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
Requires: typelib-1_0-ModemManager-1_0 = %{version}
%description devel
DBus interface for modem handling. Provides a standard abstracted API
(over DBus) to communicate with all sorts of modems (landline, GSM,
CDMA).
%package bash-completion
Summary: Bash completion for mmcli
Accepting request 419370 from home:bruno_friedmann:branches:GNOME:Factory - new stable release of ModemManager 1.6.0 (final) + fix bug boo#975211 + Added nmcli-bash-completion package + Need last version of polkit-default-priv (bsc#976945) + build '--with-suspend-resume=systemd' argument. - Removed patches concerning old version + ModemManager-cinterion_drop_unused_constants.patch. + ModemManager-novatel_remove_unused_custom_AT_probe_array.patch. + ModemManager-wmc_fix_typo.patch. + Add ModemManager-fix-whitespaces.patch: Fix whitespace usage. - 1.6.0 version requires: GLib 2.36.0 gettext 0.19.3 libmbim >= 1.14.0 (for the optional MBIM support) libqmi >= 1.16.0 (for the optional QMI support) libsystemd >= 209 or libsystemd-login >= 183 (for the optional suspend and resume support) For distributions using systemd, it is suggested that the new optional suspend/resume is explicitly requested during configure with the new '--with-suspend-resume=systemd' argument. - New features: + Core: - Implemented support for suspend/resume detection, currently working when systemd is in use. Whenever the system is suspended, we'll flag the modems as invalid so that they are re-probed from scratch when the system is resumed. - Added cancellation support for the probing operations. - Reworked and simplified the serial port response processing. + Location interface: - Added A-GPS support, currently available only for QMI based OBS-URL: https://build.opensuse.org/request/show/419370 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=111
2016-08-18 13:20:12 +00:00
Group: Productivity/Networking/System
Requires: bash-completion
Accepting request 956019 from home:gmbr3:Active - Update to version 1.18.6: + The ModemManager.service file for systemd integration provided in the sources is updated as follows: ++ 'CAP_NET_ADMIN' is now required in the 'CapabilityBoundingSet' field. ++ 'AF_NETLINK' and 'AF_QIPCRTR' are now required in the 'RestrictAddressFamilies' field. + The LEGACY and PARANOID filter types that were allowed options in the '--filter-policy' option in the ModemManager daemon were deprecated in version 1.16.0 and have now been completely removed, along with the vid:pid blacklist of devices and the vid:pid greylist of RS232<->USB adapters. + The ModemManager daemon can run now in a 'quick suspend/resume' mode, in which no explicit data disconnection is triggered on suspend, and no explicit device re-probing from scratch is launched on resume. Instead, the daemon will try to refresh the state of all interfaces upon suspend, e.g. to see if the module keeps registered to the same operator, to see if it is still connected, and so on. + core: added support for the new 'WWAN' subsystem in Linux kernel 5.13, enabling PCIe-only modules. + core: The charset conversion methods rework, including the avoiding of the iconv() + qmi: the logic managing allowed/preferred modes was fixed for multimode devices like the MC7304, making sure the acquisition order preference always had the same items. + serial: when modem is connected with AT+PPP, ignore forced disconnections, so that we don't take ownership of the PPP port before pppd has released it. + foxconn: added support for the T99W175 (SDX55) module, including built-in FCC unlock procedure. + foxconn: added new MBIM QDU firmware update method. - Move the dbus-1 system.d file to /usr (bsc#1196170) - Use source verification - Update Supplements to new format - Add BRs needed for new tests: * python3-gobject-Gdk * python3-dbus-python OBS-URL: https://build.opensuse.org/request/show/956019 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=158
2022-02-21 15:42:16 +00:00
Supplements: (%{name} and bash-completion)
BuildArch: noarch
Accepting request 419370 from home:bruno_friedmann:branches:GNOME:Factory - new stable release of ModemManager 1.6.0 (final) + fix bug boo#975211 + Added nmcli-bash-completion package + Need last version of polkit-default-priv (bsc#976945) + build '--with-suspend-resume=systemd' argument. - Removed patches concerning old version + ModemManager-cinterion_drop_unused_constants.patch. + ModemManager-novatel_remove_unused_custom_AT_probe_array.patch. + ModemManager-wmc_fix_typo.patch. + Add ModemManager-fix-whitespaces.patch: Fix whitespace usage. - 1.6.0 version requires: GLib 2.36.0 gettext 0.19.3 libmbim >= 1.14.0 (for the optional MBIM support) libqmi >= 1.16.0 (for the optional QMI support) libsystemd >= 209 or libsystemd-login >= 183 (for the optional suspend and resume support) For distributions using systemd, it is suggested that the new optional suspend/resume is explicitly requested during configure with the new '--with-suspend-resume=systemd' argument. - New features: + Core: - Implemented support for suspend/resume detection, currently working when systemd is in use. Whenever the system is suspended, we'll flag the modems as invalid so that they are re-probed from scratch when the system is resumed. - Added cancellation support for the probing operations. - Reworked and simplified the serial port response processing. + Location interface: - Added A-GPS support, currently available only for QMI based OBS-URL: https://build.opensuse.org/request/show/419370 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=111
2016-08-18 13:20:12 +00:00
%description bash-completion
This package contain the bash completion command for nmcli tools.
Accepting request 419370 from home:bruno_friedmann:branches:GNOME:Factory - new stable release of ModemManager 1.6.0 (final) + fix bug boo#975211 + Added nmcli-bash-completion package + Need last version of polkit-default-priv (bsc#976945) + build '--with-suspend-resume=systemd' argument. - Removed patches concerning old version + ModemManager-cinterion_drop_unused_constants.patch. + ModemManager-novatel_remove_unused_custom_AT_probe_array.patch. + ModemManager-wmc_fix_typo.patch. + Add ModemManager-fix-whitespaces.patch: Fix whitespace usage. - 1.6.0 version requires: GLib 2.36.0 gettext 0.19.3 libmbim >= 1.14.0 (for the optional MBIM support) libqmi >= 1.16.0 (for the optional QMI support) libsystemd >= 209 or libsystemd-login >= 183 (for the optional suspend and resume support) For distributions using systemd, it is suggested that the new optional suspend/resume is explicitly requested during configure with the new '--with-suspend-resume=systemd' argument. - New features: + Core: - Implemented support for suspend/resume detection, currently working when systemd is in use. Whenever the system is suspended, we'll flag the modems as invalid so that they are re-probed from scratch when the system is resumed. - Added cancellation support for the probing operations. - Reworked and simplified the serial port response processing. + Location interface: - Added A-GPS support, currently available only for QMI based OBS-URL: https://build.opensuse.org/request/show/419370 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=111
2016-08-18 13:20:12 +00:00
%lang_package
%prep
%autosetup -p1
%build
pppddir=`ls -1d %{_libdir}/pppd/2*`
test -n "$pppddir" || exit 1
%meson \
-Dudevdir='%{_udevdir}' \
-Ddbus_policy_dir='%{_datadir}/dbus-1/system.d' \
-Dsystemdsystemunitdir='%{_unitdir}' \
-Dvapi=true \
-Dpolkit=permissive \
%{nil}
%meson_build
%install
%meson_install
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
# create suse-specific rcFOO link
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcModemManager
%find_lang ModemManager %{name}.lang
2019-11-07 10:54:14 +00:00
%check
%meson_test
2019-11-07 10:54:14 +00:00
%pre
%service_add_pre ModemManager.service
%post
%{?udev_rules_update:%udev_rules_update}
%service_add_post ModemManager.service
%preun
%service_del_preun ModemManager.service
%postun
%service_del_postun ModemManager.service
%ldconfig_scriptlets -n libmm-glib0
%files
%license COPYING
%doc AUTHORS README
%{_bindir}/mmcli
%{_sbindir}/ModemManager
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
%{_sbindir}/rcModemManager
Accepting request 956019 from home:gmbr3:Active - Update to version 1.18.6: + The ModemManager.service file for systemd integration provided in the sources is updated as follows: ++ 'CAP_NET_ADMIN' is now required in the 'CapabilityBoundingSet' field. ++ 'AF_NETLINK' and 'AF_QIPCRTR' are now required in the 'RestrictAddressFamilies' field. + The LEGACY and PARANOID filter types that were allowed options in the '--filter-policy' option in the ModemManager daemon were deprecated in version 1.16.0 and have now been completely removed, along with the vid:pid blacklist of devices and the vid:pid greylist of RS232<->USB adapters. + The ModemManager daemon can run now in a 'quick suspend/resume' mode, in which no explicit data disconnection is triggered on suspend, and no explicit device re-probing from scratch is launched on resume. Instead, the daemon will try to refresh the state of all interfaces upon suspend, e.g. to see if the module keeps registered to the same operator, to see if it is still connected, and so on. + core: added support for the new 'WWAN' subsystem in Linux kernel 5.13, enabling PCIe-only modules. + core: The charset conversion methods rework, including the avoiding of the iconv() + qmi: the logic managing allowed/preferred modes was fixed for multimode devices like the MC7304, making sure the acquisition order preference always had the same items. + serial: when modem is connected with AT+PPP, ignore forced disconnections, so that we don't take ownership of the PPP port before pppd has released it. + foxconn: added support for the T99W175 (SDX55) module, including built-in FCC unlock procedure. + foxconn: added new MBIM QDU firmware update method. - Move the dbus-1 system.d file to /usr (bsc#1196170) - Use source verification - Update Supplements to new format - Add BRs needed for new tests: * python3-gobject-Gdk * python3-dbus-python OBS-URL: https://build.opensuse.org/request/show/956019 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=158
2022-02-21 15:42:16 +00:00
%{_datadir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf
%{_libdir}/ModemManager/
%{_datadir}/dbus-1/interfaces/*.xml
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service
%{_datadir}/icons/hicolor/*/*/ModemManager.png
%{_datadir}/polkit-1/actions/org.freedesktop.ModemManager1.policy
Accepting request 956019 from home:gmbr3:Active - Update to version 1.18.6: + The ModemManager.service file for systemd integration provided in the sources is updated as follows: ++ 'CAP_NET_ADMIN' is now required in the 'CapabilityBoundingSet' field. ++ 'AF_NETLINK' and 'AF_QIPCRTR' are now required in the 'RestrictAddressFamilies' field. + The LEGACY and PARANOID filter types that were allowed options in the '--filter-policy' option in the ModemManager daemon were deprecated in version 1.16.0 and have now been completely removed, along with the vid:pid blacklist of devices and the vid:pid greylist of RS232<->USB adapters. + The ModemManager daemon can run now in a 'quick suspend/resume' mode, in which no explicit data disconnection is triggered on suspend, and no explicit device re-probing from scratch is launched on resume. Instead, the daemon will try to refresh the state of all interfaces upon suspend, e.g. to see if the module keeps registered to the same operator, to see if it is still connected, and so on. + core: added support for the new 'WWAN' subsystem in Linux kernel 5.13, enabling PCIe-only modules. + core: The charset conversion methods rework, including the avoiding of the iconv() + qmi: the logic managing allowed/preferred modes was fixed for multimode devices like the MC7304, making sure the acquisition order preference always had the same items. + serial: when modem is connected with AT+PPP, ignore forced disconnections, so that we don't take ownership of the PPP port before pppd has released it. + foxconn: added support for the T99W175 (SDX55) module, including built-in FCC unlock procedure. + foxconn: added new MBIM QDU firmware update method. - Move the dbus-1 system.d file to /usr (bsc#1196170) - Use source verification - Update Supplements to new format - Add BRs needed for new tests: * python3-gobject-Gdk * python3-dbus-python OBS-URL: https://build.opensuse.org/request/show/956019 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=158
2022-02-21 15:42:16 +00:00
%{_datadir}/ModemManager
%{_udevdir}/rules.d/*-mm-*.rules
%{_unitdir}/ModemManager.service
%{_mandir}/man1/mmcli.1%{?ext_man}
%{_mandir}/man8/ModemManager.8%{?ext_man}
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
%files lang -f %{name}.lang
%files -n libmm-glib0
%{_libdir}/libmm-glib.so.*
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
%files -n typelib-1_0-ModemManager-1_0
%{_libdir}/girepository-1.0/ModemManager-1.0.typelib
%files devel
Accepting request 261516 from GNOME:Next - Update to version 1.4.0: + This version comes with the following updates in the interfaces: - Updated the logic around the IP configuration properties in the Bearer: . Setting DHCP as IP method in the IPv6 settings means that SLAAC should be used to retrieve correct addressing and routing details. . DHCP IP method may now be combined with an explicit static IP address, as IPv6 SLAAC may require the link-local address to be present. . MTU is now also included in the IP configuration properties, if specified by the modem, and applicable to both DHCP and STATIC methods. - New 'OFF' power state, which fully switches off the modem device. After setting the modem in this state, no further use of it can be done. Currently available in Wavecom and Cinterion. - Location interface: new 'unmanaged GPS' support, which allows to start/stop the GPS module in the modem, while leaving the location information retrieval to other processes. Currently available in modems with independent GPS TTYs, like Option/HSO, Cinterion and Huawei. - New Test DBus interface: not to be installed, just for internal system tests. + Other notable changes include: - MBIM: support for ZTE and Sequans Communications modems. - Ericsson MBM: Support for AT-capable /dev/cdc-wdm ports. - Huawei: improved support for Network time retrieval. - Huawei: implemented GPS support. OBS-URL: https://build.opensuse.org/request/show/261516 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=94
2014-11-13 23:28:02 +00:00
%{_datadir}/gir-1.0/ModemManager-1.0.gir
%{_datadir}/vala/vapi/
%{_includedir}/ModemManager/
%{_includedir}/libmm-glib/
%{_libdir}/libmm-glib.so
%{_libdir}/pkgconfig/ModemManager.pc
%{_libdir}/pkgconfig/mm-glib.pc
%files bash-completion
%{_datadir}/bash-completion/
Accepting request 419370 from home:bruno_friedmann:branches:GNOME:Factory - new stable release of ModemManager 1.6.0 (final) + fix bug boo#975211 + Added nmcli-bash-completion package + Need last version of polkit-default-priv (bsc#976945) + build '--with-suspend-resume=systemd' argument. - Removed patches concerning old version + ModemManager-cinterion_drop_unused_constants.patch. + ModemManager-novatel_remove_unused_custom_AT_probe_array.patch. + ModemManager-wmc_fix_typo.patch. + Add ModemManager-fix-whitespaces.patch: Fix whitespace usage. - 1.6.0 version requires: GLib 2.36.0 gettext 0.19.3 libmbim >= 1.14.0 (for the optional MBIM support) libqmi >= 1.16.0 (for the optional QMI support) libsystemd >= 209 or libsystemd-login >= 183 (for the optional suspend and resume support) For distributions using systemd, it is suggested that the new optional suspend/resume is explicitly requested during configure with the new '--with-suspend-resume=systemd' argument. - New features: + Core: - Implemented support for suspend/resume detection, currently working when systemd is in use. Whenever the system is suspended, we'll flag the modems as invalid so that they are re-probed from scratch when the system is resumed. - Added cancellation support for the probing operations. - Reworked and simplified the serial port response processing. + Location interface: - Added A-GPS support, currently available only for QMI based OBS-URL: https://build.opensuse.org/request/show/419370 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/ModemManager?expand=0&rev=111
2016-08-18 13:20:12 +00:00
%changelog