summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 21:51:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 21:51:41 +0000
commit834bb0dd6baa22b267fcdedfe52e4e20f7b1d3f3 (patch)
tree34d1cfc2fc773103565f0f79eb9bcc43bf7257a4
parentac2b56dc18bf3ca54e9df1735015614c4e339bf1 (diff)
automatic import of python-fanstatic
-rw-r--r--.gitignore1
-rw-r--r--python-fanstatic.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b10453f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fanstatic-1.3.tar.gz
diff --git a/python-fanstatic.spec b/python-fanstatic.spec
new file mode 100644
index 0000000..226d090
--- /dev/null
+++ b/python-fanstatic.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fanstatic
+Version: 1.3
+Release: 1
+Summary: Flexible static resources for web applications
+License: BSD
+URL: http://fanstatic.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/46/3eba2dec0ab90fd11817122be2a203a9661b9c06ee4df31a511d4ed0d3df/fanstatic-1.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-WebOb
+Requires: python3-setuptools
+Requires: python3-shutilwhich
+Requires: python3-closure
+Requires: python3-cssmin
+Requires: python3-Sphinx
+Requires: python3-jsmin
+Requires: python3-closure
+Requires: python3-cssmin
+Requires: python3-jsmin
+Requires: python3-pytest
+
+%description
+
+
+%package -n python3-fanstatic
+Summary: Flexible static resources for web applications
+Provides: python-fanstatic
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fanstatic
+
+
+%package help
+Summary: Development documents and examples for fanstatic
+Provides: python3-fanstatic-doc
+%description help
+
+
+%prep
+%autosetup -n fanstatic-1.3
+
+%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-fanstatic -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..efa47d1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7553f429952acc41ddd93e1451fef157 fanstatic-1.3.tar.gz