libmbim/libmbim.spec

99 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

2019-12-13 10:22:37 +08:00
Name: libmbim
2023-12-29 08:39:47 +00:00
Version: 1.30.0
Release: 2
2019-12-13 10:22:37 +08:00
Summary: A glib-based library for talking to WWAN modems and devices
License: LGPLv2+
2023-07-22 11:46:20 +08:00
URL: https://gitlab.freedesktop.org/mobile-broadband/libmbim
Source: https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/%{version}/%{name}-%{version}.tar.bz2
2019-12-13 10:22:37 +08:00
BuildRequires: gcc glib2-devel pkgconfig automake autoconf libtool
2020-07-28 18:43:29 +08:00
BuildRequires: python3 pkgconfig(gudev-1.0) >= 147 gtk-doc
BuildRequires: libxslt python3-unversioned-command help2man meson gobject-introspection-devel
2019-12-13 10:22:37 +08:00
Provides: %{name}-utils = %{version}-%{release}
Obsoletes: %{name}-utils < %{version}-%{release}
%description
Libmbim is a glib-based library for talking to WWAN modems and
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}.
%package_help
%prep
%autosetup -p1
%build
2023-07-22 11:46:20 +08:00
%meson -Dgtk_doc=true -Dbash_completion=false
%meson_build
2019-12-13 10:22:37 +08:00
%install
2023-07-22 11:46:20 +08:00
%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/
2019-12-13 10:22:37 +08:00
%check
2023-07-22 11:46:20 +08:00
%meson_test
2019-12-13 10:22:37 +08:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
2023-07-22 11:46:20 +08:00
%doc NEWS AUTHORS README.md
2019-12-13 10:22:37 +08:00
%{_libdir}/libmbim-glib.so.*
%{_bindir}/*
%{_datadir}/bash-completion
%{_libexecdir}/mbim-proxy
2023-02-23 02:47:20 +00:00
%{_libdir}/girepository-1.0/Mbim-1.0.typelib
2019-12-13 10:22:37 +08:00
%files devel
%{_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/*
2023-02-23 02:47:20 +00:00
%{_datadir}/gir-1.0/Mbim-1.0.gir
2019-12-13 10:22:37 +08:00
%files help
%{_mandir}/man1/*
%changelog
* Thu Mar 14 2024 panchenbo <panchenbo@kylinsec.com.cn> - 1.30.0-2
- add BuildRequires:gobject-introspection-devel
2023-12-29 08:39:47 +00:00
* Fri Dec 29 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.30.0-1
- update to 1.30.0
2023-07-22 11:46:20 +08:00
* Sat Jul 22 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.29.2-1
- update to 1.29.2
2023-02-23 02:47:20 +00:00
* Thu Feb 23 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.26.4-2
- fix build error in master
2022-11-16 07:28:25 +00:00
* Wed Nov 16 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.26.4-1
- update to 1.26.4
* Mon Oct 26 2020 leiju <leiju4@huawei.com> - 1.24.2-2
- modify BuildRequires from python-unversioned-command to python3-unversioned-command
2020-07-28 18:43:29 +08:00
* Tue Jul 28 2020 cuibaobao <cuibaobao1@huawei.com> - 1.24.2-1
- update to 1.24.2
2020-01-14 15:15:00 +08:00
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.16.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add patch to modify build err
2019-12-13 10:22:37 +08:00
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 1.16.0-4
- openEuler init