Accepting request 538291 from home:pluskalm:branches:network
- Enable tests - Do not rely on env for python during build - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/538291 OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=25
This commit is contained in:
parent
981200c7f2
commit
c537207453
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 2 09:06:32 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Enable tests
|
||||||
|
- Do not rely on env for python during build
|
||||||
|
- Run spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 7 15:06:56 UTC 2017 - zaitor@opensuse.org
|
Thu Sep 7 15:06:56 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
25
libmbim.spec
25
libmbim.spec
@ -21,15 +21,16 @@ Name: libmbim
|
|||||||
Version: 1.14.2
|
Version: 1.14.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Mobile Interface Broadband Model (MBIM) protocol
|
Summary: Mobile Interface Broadband Model (MBIM) protocol
|
||||||
License: GPL-2.0+ and LGPL-2.0+
|
License: GPL-2.0+ AND LGPL-2.0+
|
||||||
Group: Productivity/Networking/System
|
Group: Productivity/Networking/System
|
||||||
Url: http://www.freedesktop.org/wiki/Software/libmbim/
|
Url: http://www.freedesktop.org/wiki/Software/libmbim/
|
||||||
Source: http://www.freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz
|
Source: http://www.freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python3
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||||
BuildRequires: pkgconfig(gobject-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
BuildRequires: pkgconfig(gudev-1.0) >= 147
|
BuildRequires: pkgconfig(gudev-1.0) >= 147
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libmbim is a glib-based library for talking to WWAN modems and devices
|
libmbim is a glib-based library for talking to WWAN modems and devices
|
||||||
@ -56,11 +57,11 @@ which speak the Mobile Interface Broadband Model (MBIM) protocol.
|
|||||||
|
|
||||||
%package -n mbimcli-bash-completion
|
%package -n mbimcli-bash-completion
|
||||||
Summary: Bash completion for mbimcli
|
Summary: Bash completion for mbimcli
|
||||||
License: GPL-2.0+ and LGPL-2.0+
|
License: GPL-2.0+ AND LGPL-2.0+
|
||||||
Group: Productivity/Networking/System
|
Group: Productivity/Networking/System
|
||||||
Supplements: packageand(%{name}:bash-completion)
|
|
||||||
BuildRequires: bash-completion
|
BuildRequires: bash-completion
|
||||||
Requires: bash-completion
|
Requires: bash-completion
|
||||||
|
Supplements: packageand(%{name}:bash-completion)
|
||||||
|
|
||||||
%description -n mbimcli-bash-completion
|
%description -n mbimcli-bash-completion
|
||||||
This package contain de bash completion command for mbimcli tools.
|
This package contain de bash completion command for mbimcli tools.
|
||||||
@ -69,21 +70,24 @@ This package contain de bash completion command for mbimcli tools.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Do not rely on env for choosing python
|
||||||
|
sed -i "s|env python|python3|g" build-aux/mbim-codegen/*
|
||||||
%configure \
|
%configure \
|
||||||
--with-udev \
|
--with-udev \
|
||||||
--disable-static
|
--disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
|
%check
|
||||||
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%post -n libmbim-glib4 -p /sbin/ldconfig
|
%post -n libmbim-glib4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libmbim-glib4 -p /sbin/ldconfig
|
%postun -n libmbim-glib4 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
%{_bindir}/mbim-network
|
%{_bindir}/mbim-network
|
||||||
%{_bindir}/mbimcli
|
%{_bindir}/mbimcli
|
||||||
@ -92,18 +96,15 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
|||||||
%{_mandir}/man1/mbimcli.1%{?ext_man}
|
%{_mandir}/man1/mbimcli.1%{?ext_man}
|
||||||
|
|
||||||
%files -n libmbim-glib4
|
%files -n libmbim-glib4
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libmbim-glib.so.*
|
%{_libdir}/libmbim-glib.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %{_datadir}/gtk-doc/html/libmbim-glib/
|
%doc %{_datadir}/gtk-doc/html/libmbim-glib/
|
||||||
%{_includedir}/libmbim-glib/
|
%{_includedir}/libmbim-glib/
|
||||||
%{_libdir}/libmbim-glib.so
|
%{_libdir}/libmbim-glib.so
|
||||||
%{_libdir}/pkgconfig/mbim-glib.pc
|
%{_libdir}/pkgconfig/mbim-glib.pc
|
||||||
|
|
||||||
%files -n mbimcli-bash-completion
|
%files -n mbimcli-bash-completion
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_datadir}/bash-completion/completions/mbimcli
|
%{_datadir}/bash-completion/completions/mbimcli
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user