Accepting request 209100 from GNOME:Next

Addition, dependency to ModemManager

OBS-URL: https://build.opensuse.org/request/show/209100
OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=1
This commit is contained in:
Andrey Karepin 2013-12-02 06:04:23 +00:00 committed by Git OBS Bridge
commit 68daa6a1ea
5 changed files with 114 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libmbim-1.4.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7fa909df229574eb11baac89075ac1366a2ac1670f586483bdf0173257cf781
size 355340

5
libmbim.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Dec 1 17:35:58 UTC 2013 - dimstar@opensuse.org
- Initial package, version 1.4.0.

82
libmbim.spec Normal file
View File

@ -0,0 +1,82 @@
#
# spec file for package libmbim
#
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libmbim
Version: 1.4.0
Release: 0
License: LGPL-2.0+
Summary: Mobile Interface Broadband Model (MBIM) protocol
Url: http://www.freedesktop.org/wiki/Software/libmbim/
Group: Productivity/Networking/System
Source: http://www.freedesktop.org/software/libmbim/libmbim-1.4.0.tar.xz
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gudev-1.0) >= 147
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libmbim is a glib-based library for talking to WWAN modems and devices
which speak the Mobile Interface Broadband Model (MBIM) protocol.
%package -n libmbim-glib0
Summary: Mobile Interface Broadband Model (MBIM) protocol
Group: System/Libraries
%description -n libmbim-glib0
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: Mobile Interface Broadband Model (MBIM) protocol - Development files
Group: Development/Languages/C and C++
Requires: libmbim-glib0 = %{version}
%description devel
libmbim is a glib-based library for talking to WWAN modems and devices
which speak the Mobile Interface Broadband Model (MBIM) protocol.
%prep
%setup -q
%build
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_bindir}/mbim-network
%{_bindir}/mbimcli
%files -n libmbim-glib0
%defattr(-,root,root)
%{_libdir}/libmbim-glib.so.*
%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/libmbim-glib/
%{_includedir}/libmbim-glib/
%{_libdir}/libmbim-glib.so
%{_libdir}/pkgconfig/mbim-glib.pc
%changelog