diff --git a/libmbim-1.26.4.tar.xz b/libmbim-1.26.4.tar.xz deleted file mode 100644 index 33c7b15..0000000 Binary files a/libmbim-1.26.4.tar.xz and /dev/null differ diff --git a/libmbim-1.29.2.tar.bz2 b/libmbim-1.29.2.tar.bz2 new file mode 100644 index 0000000..62e45e9 Binary files /dev/null and b/libmbim-1.29.2.tar.bz2 differ diff --git a/libmbim.spec b/libmbim.spec index 7d0f195..3ed6abb 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -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 - 1.29.2-1 +- update to 1.29.2 + * Thu Feb 23 2023 zhouwenpei - 1.26.4-2 - fix build error in master