summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 06:45:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 06:45:25 +0000
commit43649be0faa278412967cf4fb6289c103c5f96ef (patch)
treee2e4572e316743df859a08b2e0112d97ff92b473
parent171a7fdbc986975ff130fffacded376a1c81e8cf (diff)
automatic import of python-thunder-registrationopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-thunder-registration.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..da8af43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/thunder-registration-1.0.1.tar.gz
diff --git a/python-thunder-registration.spec b/python-thunder-registration.spec
new file mode 100644
index 0000000..6108ae6
--- /dev/null
+++ b/python-thunder-registration.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-thunder-registration
+Version: 1.0.1
+Release: 1
+Summary: algorithms for image registration
+License: MIT
+URL: https://github.com/thunder-project/thunder-registration
+Source0: https://mirrors.aliyun.com/pypi/web/packages/d1/f3/0fcb78e36f6c303135cd56d28ffd8be98bbc34075dee9a4c09a86aa48404/thunder-registration-1.0.1.tar.gz
+BuildArch: noarch
+
+
+%description
+See https://github.com/thunder-project/thunder-registration
+
+%package -n python3-thunder-registration
+Summary: algorithms for image registration
+Provides: python-thunder-registration
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-thunder-registration
+See https://github.com/thunder-project/thunder-registration
+
+%package help
+Summary: Development documents and examples for thunder-registration
+Provides: python3-thunder-registration-doc
+%description help
+See https://github.com/thunder-project/thunder-registration
+
+%prep
+%autosetup -n thunder-registration-1.0.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-thunder-registration -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c392f08
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5475d8a80ac1095ed7979d6cc469d938 thunder-registration-1.0.1.tar.gz