summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 10:07:57 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 10:07:57 +0000
commitc4546f0bd43365bb24c62190c05c473062b3b9ef (patch)
tree7b5ff4c712fec40a64ed10befe09e1f113930cd5
parent9a9240e05eaef73abef31bb147cdada518ccaf43 (diff)
automatic import of python-bangtextopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-bangtext.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..98870fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bangtext-0.2.12.tar.gz
diff --git a/python-bangtext.spec b/python-bangtext.spec
new file mode 100644
index 0000000..39df9dd
--- /dev/null
+++ b/python-bangtext.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-bangtext
+Version: 0.2.12
+Release: 1
+Summary: A static site generator
+License: MIT
+URL: http://github.com/jaymon/bang
+Source0: https://mirrors.aliyun.com/pypi/web/packages/09/39/9c10d11563883389d3337acd118277e7d502fa16f7a43668e55941f37ffd/bangtext-0.2.12.tar.gz
+BuildArch: noarch
+
+
+%description
+A static site generator, powers `marcyes.com <http://marcyes.com>`__
+You run bang from the command line:
+
+%package -n python3-bangtext
+Summary: A static site generator
+Provides: python-bangtext
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-bangtext
+A static site generator, powers `marcyes.com <http://marcyes.com>`__
+You run bang from the command line:
+
+%package help
+Summary: Development documents and examples for bangtext
+Provides: python3-bangtext-doc
+%description help
+A static site generator, powers `marcyes.com <http://marcyes.com>`__
+You run bang from the command line:
+
+%prep
+%autosetup -n bangtext-0.2.12
+
+%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-bangtext -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.12-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5cda4c6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9a27f2f148e55d83d9adc9319e98bda6 bangtext-0.2.12.tar.gz