diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:06:51 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:06:51 +0000 |
| commit | a6305c5e813977d74c05372b09da417adf9ba933 (patch) | |
| tree | 980ca5db07f2e76fbee7cff35eb35a6ac3af6b42 /python-client-render.spec | |
| parent | 3e45f9349ee4811ad0846080e0f8a5dd24a14a30 (diff) | |
automatic import of python-client-render
Diffstat (limited to 'python-client-render.spec')
| -rw-r--r-- | python-client-render.spec | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/python-client-render.spec b/python-client-render.spec new file mode 100644 index 0000000..ba99308 --- /dev/null +++ b/python-client-render.spec @@ -0,0 +1,152 @@ +%global _empty_manifest_terminate_build 0 +Name: python-client-render +Version: 0.71 +Release: 1 +Summary: please add a summary manually as the author left a blank one +License: MIT +URL: https://github.com/telepenin/client-render/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/71/a5/4e2d80767b228ee4ef3e1f55a6077be85ca5daa174179d76f6773277290e/client-render-0.71.tar.gz +BuildArch: noarch + +Requires: python3-boto3 +Requires: python3-celery +Requires: python3-mss +Requires: python3-pywin32 +Requires: python3-psutil + +%description +# How to configure new Image + +* Choose AMI windows instance (for example, ...) with GUI +* Boot from image by hand (for example on the t2.medium) +* Execute script (link), why it's needed: + * disable antivirus (no required) + * disable firewall (no required) + * enable download files from internet (no required) + * set autoload with specific user (needs for the screenshots) + * add info to the regedit (DEFAULT_USER, DEFAULT_PASS) + * Disable Ctrl+Alt+Del at Configuration\Windows Settings\Security Settings\Local Policies\Security + * add bat file in the autoload folder + * add ability to use user-data for the instance + * additional installations: + * install google chrome (no required) + * install notepad++ (no required) + * install python > 3.7 + * create virtualenv in the c:\venv\3dsmax\ +* Install necessary environment and enter license: + * 3DS MAX + * Corona renderer +* Configure video driver for 3DS MAX +* Shutdown +* Save the Image + + + +%package -n python3-client-render +Summary: please add a summary manually as the author left a blank one +Provides: python-client-render +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-client-render +# How to configure new Image + +* Choose AMI windows instance (for example, ...) with GUI +* Boot from image by hand (for example on the t2.medium) +* Execute script (link), why it's needed: + * disable antivirus (no required) + * disable firewall (no required) + * enable download files from internet (no required) + * set autoload with specific user (needs for the screenshots) + * add info to the regedit (DEFAULT_USER, DEFAULT_PASS) + * Disable Ctrl+Alt+Del at Configuration\Windows Settings\Security Settings\Local Policies\Security + * add bat file in the autoload folder + * add ability to use user-data for the instance + * additional installations: + * install google chrome (no required) + * install notepad++ (no required) + * install python > 3.7 + * create virtualenv in the c:\venv\3dsmax\ +* Install necessary environment and enter license: + * 3DS MAX + * Corona renderer +* Configure video driver for 3DS MAX +* Shutdown +* Save the Image + + + +%package help +Summary: Development documents and examples for client-render +Provides: python3-client-render-doc +%description help +# How to configure new Image + +* Choose AMI windows instance (for example, ...) with GUI +* Boot from image by hand (for example on the t2.medium) +* Execute script (link), why it's needed: + * disable antivirus (no required) + * disable firewall (no required) + * enable download files from internet (no required) + * set autoload with specific user (needs for the screenshots) + * add info to the regedit (DEFAULT_USER, DEFAULT_PASS) + * Disable Ctrl+Alt+Del at Configuration\Windows Settings\Security Settings\Local Policies\Security + * add bat file in the autoload folder + * add ability to use user-data for the instance + * additional installations: + * install google chrome (no required) + * install notepad++ (no required) + * install python > 3.7 + * create virtualenv in the c:\venv\3dsmax\ +* Install necessary environment and enter license: + * 3DS MAX + * Corona renderer +* Configure video driver for 3DS MAX +* Shutdown +* Save the Image + + + +%prep +%autosetup -n client-render-0.71 + +%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-client-render -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.71-1 +- Package Spec generated |
