update to 1.29.2

This commit is contained in:
zhouwenpei 2023-07-22 11:46:20 +08:00
parent a2bcb7b8f0
commit 2a81386390
3 changed files with 16 additions and 11 deletions

Binary file not shown.

BIN
libmbim-1.29.2.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,14 +1,14 @@
Name: libmbim
Version: 1.26.4
Release: 2
Version: 1.29.2
Release: 1
Summary: A glib-based library for talking to WWAN modems and devices
License: LGPLv2+
URL: http://freedesktop.org/software/libmbim
Source: http://freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz
URL: https://gitlab.freedesktop.org/mobile-broadband/libmbim
Source: https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: gcc glib2-devel pkgconfig automake autoconf libtool
BuildRequires: python3 pkgconfig(gudev-1.0) >= 147 gtk-doc
BuildRequires: libxslt python3-unversioned-command
BuildRequires: libxslt python3-unversioned-command help2man meson
Provides: %{name}-utils = %{version}-%{release}
Obsoletes: %{name}-utils < %{version}-%{release}
@ -31,22 +31,24 @@ This package contains some header and library files for the development of the %
%autosetup -p1
%build
%configure --disable-static --enable-gtk-doc
%make_build V=1
%meson -Dgtk_doc=true -Dbash_completion=false
%meson_build
%install
%make_install
%delete_la
%meson_install
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
cp -a src/mbimcli/mbimcli %{buildroot}%{_datadir}/bash-completion/completions/
%check
make check
%meson_test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING NEWS AUTHORS README
%doc NEWS AUTHORS README.md
%{_libdir}/libmbim-glib.so.*
%{_bindir}/*
%{_datadir}/bash-completion
@ -65,6 +67,9 @@ make check
%{_mandir}/man1/*
%changelog
* Sat Jul 22 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.29.2-1
- update to 1.29.2
* Thu Feb 23 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.26.4-2
- fix build error in master