summaryrefslogtreecommitdiff
path: root/python-py-buzz.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 06:30:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 06:30:53 +0000
commit4c354761bd7a1bf63768b640cbcd4c4bda135cf6 (patch)
treec5169b55b1bd9a17e595b8134cd1d0bd5c7d180c /python-py-buzz.spec
parent7935546360e669d368fe134af9e8c20af6fb762b (diff)
automatic import of python-py-buzzopeneuler20.03
Diffstat (limited to 'python-py-buzz.spec')
-rw-r--r--python-py-buzz.spec73
1 files changed, 73 insertions, 0 deletions
diff --git a/python-py-buzz.spec b/python-py-buzz.spec
new file mode 100644
index 0000000..3180cf6
--- /dev/null
+++ b/python-py-buzz.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-py-buzz
+Version: 3.2.1
+Release: 1
+Summary: "That's not flying, it's falling with style": Exceptions with extras
+License: MIT
+URL: https://pypi.org/project/py-buzz/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/a9/4ce73c8a1299513846d73f39ef0d5e09d65caed960f3e69463bb429168ed/py-buzz-3.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-dataclasses
+
+%description
+
+
+%package -n python3-py-buzz
+Summary: "That's not flying, it's falling with style": Exceptions with extras
+Provides: python-py-buzz
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-py-buzz
+
+
+%package help
+Summary: Development documents and examples for py-buzz
+Provides: python3-py-buzz-doc
+%description help
+
+
+%prep
+%autosetup -n py-buzz-3.2.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-py-buzz -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.1-1
+- Package Spec generated