update to 1.33.3

This commit is contained in:
zhouwenpei 2023-07-22 11:39:37 +08:00
parent 9ef552976f
commit b81295dac9
3 changed files with 15 additions and 12 deletions

Binary file not shown.

BIN
libqmi-1.33.3.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,11 +1,12 @@
Name: libqmi Name: libqmi
Version: 1.30.8 Version: 1.33.3
Release: 2 Release: 1
License: LGPLv2+ and GPLv2+ License: LGPLv2+ and GPLv2+
Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol
URL: http://freedesktop.org/software/libqmi URL: https://gitlab.freedesktop.org/mobile-broadband/libqmi
Source0: http://freedesktop.org/software/libqmi/libqmi-%{version}.tar.xz Source0: https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: meson help2man
BuildRequires: glib2-devel >= 2.32.0 libgudev-devel >= 147 libmbim-devel >= 1.18.0 python3 gtk-doc gcc BuildRequires: glib2-devel >= 2.32.0 libgudev-devel >= 147 libmbim-devel >= 1.18.0 python3 gtk-doc gcc
Provides: libqmi-utils = %{version}-%{release} Provides: libqmi-utils = %{version}-%{release}
Obsoletes: libqmi-utils < 1.20.0.4 Obsoletes: libqmi-utils < 1.20.0.4
@ -28,15 +29,14 @@ applications using QMI functionality from applications that use glib.
%autosetup -p1 %autosetup -p1
%build %build
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux %meson -Dgtk_doc=true -Dbash_completion=false -Dqrtr=false
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool %meson_build
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" %make_build V=1
%install %install
%make_install %meson_install
find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
cp -a src/qmicli/qmicli %{buildroot}%{_datadir}/bash-completion/completions/
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -63,10 +63,13 @@ find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
%{_datadir}/gir-1.0/Qmi-1.0.gir %{_datadir}/gir-1.0/Qmi-1.0.gir
%files help %files help
%doc NEWS AUTHORS README %doc NEWS AUTHORS README.md
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Sat Jul 22 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.33.3-1
- update to 1.33.3
* Mon Feb 20 2023 liyanan <liyanan32@h-partners.com> - 1.30.8-2 * Mon Feb 20 2023 liyanan <liyanan32@h-partners.com> - 1.30.8-2
- fix build error - fix build error