diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:05:02 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:05:02 +0000 |
| commit | 35ea9c9d1ea02a1f21f1afcf00663618255da816 (patch) | |
| tree | 83d60e9149e339f86f745a60eeef999d8c881fd3 /python-fake-bpy-module-latest.spec | |
| parent | 3134e00b968f46aa563141ec2ea1cecfd48ec2bc (diff) | |
automatic import of python-fake-bpy-module-latest
Diffstat (limited to 'python-fake-bpy-module-latest.spec')
| -rw-r--r-- | python-fake-bpy-module-latest.spec | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/python-fake-bpy-module-latest.spec b/python-fake-bpy-module-latest.spec new file mode 100644 index 0000000..7e8e3c3 --- /dev/null +++ b/python-fake-bpy-module-latest.spec @@ -0,0 +1,102 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fake-bpy-module-latest +Version: 20230411 +Release: 1 +Summary: Collection of the fake Blender Python API module for the code completion. +License: MIT +URL: https://github.com/nutti/fake-bpy-module +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/de/e5/6165d053c90959f7ec982144284f985f29f76832bad0f4e8529d70852410/fake-bpy-module-latest-20230411.tar.gz +BuildArch: noarch + + +%description +fake-bpy-module is the collections of the fake Blender Python API +modules for the code completion in commonly used IDEs. +Note: The similar project for Blender Game Engine (BGE) is available on +`fake-bge-module <https://github.com/nutti/fake-bge-module>`__ which +targets `UPBGE <https://upbge.org/>`__. + fake-bpy-module Thumbnail +*To realize the long support of this project, your support is helpful.* +*You can support the development of this project via* `GitHub +Sponsors <https://github.com/sponsors/nutti>`__. *See*\ `the +contribution document <CONTRIBUTING.md>`__\ *for the detail of* *the +support.* + +%package -n python3-fake-bpy-module-latest +Summary: Collection of the fake Blender Python API module for the code completion. +Provides: python-fake-bpy-module-latest +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-fake-bpy-module-latest +fake-bpy-module is the collections of the fake Blender Python API +modules for the code completion in commonly used IDEs. +Note: The similar project for Blender Game Engine (BGE) is available on +`fake-bge-module <https://github.com/nutti/fake-bge-module>`__ which +targets `UPBGE <https://upbge.org/>`__. + fake-bpy-module Thumbnail +*To realize the long support of this project, your support is helpful.* +*You can support the development of this project via* `GitHub +Sponsors <https://github.com/sponsors/nutti>`__. *See*\ `the +contribution document <CONTRIBUTING.md>`__\ *for the detail of* *the +support.* + +%package help +Summary: Development documents and examples for fake-bpy-module-latest +Provides: python3-fake-bpy-module-latest-doc +%description help +fake-bpy-module is the collections of the fake Blender Python API +modules for the code completion in commonly used IDEs. +Note: The similar project for Blender Game Engine (BGE) is available on +`fake-bge-module <https://github.com/nutti/fake-bge-module>`__ which +targets `UPBGE <https://upbge.org/>`__. + fake-bpy-module Thumbnail +*To realize the long support of this project, your support is helpful.* +*You can support the development of this project via* `GitHub +Sponsors <https://github.com/sponsors/nutti>`__. *See*\ `the +contribution document <CONTRIBUTING.md>`__\ *for the detail of* *the +support.* + +%prep +%autosetup -n fake-bpy-module-latest-20230411 + +%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-fake-bpy-module-latest -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 20230411-1 +- Package Spec generated |
