From ccf6980edce037824b491bd3e9f147d91a1a67b0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 07 2021 19:15:12 +0000 Subject: import libqmi-1.30.2-1.el9 --- diff --git a/.gitignore b/.gitignore index dca7d64..de15fbf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libqmi-1.26.8.tar.xz +SOURCES/libqmi-1.30.2.tar.xz diff --git a/.libqmi.metadata b/.libqmi.metadata index 3c00c59..517337f 100644 --- a/.libqmi.metadata +++ b/.libqmi.metadata @@ -1 +1 @@ -03779d3ab4da51250db2acf34c1b3fff6c9921fb SOURCES/libqmi-1.26.8.tar.xz +0e6f876f9ea558ef507fabc7eac836a311efb7b6 SOURCES/libqmi-1.30.2.tar.xz diff --git a/SPECS/libqmi.spec b/SPECS/libqmi.spec index ab5ac39..4f4dcac 100644 --- a/SPECS/libqmi.spec +++ b/SPECS/libqmi.spec @@ -1,6 +1,6 @@ Name: libqmi -Version: 1.26.8 -Release: 4%{?dist} +Version: 1.30.2 +Release: 1%{?dist} Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol License: LGPLv2+ URL: http://freedesktop.org/software/libqmi @@ -8,9 +8,11 @@ Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz BuildRequires: gcc BuildRequires: glib2-devel >= 2.48.0 +BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: pkgconfig(gudev-1.0) >= 147 BuildRequires: libmbim-devel >= 1.18.0 +#BuildRequires: libqrtr-glib-devel BuildRequires: make BuildRequires: python3 @@ -46,19 +48,13 @@ from the command line. %build %configure --disable-static --enable-gtk-doc --enable-mbim-qmux - -# Uses private copy of libtool: -# http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath -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 - -# Without rpath, the GI toolings need a little help to find libqmi-glib.so.* -LD_LIBRARY_PATH="$PWD/src/libqmi-glib/.libs" %{make_build} +%{make_build} V=1 %install %make_install find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac +find %{buildroot} -type f -name "*.la" -delete %ldconfig_scriptlets @@ -68,29 +64,31 @@ find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac %license COPYING.LIB %doc NEWS AUTHORS README %{_libdir}/libqmi-glib.so.* -%exclude %{_libdir}/libqmi-glib.la -%{_datadir}/bash-completion +%{_libdir}/girepository-1.0/Qmi-1.0.typelib %files devel -%dir %{_includedir}/libqmi-glib -%{_includedir}/libqmi-glib/*.h +%{_includedir}/libqmi-glib/ %{_libdir}/pkgconfig/qmi-glib.pc %{_libdir}/libqmi-glib.so -%dir %{_datadir}/gtk-doc/html/libqmi-glib -%{_datadir}/gtk-doc/html/libqmi-glib/* +%{_datadir}/gtk-doc/html/libqmi-glib/ +%{_datadir}/gir-1.0/Qmi-1.0.gir %files utils +%license COPYING %{_bindir}/qmicli %{_bindir}/qmi-network %{_bindir}/qmi-firmware-update -%{_mandir}/man1/* +%{_datadir}/bash-completion %{_libexecdir}/qmi-proxy -%license COPYING +%{_mandir}/man1/* %changelog +* Tue Sep 07 2021 Wen Liang - 1.30.2-1 +- Update to 1.30.2 + * Mon Aug 09 2021 Mohan Boddu - 1.26.8-4 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688