Accepting request 93532 from home:dimstar:gnome-boxes
New package for Factory, dependency for gnome-boxes. Hardware seems to be the best fit for this library... OBS-URL: https://build.opensuse.org/request/show/93532 OBS-URL: https://build.opensuse.org/package/show/hardware/libosinfo?expand=0&rev=1
This commit is contained in:
commit
90e219a72e
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
libosinfo-0.0.2.tar.gz
Normal file
3
libosinfo-0.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:acb3dccb64cac7332ed54aecae266b46453e30428ed93047552dd42c1ee5e989
|
||||
size 849021
|
5
libosinfo.changes
Normal file
5
libosinfo.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 16:43:35 UTC 2011 - dimstar@opensuse.org
|
||||
|
||||
- Initial package, version 0.0.2
|
||||
|
99
libosinfo.spec
Normal file
99
libosinfo.spec
Normal file
@ -0,0 +1,99 @@
|
||||
#
|
||||
# spec file for package
|
||||
#
|
||||
# Copyright (c) 2011 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: libosinfo
|
||||
Version: 0.0.2
|
||||
Release: 1
|
||||
License: LGPL-2.1+
|
||||
Summary: Manage information about operating systems and hypervisors
|
||||
Url: https://fedorahosted.org/libosinfo/
|
||||
Group: System/Libraries
|
||||
Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.gz
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(check)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libosinfo is a GObject based library API for managing information about operating systems,
|
||||
hypervisors and the (virtual) hardware devices they can support. It includes a database
|
||||
containing device metadata and provides APIs to match/identify optimal devices for
|
||||
deploying an operating system on a hypervisor. Via the magic of GObject Introspection,
|
||||
the API is available in all common programming languages.
|
||||
|
||||
%package -n libosinfo-1_0-0
|
||||
Summary: Manage information about operating systems and hypervisors
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libosinfo-1_0-0
|
||||
libosinfo is a GObject based library API for managing information about operating systems,
|
||||
hypervisors and the (virtual) hardware devices they can support. It includes a database
|
||||
containing device metadata and provides APIs to match/identify optimal devices for
|
||||
deploying an operating system on a hypervisor. Via the magic of GObject Introspection,
|
||||
the API is available in all common programming languages.
|
||||
|
||||
%package devel
|
||||
Summary: Manage information about operating systems and hypervisors - Development Files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libosinfo-1_0-0 = %{version}
|
||||
|
||||
%description devel
|
||||
libosinfo is a GObject based library API for managing information about operating systems,
|
||||
hypervisors and the (virtual) hardware devices they can support. It includes a database
|
||||
containing device metadata and provides APIs to match/identify optimal devices for
|
||||
deploying an operating system on a hypervisor. Via the magic of GObject Introspection,
|
||||
the API is available in all common programming languages.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README COPYING
|
||||
%{_bindir}/osinfo-detect
|
||||
%{_bindir}/osinfo-pciids-convert
|
||||
%{_bindir}/osinfo-usbids-convert
|
||||
%{_datadir}/%{name}/
|
||||
|
||||
%files -n libosinfo-1_0-0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libosinfo-1.0.so.*
|
||||
%{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_datadir}/gtk-doc/html/Libosinfo/
|
||||
%{_includedir}/%{name}-1.0
|
||||
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
||||
%{_libdir}/libosinfo-1.0.so
|
||||
%{_datadir}/gir-1.0/Libosinfo-1.0.gir
|
||||
%dir %{_datadir}/vala/
|
||||
%dir %{_datadir}/vala/vapi/
|
||||
%{_datadir}/vala/vapi/libosinfo-1.0.vapi
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user