Compare commits

..

No commits in common. "6b091039f2c20e192f63cf9587b39d535ff0688d" and "5adfc006c8b81ffe278106cd950e728f06ae7747" have entirely different histories.

4 changed files with 14 additions and 30 deletions

BIN
libmbim-1.26.4.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,14 @@
Name: libmbim
Version: 1.30.0
Release: 2
Version: 1.26.4
Release: 1
Summary: A glib-based library for talking to WWAN modems and devices
License: LGPLv2+
URL: https://gitlab.freedesktop.org/mobile-broadband/libmbim
Source: https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/%{version}/%{name}-%{version}.tar.bz2
URL: http://freedesktop.org/software/libmbim
Source: http://freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz
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: libxslt python3-unversioned-command
Provides: %{name}-utils = %{version}-%{release}
Obsoletes: %{name}-utils < %{version}-%{release}
@ -31,29 +31,26 @@ This package contains some header and library files for the development of the %
%autosetup -p1
%build
%meson -Dgtk_doc=true -Dbash_completion=false
%meson_build
%configure --disable-static --enable-gtk-doc
%make_build V=1
%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/
%make_install
%delete_la
%check
%meson_test
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc NEWS AUTHORS README.md
%doc COPYING NEWS AUTHORS README
%{_libdir}/libmbim-glib.so.*
%{_bindir}/*
%{_datadir}/bash-completion
%{_libexecdir}/mbim-proxy
%{_libdir}/girepository-1.0/Mbim-1.0.typelib
%files devel
%{_includedir}/libmbim-glib/
@ -61,24 +58,11 @@ cp -a src/mbimcli/mbimcli %{buildroot}%{_datadir}/bash-completion/completions/
%{_libdir}/libmbim-glib.so
%dir %{_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
* Thu Mar 14 2024 panchenbo <panchenbo@kylinsec.com.cn> - 1.30.0-2
- add BuildRequires:gobject-introspection-devel
* Fri Dec 29 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.30.0-1
- update to 1.30.0
* Sat Jul 22 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.29.2-1
- update to 1.29.2
* Thu Feb 23 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.26.4-2
- fix build error in master
* Wed Nov 16 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.26.4-1
- update to 1.26.4

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
version_control: github
src_repo: freedesktop/libmbim
tag_prefix: ^
separator: .
seperator: .