import libmbim-1.26.0-1.el8

This commit is contained in:
CentOS Sources 2021-10-15 16:32:39 +00:00 committed by Stepan Oksanichenko
parent 7bf422836d
commit ede154a811
3 changed files with 24 additions and 26 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libmbim-1.20.2.tar.xz
SOURCES/libmbim-1.26.0.tar.xz

View File

@ -1 +1 @@
7c4394063a4ef8ba02ab117f891e721ab5ea1dd4 SOURCES/libmbim-1.20.2.tar.xz
bd963a9e82da47d993272640ecf1ea8d3301d4e0 SOURCES/libmbim-1.26.0.tar.xz

View File

@ -1,20 +1,18 @@
%global _hardened_build 1
Name: libmbim
Summary: Support library for the Mobile Broadband Interface Model protocol
Version: 1.20.2
Version: 1.26.0
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
BuildRequires: gcc
BuildRequires: glib2-devel
BuildRequires: pkgconfig
BuildRequires: automake autoconf libtool
BuildRequires: python3-devel
BuildRequires: pkgconfig(gudev-1.0) >= 147
BuildRequires: gcc
BuildRequires: glib2-devel >= 2.48.0
BuildRequires: gtk-doc
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: python3
%description
@ -42,50 +40,50 @@ functionality from the command line.
%prep
%setup -q
# Fix python shebangs
pathfix.py -i %{__python3} -pn build-aux/mbim-codegen/*.py \
build-aux/mbim-codegen/mbim-codegen
%autosetup -p1
%build
%configure --disable-static --enable-gtk-doc
V=1 make %{?_smp_mflags}
%{make_build}
%install
make install INSTALL="install -p" DESTDIR=%{buildroot}
%{make_install}
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
find %{buildroot} -type f -name "*.la" -delete
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc COPYING NEWS AUTHORS README
%license COPYING.LIB
%doc NEWS AUTHORS README
%{_libdir}/libmbim-glib.so.4*
%exclude %{_libdir}/libmbim-glib.la
%{_datadir}/bash-completion
%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/*
%{_datadir}/gtk-doc/html/libmbim-glib/
%files utils
%license COPYING
%{_bindir}/mbimcli
%{_bindir}/mbim-network
%{_mandir}/man1/*
%{_datadir}/bash-completion
%{_libexecdir}/mbim-proxy
%{_mandir}/man1/mbim*
%changelog
* Thu Sep 30 2021 Ana Cabral <acabral@redhat.com> - 1.26.0-1
- Upgrade to 1.26.0 release
* Fri Nov 29 2019 Lubomir Rintel <lkundrak@v3.sk> - 1.20.2-1
- Update to 1.20.2 release