Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
virt-sandbox
virt-sandbox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virt-sandbox.spec of Package virt-sandbox
# # spec file for package virt-sandbox # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # %define libvirt_version 1.0.2 %define soname 1_0-5 Name: virt-sandbox Version: 0.6.0 Release: 1%{?dist}%{?extra_release} Url: http://libvirt.org/ Summary: Libvirt application sandbox framework License: LGPL-2.0+ Group: System/Management Source0: ftp://libvirt.org/libvirt/sandbox/libvirt-sandbox-%{version}.tar.gz Source1: %{name}.rpmlintrc # Upstream patches Patch0: dhcp-fix.patch Patch1: f24d003b-sync-unmount-shutdown.patch # Patches pending upstream review # Need to go upstream # Our patches Patch200: no-libexec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: glib2-devel >= 2.32.0 BuildRequires: glibc-static BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: libselinux-devel BuildRequires: libtool BuildRequires: libvirt-glib-devel >= 0.2.1 BuildRequires: perl BuildRequires: zlib-devel-static Requires: rpm-python # For virsh lxc-enter-namespace command Requires: libvirt-client >= %{libvirt_version} Requires: python3-gobject Requires: systemd >= 198 # Requires: libselinux-python Requires: cron Requires: libvirt-sandbox-%{soname} = %{version}-%{release} %package -n libvirt-sandbox-%{soname} Summary: Libvirt application sandbox framework libraries Group: Development/Libraries/C and C++ # So we get the full libvirtd daemon, not just client libs Requires: libvirt-daemon-lxc >= %{libvirt_version} Requires: libvirt-daemon-qemu >= %{libvirt_version} %package -n typelib-1_0-LibvirtSandbox-1_0 Summary: GLib and GObject mapping of libvirt-sandbox - gi-bindings Group: System/Libraries %package -n libvirt-sandbox-devel Summary: Libvirt application sandbox framework development files Group: Development/Libraries/C and C++ Requires: libvirt-sandbox-%{soname} = %{version}-%{release} %description This package provides a command for running applications within a sandbox using libvirt. %description -n libvirt-sandbox-%{soname} This package provides a framework for building application sandboxes using libvirt. %description -n libvirt-sandbox-devel This package provides development header files and libraries for the libvirt sandbox %description -n typelib-1_0-LibvirtSandbox-1_0 This package provides Gnome-introspection bindings for building applications within a sandbox using libvirt. %prep %setup -q -n libvirt-sandbox-%{version} %patch0 -p1 %patch1 -p1 %patch200 -p1 %build # We may have a more recent version of automake when building # than the one used to autoconfigure the project for the distribution # Just make sure the files are sync'ed with our version autoreconf -f -i %configure --enable-introspection --disable-static --without-lzma make V=1 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT chmod a-x examples/*.py examples/*.pl examples/*.js chmod a-x bin/virt-sandbox-service-bash-completion.sh %makeinstall rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.a rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt-sandbox-1.0.la %find_lang libvirt-sandbox %clean rm -rf $RPM_BUILD_ROOT %post -n libvirt-sandbox-%{soname} -p /sbin/ldconfig %postun -n libvirt-sandbox-%{soname} -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_datadir}/bash-completion/completions/virt-sandbox-service %config(noreplace) %{_sysconfdir}/cron.daily/virt-sandbox-service.logrotate %dir %{_sysconfdir}/libvirt-sandbox/services %{_bindir}/virt-sandbox %{_bindir}/virt-sandbox-service %{_libexecdir}/virt-sandbox-service-util %{_mandir}/man1/virt-sandbox.1* %{_mandir}/man1/virt-sandbox-service.1* %{_mandir}/man1/virt-sandbox-service-*.1* %files -n libvirt-sandbox-%{soname} -f libvirt-sandbox.lang %defattr(-,root,root,-) %doc README COPYING AUTHORS ChangeLog NEWS %dir %{_sysconfdir}/libvirt-sandbox %dir %{_sysconfdir}/libvirt-sandbox/scratch %config %{_sysconfdir}/libvirt-sandbox/scratch/README %{_libexecdir}/libvirt-sandbox-init-common %{_libexecdir}/libvirt-sandbox-init-lxc %{_libexecdir}/libvirt-sandbox-init-qemu %{_libdir}/libvirt-sandbox-1.0.so.* %files -n typelib-1_0-LibvirtSandbox-1_0 %defattr(-,root,root,-) %{_libdir}/girepository-1.0/LibvirtSandbox-1.0.typelib %files -n libvirt-sandbox-devel %defattr(-,root,root,-) %doc examples/virt-sandbox.pl %doc examples/virt-sandbox.py %doc examples/virt-sandbox.js %doc examples/virt-sandbox-mkinitrd.py %{_libdir}/libvirt-sandbox-1.0.so %{_libdir}/pkgconfig/libvirt-sandbox-1.0.pc %dir %{_includedir}/libvirt-sandbox-1.0 %dir %{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox %{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox.h %{_includedir}/libvirt-sandbox-1.0/libvirt-sandbox/libvirt-sandbox-*.h %{_datadir}/gir-1.0/LibvirtSandbox-1.0.gir %{_datadir}/gtk-doc/html/Libvirt-sandbox %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor