From ceed4dbc140d2567b2138c2eb037ad8c28c1ea49 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 22 Nov 2022 17:27:12 +0100 Subject: [PATCH] Update to 1.28.2 --- .gitignore | 1 + libmbim.spec | 43 +++++++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 31 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 10a5a30..bd3b5a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libmbim-*.tar.xz +/libmbim-1.28.2.tar.bz2 diff --git a/libmbim.spec b/libmbim.spec index df219de..91b00bf 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -1,18 +1,19 @@ Name: libmbim -Version: 1.26.4 -Release: 2%{?dist} +Version: 1.28.2 +Release: 1%{?dist} Summary: Support library for the Mobile Broadband Interface Model protocol License: LGPLv2+ URL: http://freedesktop.org/software/libmbim -Source: http://freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz +Source: https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/%{version}/%{name}-%{version}.tar.bz2 -BuildRequires: automake autoconf libtool +BuildRequires: meson >= 0.53 BuildRequires: gcc -BuildRequires: glib2-devel >= 2.48.0 +BuildRequires: glib2-devel >= 2.56 +BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc -BuildRequires: make BuildRequires: pkgconfig BuildRequires: python3 +BuildRequires: help2man %description @@ -24,6 +25,7 @@ functionality from applications that use glib. Summary: Header files for adding MBIM support to applications that use glib Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2-devel%{?_isa} +Requires: pkgconfig %description devel This package contains the header and pkg-config files for developing @@ -44,35 +46,45 @@ functionality from the command line. %build -%configure --disable-static --enable-gtk-doc -%{make_build} +# Let's avoid BuildRequiring bash-completion because it changes behavior +# 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 -%{make_install} -find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac +%meson_install +find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build find %{buildroot} -type f -name "*.la" -delete +mkdir -p %{buildroot}%{_datadir}/bash-completion +cp -a src/mbimcli/mbimcli %{buildroot}%{_datadir}/bash-completion %check -make check +%meson_test %ldconfig_scriptlets %files -%license COPYING.LIB -%doc NEWS AUTHORS README +%license LICENSES/LGPL-2.1-or-later.txt +%doc NEWS AUTHORS README.md %{_libdir}/libmbim-glib.so.4* +%{_libdir}/girepository-1.0/Mbim-1.0.typelib + %files devel %{_includedir}/libmbim-glib/ %{_libdir}/pkgconfig/mbim-glib.pc %{_libdir}/libmbim-glib.so %{_datadir}/gtk-doc/html/libmbim-glib/ +%{_datadir}/gir-1.0/Mbim-1.0.gir + %files utils -%license COPYING +%license LICENSES/GPL-2.0-or-later.txt %{_bindir}/mbimcli %{_bindir}/mbim-network %{_datadir}/bash-completion @@ -81,6 +93,9 @@ make check %changelog +* Tue Nov 22 2022 Lubomir Rintel - 1.28.2-1 +- Update to 1.28.2 + * Thu Jul 21 2022 Fedora Release Engineering - 1.26.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 2af5720..1e416f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libmbim-1.26.4.tar.xz) = a530a3611aa353d7b7a4a3d845a8a8b08e508004f44e9bc63a4c04729589397e264a5dca499ebb7c57f135e6848909d78124c4799bd932c24271c57824c3b5d8 +SHA512 (libmbim-1.28.2.tar.bz2) = 331e90978331e1ed6a04b5eacf993f9171936ff61f7bee6b34bcf32d05f52a70efb2712b1c744328bc74c23a3cda57e56e94efaa22d6ab05a2141d6b4831fc5d