diff --git a/libmbim-1.30.0.tar.bz2 b/libmbim-1.30.0.tar.bz2 deleted file mode 100644 index 8728f6cf138b9b7d0e1d23b1995975ea5c063f83..0000000000000000000000000000000000000000 Binary files a/libmbim-1.30.0.tar.bz2 and /dev/null differ diff --git a/libmbim-1.32.0.tar.bz2 b/libmbim-1.32.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..d610e47a4aaabfa912a40833ec2d96ba4f3ed6de Binary files /dev/null and b/libmbim-1.32.0.tar.bz2 differ diff --git a/libmbim.spec b/libmbim.spec index 7c568177fd2b9fc40e4800582ff8aa28853b3236..85b494088ae5558c2fd72e48fe883ef3de07995e 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -1,14 +1,21 @@ Name: libmbim -Version: 1.30.0 -Release: 2 +Version: 1.32.0 +Release: 1 Summary: A glib-based library for talking to WWAN modems and devices -License: LGPLv2+ -URL: https://gitlab.freedesktop.org/mobile-broadband/libmbim +License: LGPL-2.1-or-later +URL: https://www.freedesktop.org/wiki/Software/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 help2man meson gobject-introspection-devel +BuildRequires: meson >= 0.53.0 +BuildRequires: pkgconfig(bash-completion) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.56 +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6 +BuildRequires: gtk-doc +BuildRequires: python3 +BuildRequires: /usr/bin/help2man Provides: %{name}-utils = %{version}-%{release} Obsoletes: %{name}-utils < %{version}-%{release} @@ -20,7 +27,6 @@ devices which speak the Mobile Interface Broadband Model (MBIM) protocol. %package devel Summary: Development package for %{name} Requires: %{name} = %{version}-%{release} -Requires: glib2-devel %description devel This package contains some header and library files for the development of the %{name}. @@ -31,27 +37,22 @@ This package contains some header and library files for the development of the % %autosetup -p1 %build -%meson -Dgtk_doc=true -Dbash_completion=false +%meson -Dgtk_doc=true %meson_build %install %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 %meson_test -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files +%license LICENSES/*.txt %doc NEWS AUTHORS README.md %{_libdir}/libmbim-glib.so.* %{_bindir}/* -%{_datadir}/bash-completion +%{bash_completions_dir}/* %{_libexecdir}/mbim-proxy %{_libdir}/girepository-1.0/Mbim-1.0.typelib @@ -59,14 +60,16 @@ cp -a src/mbimcli/mbimcli %{buildroot}%{_datadir}/bash-completion/completions/ %{_includedir}/libmbim-glib/ %{_libdir}/pkgconfig/mbim-glib.pc %{_libdir}/libmbim-glib.so -%dir %{_datadir}/gtk-doc/html/libmbim-glib -%{_datadir}/gtk-doc/html/libmbim-glib/* +%{_datadir}/gtk-doc/html/libmbim-glib %{_datadir}/gir-1.0/Mbim-1.0.gir %files help %{_mandir}/man1/* %changelog +* Fri Apr 11 2025 Funda Wang - 1.32.0-1 +- update to version 1.32.0 + * Thu Mar 14 2024 panchenbo - 1.30.0-2 - add BuildRequires:gobject-introspection-devel diff --git a/libmbim.yaml b/libmbim.yaml index d875deb9fa2e2776097f6e67894c3ddc9dc4124a..a6276a9252c883fb55ba4481bc88ee066cb38c8a 100644 --- a/libmbim.yaml +++ b/libmbim.yaml @@ -1,4 +1,4 @@ -version_control: git -src_repo: https://gitlab.freedesktop.org/mobile-broadband/libmbim.git -tag_prefix: ^ -separator: . +version_control: git +src_repo: https://gitlab.freedesktop.org/mobile-broadband/libmbim.git +tag_prefix: +separator: .