commit ae43538fcb726dd04ed7e9eb2353105509d75db7 Author: CentOS Sources Date: Thu Aug 1 12:50:10 2019 -0400 import libmbim-1.18.2-3.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c197afd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libmbim-1.18.2.tar.xz diff --git a/.libmbim.metadata b/.libmbim.metadata new file mode 100644 index 0000000..eb12124 --- /dev/null +++ b/.libmbim.metadata @@ -0,0 +1 @@ +df2fc739d10931554b20fcf222cc3d2f03520b9a SOURCES/libmbim-1.18.2.tar.xz diff --git a/SPECS/libmbim.spec b/SPECS/libmbim.spec new file mode 100644 index 0000000..82fd23f --- /dev/null +++ b/SPECS/libmbim.spec @@ -0,0 +1,159 @@ +%global _hardened_build 1 + +Name: libmbim +Summary: Support library for the Mobile Broadband Interface Model protocol +Version: 1.18.2 +Release: 3%{?dist} +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: gtk-doc +BuildRequires: help2man + + +%description +This package contains the libraries that make it easier to use MBIM +functionality from applications that use glib. + + +%package devel +Summary: Header files for adding MBIM support to applications that use glib +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: glib2-devel%{?_isa} + +%description devel +This package contains the header and pkg-config files for developing +applications using MBIM functionality from applications that use glib. + +%package utils +Summary: Utilities to use the MBIM protocol from the command line +Requires: %{name}%{?_isa} = %{version}-%{release} +License: GPLv2+ + +%description utils +This package contains the utilities that make it easier to use MBIM +functionality from the command line. + + +%prep +%setup -q +# libmbim-1.18.2 dist contains mis-generated manuals +find docs/man -size 0 -delete +# Fix python shebangs +pathfix.py -i %{__python3} -pn build-aux/mbim-codegen/*.py \ + build-aux/mbim-codegen/mbim-codegen + +%build +%configure --disable-static --enable-gtk-doc +V=1 make %{?_smp_mflags} + +%install +make install INSTALL="install -p" DESTDIR=%{buildroot} +find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac + + +%check +find docs/man -size 0 |grep . && exit 1 +make check + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%doc COPYING 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/* + +%files utils +%{_bindir}/mbimcli +%{_bindir}/mbim-network +%{_mandir}/man1/* +%{_libexecdir}/mbim-proxy + + +%changelog +* Thu May 23 2019 Lubomir Rintel - 1.18.2-3 +- Regenerate manuals that are broken in dist + +* Wed May 22 2019 Lubomir Rintel - 1.18.2-2 +- A happy little rebuild + +* Mon May 06 2019 Lubomir Rintel - 1.18.2-1 +- Update to 1.18.2 release + +* Thu Mar 15 2018 Iryna Shcherbina - 1.16.0-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Wed Feb 07 2018 Fedora Release Engineering - 1.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 22 2018 Lubomir Rintel - 1.16.0-1 +- Update to 1.16.0 release + +* Tue Aug 29 2017 Lubomir Rintel - 1.14.2-1 +- Update to 1.14.2 release + +* Thu Aug 03 2017 Fedora Release Engineering - 1.14.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.14.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jul 08 2016 Lubomir Rintel - 1.14.0-1 +- Update to 1.14.0 release + +* Mon Mar 21 2016 Lubomir Rintel - 1.12.4-1 +- Update to 1.12.2 release + +* Thu Feb 04 2016 Fedora Release Engineering - 1.12.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Aug 18 2015 Lubomir Rintel - 1.12.2-1 +- Update to 1.12.2 release + +* Wed Jun 17 2015 Fedora Release Engineering - 1.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jan 15 2015 Dan Williams - 1.12.0-1 +- Update to 1.12.0 release + +* Sun Aug 17 2014 Fedora Release Engineering - 1.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Aug 5 2014 Dan Williams - 1.10.0-1 +- Update to 1.10.0 release + +* Sat Jun 07 2014 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Mar 8 2014 Dan Williams - 1.8.0-1 +- Update to 1.8.0 release + +* Sat Feb 1 2014 poma - 1.6.0-1 +- Update to 1.6.0 release + +* Thu Aug 15 2013 Dan Williams - 1.5.0-1.20130815git +- Initial Fedora release +