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