diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-23 09:36:40 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-23 09:36:40 +0000 |
commit | df1e3fb4eaa46435ca4a03d5fa2157cf5adf59c5 (patch) | |
tree | 2323c16aa0fbe3802eab3ba228db6f0b24a4c262 | |
parent | 4808475eb4615e1402c55504419825d4f5b9cfc7 (diff) |
automatic import of python3-apptoolsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-apptools.spec | 82 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 84 insertions, 0 deletions
@@ -0,0 +1 @@ +/apptools-5.2.0.tar.gz diff --git a/python-apptools.spec b/python-apptools.spec new file mode 100644 index 0000000..c4f611e --- /dev/null +++ b/python-apptools.spec @@ -0,0 +1,82 @@ +%global _empty_manifest_terminate_build 0 +Name: python-apptools +Version: 5.2.0 +Release: 1 +Summary: application tools +License: BSD +URL: https://docs.enthought.com/apptools +Source0: https://files.pythonhosted.org/packages/b1/69/d83eaccb74d82755bb96be3996a8386329424ce067aa1e0ab2179108a2f9/apptools-5.2.0.tar.gz +BuildArch: noarch + +Requires: python3-configobj +Requires: python3-traits +Requires: python3-traitsui +Requires: python3-enthought-sphinx-theme +Requires: python3-sphinx +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-tables +Requires: python3-numpy +Requires: python3-configobj +Requires: python3-importlib-resources + +%description + + +%package -n python3-apptools +Summary: application tools +Provides: python-apptools +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-apptools + + +%package help +Summary: Development documents and examples for apptools +Provides: python3-apptools-doc +%description help + + +%prep +%autosetup -n apptools-5.2.0 + +%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-apptools -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Feb 23 2023 Python_Bot <Python_Bot@openeuler.org> - 5.2.0-1 +- Package Spec generated @@ -0,0 +1 @@ +aafb62c9a6d24e1a8c76962dce03a4f2 apptools-5.2.0.tar.gz |