!16 update to 1.33.3

From: @zhouwenpei 
Reviewed-by: @gebidelidaye 
Signed-off-by: @gebidelidaye
This commit is contained in:
openeuler-ci-bot 2023-07-26 09:14:58 +00:00 committed by Gitee
commit 5e7d809dbc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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
Version: 1.30.8
Release: 2
Version: 1.33.3
Release: 1
License: LGPLv2+ and GPLv2+
Summary: A glib-based library to use the Qualcomm MSM Interface (QMI) protocol
URL: http://freedesktop.org/software/libqmi
Source0: http://freedesktop.org/software/libqmi/libqmi-%{version}.tar.xz
URL: https://gitlab.freedesktop.org/mobile-broadband/libqmi
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
Provides: libqmi-utils = %{version}-%{release}
Obsoletes: libqmi-utils < 1.20.0.4
@ -28,15 +29,14 @@ applications using QMI functionality from applications that use glib.
%autosetup -p1
%build
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
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
%meson -Dgtk_doc=true -Dbash_completion=false -Dqrtr=false
%meson_build
%install
%make_install
find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
%meson_install
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
/sbin/ldconfig
@ -63,10 +63,13 @@ find %{buildroot}%{_datadir}/gtk-doc | xargs touch --reference configure.ac
%{_datadir}/gir-1.0/Qmi-1.0.gir
%files help
%doc NEWS AUTHORS README
%doc NEWS AUTHORS README.md
%{_mandir}/man1/*
%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
- fix build error