commit 8e653f433767f8747a3896823ca4859f50444daa514ba59d9f45a4810b78c429 Author: James Fehlig Date: Mon Nov 28 22:28:20 2011 +0000 Accepting request 93523 from home:dimstar:gnome-boxes Better package of libvirt-glib. Please consider for inclusion into Factory, as a dependency to the new gnome-boxes. OBS-URL: https://build.opensuse.org/request/show/93523 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt-glib?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libvirt-glib-0.0.2.tar.gz b/libvirt-glib-0.0.2.tar.gz new file mode 100644 index 0000000..f88e201 --- /dev/null +++ b/libvirt-glib-0.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:454b9c7024b2b1603b0d7c4b635ba988afd175a323a1ab27d7248a9fceec71df +size 465069 diff --git a/libvirt-glib.changes b/libvirt-glib.changes new file mode 100644 index 0000000..3621444 --- /dev/null +++ b/libvirt-glib.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Nov 24 08:08:49 UTC 2011 - dimstar@opensuse.org + +- Initial package, version 0.0.2 + diff --git a/libvirt-glib.spec b/libvirt-glib.spec new file mode 100644 index 0000000..91f5dd3 --- /dev/null +++ b/libvirt-glib.spec @@ -0,0 +1,126 @@ +# +# 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: libvirt-glib +Version: 0.0.2 +Release: 1 +License: LGPL-2.1+ +Summary: GLib and GObject mapping of libvirt +Url: http://libvirt.org +Group: System/Libraries +Source: http://libvirt.org/sources/glib/%{name}-%{version}.tar.gz +BuildRequires: vala +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(libvirt) +BuildRequires: pkgconfig(libxml-2.0) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +libvirt is a C toolkit to interact with the virtualization capabilities +of recent versions of Linux (and other OSes). It is free software +available under the GNU Lesser General Public License. Virtualization on +the Linux Operating System means the ability to run multiple instances of +Operating Systems concurrently on a single hardware system where the basic +resources are driven by a Linux instance. The library aim at providing +long term stable C API initially for the Xen paravirtualization but +should be able to integrate other virtualization mechanisms if needed + +%package -n libvirt-glib-1_0-0 +Summary: GLib and GObject mapping of libvirt +Group: System/Libraries + +%description -n libvirt-glib-1_0-0 +libvirt is a C toolkit to interact with the virtualization capabilities +of recent versions of Linux (and other OSes). It is free software +available under the GNU Lesser General Public License. Virtualization on +the Linux Operating System means the ability to run multiple instances of +Operating Systems concurrently on a single hardware system where the basic +resources are driven by a Linux instance. The library aim at providing +long term stable C API initially for the Xen paravirtualization but +should be able to integrate other virtualization mechanisms if needed + +%package devel +Summary: GLib and GObject mapping of libvirt - Development files +Group: Development/Languages/C and C++ +Requires: libvirt-glib-1_0-0 = %{version} + +%description devel +libvirt is a C toolkit to interact with the virtualization capabilities +of recent versions of Linux (and other OSes). It is free software +available under the GNU Lesser General Public License. Virtualization on +the Linux Operating System means the ability to run multiple instances of +Operating Systems concurrently on a single hardware system where the basic +resources are driven by a Linux instance. The library aim at providing +long term stable C API initially for the Xen paravirtualization but +should be able to integrate other virtualization mechanisms if needed + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libvirt-glib-1_0-0 -p /sbin/ldconfig + +%postun -n libvirt-glib-1_0-0 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc ChangeLog README COPYING + +%files -n libvirt-glib-1_0-0 +%defattr(-, root, root) +%{_libdir}/libvirt-gconfig-1.0.so.* +%{_libdir}/libvirt-glib-1.0.so.* +%{_libdir}/libvirt-gobject-1.0.so.* +%{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib +%{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib +%{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib + +%files devel +%defattr(-, root, root) +%{_libdir}/libvirt-gconfig-1.0.so +%{_libdir}/libvirt-glib-1.0.so +%{_libdir}/libvirt-gobject-1.0.so +%{_datadir}/gir-1.0/LibvirtGConfig-1.0.gir +%{_datadir}/gir-1.0/LibvirtGLib-1.0.gir +%{_datadir}/gir-1.0/LibvirtGObject-1.0.gir +%{_includedir}/libvirt-gconfig-1.0/ +%{_includedir}/libvirt-glib-1.0/ +%{_includedir}/libvirt-gobject-1.0/ +%{_libdir}/pkgconfig/libvirt-gconfig-1.0.pc +%{_libdir}/pkgconfig/libvirt-glib-1.0.pc +%{_libdir}/pkgconfig/libvirt-gobject-1.0.pc +%{_datadir}/gtk-doc/html/Libvirt-gconfig/ +%{_datadir}/gtk-doc/html/Libvirt-glib/ +%{_datadir}/gtk-doc/html/Libvirt-gobject/ +%dir %{_datadir}/vala/ +%dir %{_datadir}/vala/vapi/ +%{_datadir}/vala/vapi/libvirt-gconfig-1.0.vapi +%{_datadir}/vala/vapi/libvirt-glib-1.0.vapi +%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi +%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps + +%changelog