summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 06:19:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 06:19:56 +0000
commit680c29f0ad11c3f80138da06c5a68c03cfb55337 (patch)
tree0426a717fe53209c4c79c8d1e0c0028e08a59773
parentf391aad14b8770eec4674980111da8c1d520bcc7 (diff)
automatic import of python-barbell2light
-rw-r--r--.gitignore1
-rw-r--r--python-barbell2light.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a8438e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/barbell2light-1.14.0.tar.gz
diff --git a/python-barbell2light.spec b/python-barbell2light.spec
new file mode 100644
index 0000000..3020e1e
--- /dev/null
+++ b/python-barbell2light.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-barbell2light
+Version: 1.14.0
+Release: 1
+Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
+License: MIT license
+URL: https://github.com/rbrecheisen/barbell2light
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ba/4b/af3a941010c5881ee1c7b16f25cfc4d6ccf03fec0da1bc429a2ad44405c9/barbell2light-1.14.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-oauthlib
+Requires: python3-requests-oauthlib
+Requires: python3-pydicom
+Requires: python3-cmd2
+Requires: python3-pandas
+Requires: python3-numpy
+Requires: python3-matplotlib
+Requires: python3-gdcm
+Requires: python3-pylibjpeg
+
+%description
+
+
+%package -n python3-barbell2light
+Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
+Provides: python-barbell2light
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-barbell2light
+
+
+%package help
+Summary: Development documents and examples for barbell2light
+Provides: python3-barbell2light-doc
+%description help
+
+
+%prep
+%autosetup -n barbell2light-1.14.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-barbell2light -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.14.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fe9c843
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d56eb8ee27e0e4a8ebc8ab6a5ed611ca barbell2light-1.14.0.tar.gz