summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 04:33:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 04:33:13 +0000
commit5f4ac5a058f548ccbafdd2d3d523fb7eb16a40ee (patch)
tree94dffe7232c42f95f12d25877a51c54daa3f083e
parentb543e9ad36c578c972464ab890eaf78fdfa2cead (diff)
automatic import of python-gc-python-utils
-rw-r--r--.gitignore1
-rw-r--r--python-gc-python-utils.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7e5a2cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gc-python-utils-0.0.1.tar.gz
diff --git a/python-gc-python-utils.spec b/python-gc-python-utils.spec
new file mode 100644
index 0000000..56da504
--- /dev/null
+++ b/python-gc-python-utils.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gc-python-utils
+Version: 0.0.1
+Release: 1
+Summary: GameChanger general python utilities
+License: UNKNOWN
+URL: https://github.com/gamechanger/python-utils
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/70/93acdb9713dcecd3b052bb3599421e85bf9711d8062072d2cf87b9413fa7/gc-python-utils-0.0.1.tar.gz
+BuildArch: noarch
+
+
+%description
+UNKNOWN
+
+%package -n python3-gc-python-utils
+Summary: GameChanger general python utilities
+Provides: python-gc-python-utils
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-gc-python-utils
+UNKNOWN
+
+%package help
+Summary: Development documents and examples for gc-python-utils
+Provides: python3-gc-python-utils-doc
+%description help
+UNKNOWN
+
+%prep
+%autosetup -n gc-python-utils-0.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-gc-python-utils -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..14c7b01
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d23b1b7f43134b3b7639343cfebd8af6 gc-python-utils-0.0.1.tar.gz