diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 09:11:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 09:11:57 +0000 |
commit | fdd45bf2e59d7c1e81ea62523dc81edca14f77c6 (patch) | |
tree | 91f2d4246c5ae60d3c189bd975030da778d7ec0e /python-pyexcel-handsontable.spec | |
parent | c45325418099f0ec8d1e45c86d5a6ae27a83643d (diff) |
automatic import of python-pyexcel-handsontable
Diffstat (limited to 'python-pyexcel-handsontable.spec')
-rw-r--r-- | python-pyexcel-handsontable.spec | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/python-pyexcel-handsontable.spec b/python-pyexcel-handsontable.spec new file mode 100644 index 0000000..1489ce9 --- /dev/null +++ b/python-pyexcel-handsontable.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyexcel-handsontable +Version: 0.0.2 +Release: 1 +Summary: A pyexcel plugin to render data as handsontable in html pages +License: New BSD +URL: https://github.com/pyexcel-renderers/pyexcel-handsontable +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/19/e8/74f6cf96381dc2c528b8acaa662c4e92349d1ea8bbeb35916b8a980bffe0/pyexcel-handsontable-0.0.2.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-pyexcel-handsontable +Summary: A pyexcel plugin to render data as handsontable in html pages +Provides: python-pyexcel-handsontable +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyexcel-handsontable + + +%package help +Summary: Development documents and examples for pyexcel-handsontable +Provides: python3-pyexcel-handsontable-doc +%description help + + +%prep +%autosetup -n pyexcel-handsontable-0.0.2 + +%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-pyexcel-handsontable -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.2-1 +- Package Spec generated |