Accepting request 209059 from GNOME:Factory
New package - for the ModemManager stack OBS-URL: https://build.opensuse.org/request/show/209059 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqmi?expand=0&rev=1
This commit is contained in:
commit
758b82afe0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libqmi-1.0.tar.xz
Normal file
3
libqmi-1.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a1ad00fee1f730a9172934de1e506995cf0cba1b213a3d6076e35c18ed698c70
|
||||
size 545860
|
2
libqmi-rpmlintrc
Normal file
2
libqmi-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
# The main package is called libqmi but is not shared lib.. elimintate false warning.
|
||||
addFilter("libqmi-tools\..*: W: shlib-policy-missing-lib");
|
5
libqmi.changes
Normal file
5
libqmi.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 10 17:23:34 UTC 2012 - dimstar@opensuse.org
|
||||
|
||||
- Initial package, release 1.0.
|
||||
|
96
libqmi.spec
Normal file
96
libqmi.spec
Normal file
@ -0,0 +1,96 @@
|
||||
#
|
||||
# spec file for package
|
||||
#
|
||||
# Copyright (c) 2012 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: libqmi
|
||||
%define _soname libqmi-glib0
|
||||
Version: 1.0
|
||||
Release: 0
|
||||
# NOTE: The file headers state LESSER GPL, which is a mistake. The upstream intended license is LIBRARY GPL 2.0+
|
||||
License: LGPL-2.0+
|
||||
Summary: Library to control QMI devices
|
||||
Url: http://cgit.freedesktop.org/libqmi/
|
||||
Group: System/Libraries
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/libqmi/1.0/%{name}-%{version}.tar.xz
|
||||
Source99: libqmi-rpmlintrc
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
A GLib/GIO based library to control QMI devices
|
||||
|
||||
%package -n %{_soname}
|
||||
Summary: Library to control QMI devices
|
||||
Group: System/Libraries
|
||||
# The tools are a useful addition
|
||||
Recommends: %{name}-tools
|
||||
|
||||
%description -n %{_soname}
|
||||
A GLib/GIO based library to control QMI devices
|
||||
|
||||
%package tools
|
||||
Summary: Helper utilities to control QMI devices
|
||||
Group: Hardware/Modem
|
||||
|
||||
%description tools
|
||||
A GLib/GIO based library to control QMI devices.
|
||||
|
||||
This package contains command line tools to manage such devices.
|
||||
|
||||
%package devel
|
||||
Summary: Library to control QMI devices -- Development files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %{_soname} = %{version}
|
||||
|
||||
%description devel
|
||||
A GLib/GIO based library to control QMI devices
|
||||
|
||||
This package contains files required to link sources against libqmi.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
||||
|
||||
%post -n %{_soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{_soname} -p /sbin/ldconfig
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/qmi-network
|
||||
%{_bindir}/qmicli
|
||||
|
||||
%files -n %{_soname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libqmi-glib.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libqmi-glib/
|
||||
%{_libdir}/libqmi-glib.so
|
||||
%{_libdir}/pkgconfig/qmi-glib.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user