diff --git a/libqmi-1.30.8.tar.xz b/libqmi-1.30.8.tar.xz deleted file mode 100644 index ad1385f..0000000 Binary files a/libqmi-1.30.8.tar.xz and /dev/null differ diff --git a/libqmi-1.33.3.tar.bz2 b/libqmi-1.33.3.tar.bz2 new file mode 100644 index 0000000..0b44775 Binary files /dev/null and b/libqmi-1.33.3.tar.bz2 differ diff --git a/libqmi.spec b/libqmi.spec index 7133534..0225bdb 100644 --- a/libqmi.spec +++ b/libqmi.spec @@ -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 - 1.33.3-1 +- update to 1.33.3 + * Mon Feb 20 2023 liyanan - 1.30.8-2 - fix build error