diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-25 03:17:00 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-25 03:17:00 +0000 |
commit | 28993f5885b31c2ec61da33d605167638ea5c4bc (patch) | |
tree | a9ab2c961ddac8e6d42b71b2f463d3d8f9b3cdb2 | |
parent | 35d6d00769fca5ba29012e37cc40caae5b9e5ff2 (diff) |
automatic import of python3-kiwi-boxed-pluginopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-kiwi-boxed-plugin.spec | 80 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 82 insertions, 0 deletions
@@ -0,0 +1 @@ +/kiwi_boxed_plugin-0.2.24.tar.gz diff --git a/python-kiwi-boxed-plugin.spec b/python-kiwi-boxed-plugin.spec new file mode 100644 index 0000000..3263478 --- /dev/null +++ b/python-kiwi-boxed-plugin.spec @@ -0,0 +1,80 @@ +%global _empty_manifest_terminate_build 0 +Name: python-kiwi-boxed-plugin +Version: 0.2.24 +Release: 1 +Summary: KIWI - Boxed Build Plugin +License: GPLv3+ +URL: https://github.com/OSInside/kiwi-boxed-plugin +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2b/64/0cdeba845b3ebff6b59f335011b67a68cf778c0f5e2dd69d3c3d232f4f46/kiwi_boxed_plugin-0.2.24.tar.gz +BuildArch: noarch + + +%description +|GitHub CI Action| +KIWI plugin to provide self contained build support. For further +details see: +`Building in a Self-Contained Environment <https://osinside.github.io/kiwi/plugins/self_contained.html>`__ + +%package -n python3-kiwi-boxed-plugin +Summary: KIWI - Boxed Build Plugin +Provides: python-kiwi-boxed-plugin +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-kiwi-boxed-plugin +|GitHub CI Action| +KIWI plugin to provide self contained build support. For further +details see: +`Building in a Self-Contained Environment <https://osinside.github.io/kiwi/plugins/self_contained.html>`__ + +%package help +Summary: Development documents and examples for kiwi-boxed-plugin +Provides: python3-kiwi-boxed-plugin-doc +%description help +|GitHub CI Action| +KIWI plugin to provide self contained build support. For further +details see: +`Building in a Self-Contained Environment <https://osinside.github.io/kiwi/plugins/self_contained.html>`__ + +%prep +%autosetup -n kiwi-boxed-plugin-0.2.24 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-kiwi-boxed-plugin -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Sat Feb 25 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.24-1 +- Package Spec generated @@ -0,0 +1 @@ +416af8b1af623300c24a755c44d5ac86 kiwi_boxed_plugin-0.2.24.tar.gz |