summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:30:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:30:58 +0000
commit9e84f01381dee29d97898cca4d9318c9dca0f4e0 (patch)
tree68d789c2c82fd28bcce0d7afa69acb18e48cf921
parent7fd80506b329f5061a9842c38f84a6510f264f74 (diff)
automatic import of python-Fancy-termopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-fancy-term.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b81e80b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Fancy_term-0.10.tar.gz
diff --git a/python-fancy-term.spec b/python-fancy-term.spec
new file mode 100644
index 0000000..5a70fda
--- /dev/null
+++ b/python-fancy-term.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Fancy-term
+Version: 0.10
+Release: 1
+Summary: Make your python app look cooler
+License: apache-2.0
+URL: https://github.com/Plawn/Fancy_term
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3f/d3/409064e1d57476476ff63672fea1abde8136d5d862598f0fa053f98cc685/Fancy_term-0.10.tar.gz
+BuildArch: noarch
+
+
+%description
+Look at the github
+
+
+
+
+%package -n python3-Fancy-term
+Summary: Make your python app look cooler
+Provides: python-Fancy-term
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Fancy-term
+Look at the github
+
+
+
+
+%package help
+Summary: Development documents and examples for Fancy-term
+Provides: python3-Fancy-term-doc
+%description help
+Look at the github
+
+
+
+
+%prep
+%autosetup -n Fancy_term-0.10
+
+%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-Fancy-term -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d6c7692
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8fa2e39c2e0276494f71a59b22fc4721 Fancy_term-0.10.tar.gz