Update to 1.32.2

This commit is contained in:
Lubomir Rintel 2022-11-22 17:27:26 +01:00
parent 42c46ca2f3
commit e1b6ff9286
3 changed files with 25 additions and 12 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/libqmi-*.tar.xz /libqmi-*.tar.xz
/libqmi-1.32.2.tar.bz2

View File

@ -1,19 +1,19 @@
Name: libqmi Name: libqmi
Version: 1.30.6 Version: 1.32.2
Release: 2%{?dist} Release: 1%{?dist}
Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol Summary: Support library to use the Qualcomm MSM Interface (QMI) protocol
License: LGPLv2+ License: LGPLv2+
URL: http://freedesktop.org/software/libqmi URL: http://freedesktop.org/software/libqmi
Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz Source: https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/%{version}/%{name}-%{version}.tar.bz2
BuildRequires: meson >= 0.53
BuildRequires: gcc BuildRequires: gcc
BuildRequires: glib2-devel >= 2.48.0 BuildRequires: glib2-devel >= 2.56
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: pkgconfig(gudev-1.0) >= 147 BuildRequires: pkgconfig(gudev-1.0) >= 147
BuildRequires: libmbim-devel >= 1.18.0 BuildRequires: libmbim-devel >= 1.18.0
BuildRequires: libqrtr-glib-devel BuildRequires: libqrtr-glib-devel
BuildRequires: make
BuildRequires: python3 BuildRequires: python3
%description %description
@ -24,7 +24,7 @@ from applications that use glib.
%package devel %package devel
Summary: Header files for adding QMI support to applications that use glib Summary: Header files for adding QMI support to applications that use glib
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glib2-devel Requires: glib2-devel%{?_isa}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
@ -47,14 +47,23 @@ from the command line.
%build %build
%configure --disable-static --enable-gtk-doc --enable-mbim-qmux # Let's avoid BuildRequiring bash-completion because it changes behavior
%{make_build} V=1 # of shell, at least until the .pc file gets into the -devel subpackage.
# We'll just install the bash-completion file ourselves.
%meson -Dgtk_doc=true -Dbash_completion=false
%meson_build
%install %install
%make_install %meson_install
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build
find %{buildroot} -type f -name "*.la" -delete find %{buildroot} -type f -name "*.la" -delete
mkdir -p %{buildroot}%{_datadir}/bash-completion
cp -a src/qmicli/qmicli %{buildroot}%{_datadir}/bash-completion
%check
%meson_test
%ldconfig_scriptlets %ldconfig_scriptlets
@ -62,7 +71,7 @@ find %{buildroot} -type f -name "*.la" -delete
%files %files
%license COPYING.LIB %license COPYING.LIB
%doc NEWS AUTHORS README %doc NEWS AUTHORS README.md
%{_libdir}/libqmi-glib.so.* %{_libdir}/libqmi-glib.so.*
%{_libdir}/girepository-1.0/Qmi-1.0.typelib %{_libdir}/girepository-1.0/Qmi-1.0.typelib
@ -86,6 +95,9 @@ find %{buildroot} -type f -name "*.la" -delete
%changelog %changelog
* Tue Nov 22 2022 Lubomir Rintel <lkundrak@v3.sk> - 1.32.2-1
- Update to 1.32.2
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.30.6-2 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.30.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libqmi-1.30.6.tar.xz) = 6dc9819bb45063ea827b989e99e8e889db0ce6ebec62586003ea385bd54bd76f3e79d63e3f2b57e19da5f42ed87d7aa11aa024a805ec86a6b203981eb7922a76 SHA512 (libqmi-1.32.2.tar.bz2) = c09b7633e7260a50717eb80d0eadd6237c49804cc9683e8256f959811a896e2caeeadb1247e1db9664fd171cb084e083876a360a34ec25a47e855e08dbef1f62