summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 03:47:15 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 03:47:15 +0000
commit1940830f08128ef03ce5510cf7fe793d367aaa7b (patch)
treef8810a51680e3178591707762485e67e8204175e
parenta802c6c43002f7442b55c15814c215ce1bb1cbca (diff)
automatic import of python-tango-voting
-rw-r--r--.gitignore1
-rw-r--r--python-tango-voting.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5b69172 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tango-voting-0.4.1.tar.gz
diff --git a/python-tango-voting.spec b/python-tango-voting.spec
new file mode 100644
index 0000000..44896e4
--- /dev/null
+++ b/python-tango-voting.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tango-voting
+Version: 0.4.1
+Release: 1
+Summary: Generic voting application for Django, based on django-voting by Jonathan Buchanan
+License: LICENSE
+URL: https://github.com/tBaxter/django-voting
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/92/eb/04aaf0a8944e7221430125a365fe5b75f73dfa5f7dfa9019da7b9f7e4ad7/tango-voting-0.4.1.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-tango-voting
+Summary: Generic voting application for Django, based on django-voting by Jonathan Buchanan
+Provides: python-tango-voting
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tango-voting
+
+
+%package help
+Summary: Development documents and examples for tango-voting
+Provides: python3-tango-voting-doc
+%description help
+
+
+%prep
+%autosetup -n tango-voting-0.4.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-tango-voting -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6d788e7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+47ef6d1e3e519f8cc6c335cac8eb0cf5 tango-voting-0.4.1.tar.gz