summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 10:50:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 10:50:23 +0000
commit5fa6b3693dcfa9ebfd0ff634d743e6df034e89ad (patch)
treeebb301e0bfc3e5b5b3973c8a5d0ea932a8906a3c
parent2fa42a12d95e0ed33bce40f2649441205af499c4 (diff)
automatic import of python-beam-upopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-beam-up.spec94
-rw-r--r--sources1
3 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..92e86aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/beam-up-1.0.40.tar.gz
diff --git a/python-beam-up.spec b/python-beam-up.spec
new file mode 100644
index 0000000..6e3670b
--- /dev/null
+++ b/python-beam-up.spec
@@ -0,0 +1,94 @@
+%global _empty_manifest_terminate_build 0
+Name: python-beam-up
+Version: 1.0.40
+Release: 1
+Summary: A simple yet powerful static site generator aimed at product pages (not blogs).
+License: MIT
+URL: https://github.com/adewes/beam
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/79/7f/0d076188b504b9411932968ddb1636dd63f9788ea44327d8989912b10424/beam-up-1.0.40.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-click
+Requires: python3-pyyaml
+Requires: python3-markdown2
+Requires: python3-jinja2
+Requires: python3-pygments
+Requires: python3-Pillow
+
+%description
+A simple yet powerful static site generator for Python.
+
+Templates (HTML, Markdown, ...) go in, pages come out.
+
+
+
+
+%package -n python3-beam-up
+Summary: A simple yet powerful static site generator aimed at product pages (not blogs).
+Provides: python-beam-up
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-beam-up
+A simple yet powerful static site generator for Python.
+
+Templates (HTML, Markdown, ...) go in, pages come out.
+
+
+
+
+%package help
+Summary: Development documents and examples for beam-up
+Provides: python3-beam-up-doc
+%description help
+A simple yet powerful static site generator for Python.
+
+Templates (HTML, Markdown, ...) go in, pages come out.
+
+
+
+
+%prep
+%autosetup -n beam-up-1.0.40
+
+%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-beam-up -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.40-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3a922d8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+610fa8fdfd31d381f27e89855765f4d3 beam-up-1.0.40.tar.gz