diff --git a/ZEO-5.2.3.tar.gz b/ZEO-5.2.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d67458561edb403f62c58c0ad1af5f12ebe0e681 Binary files /dev/null and b/ZEO-5.2.3.tar.gz differ diff --git a/python-ZEO.spec b/python-ZEO.spec new file mode 100644 index 0000000000000000000000000000000000000000..6ce8d377747218e9859bede1aa2b12f45bbd19f5 --- /dev/null +++ b/python-ZEO.spec @@ -0,0 +1,88 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ZEO +Version: 5.2.3 +Release: 1 +Summary: ZEO - Single-server client-server database server for ZODB +License: ZPL 2.1 +URL: https://github.com/zopefoundation/ZEO +Source0: https://files.pythonhosted.org/packages/21/78/66f169e0041b01084092615d6f2d4cb6c97f93a38b93ecca90f81bc10301/ZEO-5.2.3.tar.gz +BuildArch: noarch + +Requires: python3-six +Requires: python3-transaction +Requires: python3-persistent +Requires: python3-ZConfig +Requires: python3-zdaemon +Requires: python3-futures +Requires: python3-trollius +Requires: python3-Sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-msgpack-python +Requires: python3-ZODB +Requires: python3-manuel +Requires: python3-random2 +Requires: python3-mock +Requires: python3-msgpack +Requires: python3-uvloop + +%description +ZEO is a client-server storage for ZODB for sharing a single storage among many clients. + +%package -n python3-ZEO +Summary: ZEO - Single-server client-server database server for ZODB +Provides: python-ZEO +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-ZEO +ZEO is a client-server storage for ZODB for sharing a single storage among many clients. + +%package help +Summary: Development documents and examples for ZEO +Provides: python3-ZEO-doc +%description help +ZEO is a client-server storage for ZODB for sharing a single storage among many clients. + +%prep +%autosetup -n ZEO-5.2.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-ZEO -f filelist.lst +%dir %{python3_sitelib}/* +%dir %{python3_sitelib}/ZEO/__pycache__/ + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Oct 12 2021 Python_Bot - 5.2.3-1 +- Package Init