summaryrefslogtreecommitdiff
path: root/python-ztfy-skin.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 06:17:15 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 06:17:15 +0000
commit75302db811387bc759bf6052d815552e3eee5b6f (patch)
tree9f1a3b643e64f4f7b0e0b892c5addc76de229287 /python-ztfy-skin.spec
parent6d8b28bc7e64571966f4f0b4bf8016b455f2fe77 (diff)
automatic import of python-ztfy-skin
Diffstat (limited to 'python-ztfy-skin.spec')
-rw-r--r--python-ztfy-skin.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-ztfy-skin.spec b/python-ztfy-skin.spec
new file mode 100644
index 0000000..2c68f64
--- /dev/null
+++ b/python-ztfy-skin.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ztfy.skin
+Version: 0.6.23
+Release: 1
+Summary: ZTFY skin utility package, including views, forms and viewlets base classes
+License: ZPL
+URL: http://www.ztfy.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/13/90/0382809758de20fc766ced4a393bb5df157080518b2e483cb012965bc168/ztfy.skin-0.6.23.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-ztfy.skin
+Summary: ZTFY skin utility package, including views, forms and viewlets base classes
+Provides: python-ztfy.skin
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ztfy.skin
+
+
+%package help
+Summary: Development documents and examples for ztfy.skin
+Provides: python3-ztfy.skin-doc
+%description help
+
+
+%prep
+%autosetup -n ztfy.skin-0.6.23
+
+%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-ztfy.skin -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.23-1
+- Package Spec generated