Compare commits
No commits in common. "8bcc6c60513ff8d30c7b11ca62c66166305d20f1" and "261aa49624e787ecdfde0ad4c507b01fdbf9e46e" have entirely different histories.
8bcc6c6051
...
261aa49624
BIN
ModemManager-1.14.8.tar.xz
Normal file
BIN
ModemManager-1.14.8.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
@ -4,17 +4,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ModemManager
|
Name: ModemManager
|
||||||
Version: 1.22.0
|
Version: 1.14.8
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Mobile broadband modem manager
|
Summary: Mobile broadband modem manager
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.freedesktop.org/wiki/Software/ModemManager/
|
URL: https://www.freedesktop.org/wiki/Software/ModemManager/
|
||||||
Source: https://gitlab.com/linux-mobile-broadband/ModemManager/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
Source: https://www.freedesktop.org/software/ModemManager/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: meson >= 0.53 dbus-devel gtk-doc vala-tools vala-devel
|
BuildRequires: automake autoconf dbus gtk-doc libtool vala-tools vala-devel
|
||||||
BuildRequires: gettext-devel glib2-devel gobject-introspection-devel libgudev-devel
|
BuildRequires: gettext-devel glib2-devel gobject-introspection-devel libgudev-devel
|
||||||
BuildRequires: libqmi-devel >= 1.34.0 libmbim-devel >= 1.30.0 systemd-devel systemd
|
BuildRequires: libqmi-devel libmbim-devel systemd-devel
|
||||||
BuildRequires: python3-gobject python3-dbus pkgconfig(polkit-gobject-1)
|
BuildRequires: autoconf-archive
|
||||||
|
|
||||||
Requires: libmbim-utils libqmi-utils glib2 >= %{glib2_version}
|
Requires: libmbim-utils libqmi-utils glib2 >= %{glib2_version}
|
||||||
Requires: libmbim >= %{mbim_version} libqmi >= %{qmi_version}
|
Requires: libmbim >= %{mbim_version} libqmi >= %{qmi_version}
|
||||||
@ -64,28 +64,23 @@ Vala bindings for ModemManager
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson \
|
autoreconf -if
|
||||||
-Ddist_version='"%{version}-%{release}"' \
|
%configure \
|
||||||
-Dvapi=true \
|
--enable-gtk-doc --enable-more-warnings=no --disable-rpath \
|
||||||
-Dqrtr=false \
|
--disable-silent-rules --with-udev-base-dir=%{_prefix}/lib/udev \
|
||||||
-Dgtk_doc=true \
|
--with-qmi=yes --with-mbim=yes --with-polkit=no --with-dist-version=%{version}-%{release} \
|
||||||
-Dpolkit=permissive \
|
--with-systemd-journal --with-systemd-suspend-resume
|
||||||
-Dbash_completion=false
|
%make_build
|
||||||
%meson_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%meson_install
|
|
||||||
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build
|
|
||||||
%find_lang %{name}
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
||||||
cp -a cli/mmcli-completion %{buildroot}%{_datadir}/bash-completion/completions/mmcli
|
|
||||||
%delete_la
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
make check
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%delete_la
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post ModemManager.service
|
%systemd_post ModemManager.service
|
||||||
@ -108,7 +103,6 @@ cp -a cli/mmcli-completion %{buildroot}%{_datadir}/bash-completion/completions/m
|
|||||||
%{_unitdir}/ModemManager.service
|
%{_unitdir}/ModemManager.service
|
||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service
|
||||||
%{_datadir}/bash-completion
|
%{_datadir}/bash-completion
|
||||||
%{_datadir}/polkit-1/actions/org.freedesktop.ModemManager1.policy
|
|
||||||
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf
|
||||||
%{_datadir}/ModemManager
|
%{_datadir}/ModemManager
|
||||||
|
|
||||||
@ -136,7 +130,7 @@ cp -a cli/mmcli-completion %{buildroot}%{_datadir}/bash-completion/completions/m
|
|||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README NEWS
|
%doc README TODO NEWS ChangeLog
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
%{_datadir}/icons/hicolor/22x22/apps/*.png
|
||||||
@ -144,36 +138,6 @@ cp -a cli/mmcli-completion %{buildroot}%{_datadir}/bash-completion/completions/m
|
|||||||
%{_datadir}/dbus-1/interfaces/*.xml
|
%{_datadir}/dbus-1/interfaces/*.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 13 2024 panchenbo <panchenbo@kylinsec.com.cn> - 1.22.0-2
|
|
||||||
- Type:bugfix
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC: fix build error: add missing BuildRequires:pkgconfig(polkit-gobject-1)
|
|
||||||
|
|
||||||
* Tue Jan 02 2024 gaihuiying <eaglegai@163.com> - 1.22.0-1
|
|
||||||
- Type:requirements
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC: update ModemManager to 1.22.0
|
|
||||||
|
|
||||||
* Mon Jul 24 2023 gaihuiying <eaglegai@163.com> - 1.20.6-1
|
|
||||||
- Type:requirements
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC: update ModemManager to 1.20.6
|
|
||||||
|
|
||||||
* Fri Nov 18 2022 gaihuiying <eaglegai@163.com> - 1.18.12-1
|
|
||||||
- Type:requirements
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC: update ModemManager to 1.18.12
|
|
||||||
|
|
||||||
* Sat Nov 12 2022 gaihuiying <eaglegai@163.com> - 1.14.8-2
|
|
||||||
- Type:bugfix
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC: fix test failure because of glib2 switching to pcre2
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 xihaochen <xihaochen@huawei.com> - 1.14.8-1
|
* Wed Jan 27 2021 xihaochen <xihaochen@huawei.com> - 1.14.8-1
|
||||||
- Type:requirements
|
- Type:requirements
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user