Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Virtualization:Appliances:Builder
python-kiwi_boxed_plugin
python-kiwi_boxed_plugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-kiwi_boxed_plugin.spec of Package python-kiwi_boxed_plugin
# # spec file for package kiwi_boxed_plugin # # Copyright (c) 2020 SUSE Software Solutions Germany 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: # # https://github.com/OSInside/kiwi-boxed-plugin/issues # # If they aren't provided by a system installed macro, define them %{!?_defaultdocdir: %global _defaultdocdir %{_datadir}/doc} %if 0%{?suse_version} && 0%{?suse_version} < 1600 %global __python3 /usr/bin/python3.11 %global python3_pkgversion 311 %else %{!?__python3: %global __python3 /usr/bin/python3} %{!?python3_pkgversion:%global python3_pkgversion 3} %endif %if %{undefined python3_sitelib} %global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") %endif %if %{undefined python3_version} %global python3_version %(%{__python3} -Esc "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))") %endif %if %{undefined python3_version_nodots} %global python3_version_nodots %(%{__python3} -Esc "import sys; sys.stdout.write('{0.major}{0.minor}'.format(sys.version_info))") %endif %if 0%{?debian} || 0%{?ubuntu} %global is_deb 1 %global pygroup python %global sysgroup admin %global develsuffix dev %else %global pygroup Development/Languages/Python %global sysgroup System/Management %global develsuffix devel %endif Name: python-kiwi_boxed_plugin Version: 0.2.38 Release: 0 Url: https://github.com/OSInside/kiwi-boxed-plugin Summary: KIWI - Boxed Build Plugin License: GPL-3.0-or-later %if "%{_vendor}" == "debbuild" # Needed to set Maintainer in output debs Packager: Marcus Schaefer <ms@suse.de> %endif Group: %{pygroup} Source: python-kiwi-boxed-plugin.tar.gz Source1: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python%{python3_pkgversion}-%{develsuffix} BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: fdupes BuildArch: noarch %description The KIWI boxed plugin provides support for self contained building of images based on fast booting VM images # python3-kiwi_boxed_plugin %package -n python%{python3_pkgversion}-kiwi_boxed_plugin Summary: KIWI - Boxed Build Plugin Group: Development/Languages/Python Requires: python%{python3_pkgversion}-docopt Requires: python%{python3_pkgversion}-kiwi >= 9.21.21 Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-progressbar2 %if 0%{?ubuntu} || 0%{?debian} Requires: python%{python3_pkgversion}-yaml %else Requires: python%{python3_pkgversion}-PyYAML %endif %if 0%{?suse_version} Requires: python%{python3_pkgversion}-Cerberus %else Requires: python%{python3_pkgversion}-cerberus %endif Requires: qemu Recommends: sshfs Recommends: virtiofsd >= 1.10 %description -n python%{python3_pkgversion}-kiwi_boxed_plugin The KIWI boxed plugin provides support for self contained building of images based on fast booting VM images %prep %setup -q -n kiwi_boxed_plugin-%{version} %build # Build Python 3 version %{__python3} setup.py build %install # Install Python 3 version %{__python3} setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?is_deb:--install-layout=deb} # Install man pages and package documentation make buildroot=%{buildroot}/ docdir=%{_defaultdocdir}/ install %files -n python%{python3_pkgversion}-kiwi_boxed_plugin %dir %{_defaultdocdir}/python-kiwi_boxed_plugin %{python3_sitelib}/kiwi_boxed_plugin* %{_defaultdocdir}/python-kiwi_boxed_plugin/LICENSE %{_defaultdocdir}/python-kiwi_boxed_plugin/README %doc %{_mandir}/man8/* %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