diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:15:27 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:15:27 +0000 |
| commit | 1492448128aa90143b1bd5afef3e684c22b65b45 (patch) | |
| tree | 47dad67ecd06cd163376a5c0a2d2ec2d69be91a9 | |
| parent | 4e05c4ec7c6a2dc6c3094ed25307dcc05e67d273 (diff) | |
automatic import of python-opencolorio
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-opencolorio.spec | 92 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/opencolorio-2.2.1.tar.gz diff --git a/python-opencolorio.spec b/python-opencolorio.spec new file mode 100644 index 0000000..ce93129 --- /dev/null +++ b/python-opencolorio.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-opencolorio +Version: 2.2.1 +Release: 1 +Summary: OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation. +License: Copyright Contributors to the OpenColorIO Project. +URL: https://opencolorio.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8b/f0/077a8573e68bffce9f8e88b1a9fdb00370441e0ea7804892729490fd6898/opencolorio-2.2.1.tar.gz + + +%description +[](https://opensource.org/licenses/BSD-3-Clause) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3ACI) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AGPU) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AAnalysis) +[](https://sonarcloud.io/dashboard?id=AcademySoftwareFoundation_OpenColorIO) +[](https://bestpractices.coreinfrastructure.org/projects/2612) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AWheel) + +%package -n python3-opencolorio +Summary: OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation. +Provides: python-opencolorio +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-opencolorio +[](https://opensource.org/licenses/BSD-3-Clause) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3ACI) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AGPU) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AAnalysis) +[](https://sonarcloud.io/dashboard?id=AcademySoftwareFoundation_OpenColorIO) +[](https://bestpractices.coreinfrastructure.org/projects/2612) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AWheel) + +%package help +Summary: Development documents and examples for opencolorio +Provides: python3-opencolorio-doc +%description help +[](https://opensource.org/licenses/BSD-3-Clause) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3ACI) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AGPU) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AAnalysis) +[](https://sonarcloud.io/dashboard?id=AcademySoftwareFoundation_OpenColorIO) +[](https://bestpractices.coreinfrastructure.org/projects/2612) +[](https://github.com/AcademySoftwareFoundation/OpenColorIO/actions?query=workflow%3AWheel) + +%prep +%autosetup -n opencolorio-2.2.1 + +%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-opencolorio -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +6dda4e556f3bf55c40c44399aa4203c5 opencolorio-2.2.1.tar.gz |
