summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 04:54:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 04:54:38 +0000
commit2c1e8918031eead338095c82c294db384e49078e (patch)
treeb0cb60f0959c339999ba88cffaf103a502126e52
parent20fc0052dfc8cc98961b0b64bcb51e6c74dd6d22 (diff)
automatic import of python-kipkoech-polls
-rw-r--r--.gitignore1
-rw-r--r--python-kipkoech-polls.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..80cfeb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Kipkoech-polls-0.2.5.tar.gz
diff --git a/python-kipkoech-polls.spec b/python-kipkoech-polls.spec
new file mode 100644
index 0000000..7002d4d
--- /dev/null
+++ b/python-kipkoech-polls.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Kipkoech-polls
+Version: 0.2.5
+Release: 1
+Summary: Simple Django Polls app
+License: MIT
+URL: https://github.com/DenisBiwott/PollsApp
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/47/59/978f72636dd8462a83079518541e8fa2e06bf8ffa2d64bf0d73c179b589b/Kipkoech-polls-0.2.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+
+%description
+This is a simple Django polls app. It takes users inputs based on given choices and stores them in a Postgresql database. The results of the polls are then shown to the user.
+[![CircleCI](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master.svg?style=svg)](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master)
+
+%package -n python3-Kipkoech-polls
+Summary: Simple Django Polls app
+Provides: python-Kipkoech-polls
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Kipkoech-polls
+This is a simple Django polls app. It takes users inputs based on given choices and stores them in a Postgresql database. The results of the polls are then shown to the user.
+[![CircleCI](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master.svg?style=svg)](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master)
+
+%package help
+Summary: Development documents and examples for Kipkoech-polls
+Provides: python3-Kipkoech-polls-doc
+%description help
+This is a simple Django polls app. It takes users inputs based on given choices and stores them in a Postgresql database. The results of the polls are then shown to the user.
+[![CircleCI](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master.svg?style=svg)](https://circleci.com/gh/DenisBiwott/PollsApp/tree/master)
+
+%prep
+%autosetup -n Kipkoech-polls-0.2.5
+
+%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-Kipkoech-polls -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..8c64fa1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7bd70adc92819f4b44c38efbbdce93c3 Kipkoech-polls-0.2.5.tar.gz