summaryrefslogtreecommitdiff
path: root/python-kbastroutils.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 12:01:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 12:01:43 +0000
commit22e3f6c3371216a931ff6b7a16dff22f3dadf983 (patch)
tree931d007d9dff893887cab2127188583107e1355b /python-kbastroutils.spec
parent4ba32412b6fcc7f1bb34d42754856a1784ee7ede (diff)
automatic import of python-kbastroutils
Diffstat (limited to 'python-kbastroutils.spec')
-rw-r--r--python-kbastroutils.spec120
1 files changed, 120 insertions, 0 deletions
diff --git a/python-kbastroutils.spec b/python-kbastroutils.spec
new file mode 100644
index 0000000..e91317f
--- /dev/null
+++ b/python-kbastroutils.spec
@@ -0,0 +1,120 @@
+%global _empty_manifest_terminate_build 0
+Name: python-kbastroutils
+Version: 2.6.2
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: MIT License
+URL: https://github.com/bkornpob/kbastroutils
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3b/2a/8dcb7c736b43aa916444d3b88ecc84c867734f7d71c7181adb67a0713fa2/kbastroutils-2.6.2.tar.gz
+BuildArch: noarch
+
+
+%description
+v.1.3.1
+ - Fix import
+v.1.3.0
+ - Implement: grismconf.py, gnd.py, grismsens.py
+v.1.2.0
+ - Implement: sub2full.py
+ - Change: source.py to segmentation.py
+ - Fix description: segmentation.py
+v.1.1.0
+ - Implement: container.py, source.py
+ - Fix description: dqmask.py
+v.1.0.2
+ - Fix description of dqmask.py
+v.1.0.1
+ - Fix import modules in dqmask.py
+v.1.0.0
+ - Implement dqmask.py
+
+%package -n python3-kbastroutils
+Summary: please add a summary manually as the author left a blank one
+Provides: python-kbastroutils
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-kbastroutils
+v.1.3.1
+ - Fix import
+v.1.3.0
+ - Implement: grismconf.py, gnd.py, grismsens.py
+v.1.2.0
+ - Implement: sub2full.py
+ - Change: source.py to segmentation.py
+ - Fix description: segmentation.py
+v.1.1.0
+ - Implement: container.py, source.py
+ - Fix description: dqmask.py
+v.1.0.2
+ - Fix description of dqmask.py
+v.1.0.1
+ - Fix import modules in dqmask.py
+v.1.0.0
+ - Implement dqmask.py
+
+%package help
+Summary: Development documents and examples for kbastroutils
+Provides: python3-kbastroutils-doc
+%description help
+v.1.3.1
+ - Fix import
+v.1.3.0
+ - Implement: grismconf.py, gnd.py, grismsens.py
+v.1.2.0
+ - Implement: sub2full.py
+ - Change: source.py to segmentation.py
+ - Fix description: segmentation.py
+v.1.1.0
+ - Implement: container.py, source.py
+ - Fix description: dqmask.py
+v.1.0.2
+ - Fix description of dqmask.py
+v.1.0.1
+ - Fix import modules in dqmask.py
+v.1.0.0
+ - Implement dqmask.py
+
+%prep
+%autosetup -n kbastroutils-2.6.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-kbastroutils -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.2-1
+- Package Spec generated