diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-orange-canvas-core.spec | 93 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 95 insertions, 0 deletions
@@ -0,0 +1 @@ +/orange-canvas-core-0.1.30.tar.gz diff --git a/python-orange-canvas-core.spec b/python-orange-canvas-core.spec new file mode 100644 index 0000000..21be40b --- /dev/null +++ b/python-orange-canvas-core.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-orange-canvas-core +Version: 0.1.30 +Release: 1 +Summary: Core component of Orange Canvas +License: GPLv3 +URL: http://orange.biolab.si/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/24/cf/c54e420825742cf4ba3de9a7f3f2d5db1e7f2c3e92c18cf1fdb933deda69/orange-canvas-core-0.1.30.tar.gz +BuildArch: noarch + +Requires: python3-setuptools +Requires: python3-AnyQt +Requires: python3-docutils +Requires: python3-commonmark +Requires: python3-requests +Requires: python3-cachecontrol[filecache] +Requires: python3-pip +Requires: python3-dictdiffer +Requires: python3-qasync +Requires: python3-importlib-metadata +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme + +%description +Orange Canvas Core is a framework for building graphical user +interfaces for editing workflows. It is a component used to build +the Orange Canvas (http://orange.biolab.si) data-mining application +(for which it was developed in the first place). + +%package -n python3-orange-canvas-core +Summary: Core component of Orange Canvas +Provides: python-orange-canvas-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-orange-canvas-core +Orange Canvas Core is a framework for building graphical user +interfaces for editing workflows. It is a component used to build +the Orange Canvas (http://orange.biolab.si) data-mining application +(for which it was developed in the first place). + +%package help +Summary: Development documents and examples for orange-canvas-core +Provides: python3-orange-canvas-core-doc +%description help +Orange Canvas Core is a framework for building graphical user +interfaces for editing workflows. It is a component used to build +the Orange Canvas (http://orange.biolab.si) data-mining application +(for which it was developed in the first place). + +%prep +%autosetup -n orange-canvas-core-0.1.30 + +%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-orange-canvas-core -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.30-1 +- Package Spec generated @@ -0,0 +1 @@ +cc1518e3b32c2b8c05be13a81d1ed4d6 orange-canvas-core-0.1.30.tar.gz |
