From 52e6a2a3bd4ce34c0e8a56d4e84a394290542af8 Mon Sep 17 00:00:00 2001 From: HKGY Date: Tue, 25 Oct 2022 22:18:28 +0800 Subject: [PATCH] init update update update update --- python-zipstream.spec | 72 +++++++++++++++++++++++++++++++++++++++++ zipstream-1.1.4.tar.gz | Bin 0 -> 5785 bytes 2 files changed, 72 insertions(+) create mode 100644 python-zipstream.spec create mode 100644 zipstream-1.1.4.tar.gz diff --git a/python-zipstream.spec b/python-zipstream.spec new file mode 100644 index 0000000..e19bbdd --- /dev/null +++ b/python-zipstream.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-zipstream +Version: 1.1.4 +Release: 1 +Summary: Zipfile generator +License: GPLv3+ +URL: https://github.com/allanlei/python-zipstream +Source0: https://files.pythonhosted.org/packages/1a/a4/58f0709cef999db1539960aa2ae77100dc800ebb8abb7afc97a1398dfb2f/zipstream-1.1.4.tar.gz +BuildArch: noarch + + +%description +zipstream.py is zip archive generator based on python 3.3's zipfile.py. +It was created to generate a zip file generator for streaming (ie web apps). + +%package -n python3-zipstream +Summary: Zipfile generator +Provides: python-zipstream +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-zipstream +python3 package for zipstream + +%package help +Summary: Development documents and examples for zipstream +Provides: python3-zipstream-doc +%description help +help package for zipstream + +%prep +%autosetup -n zipstream-1.1.4 + +%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-zipstream -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Oct 26 2022 hkgy - 1.1.4-1 +- Package Init \ No newline at end of file diff --git a/zipstream-1.1.4.tar.gz b/zipstream-1.1.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..531bc4318f460faa1a13409b7889b854c9e0bbb6 GIT binary patch literal 5785 zcmcJTWm^*fqlQ5mMz^FQ(jg^C45VASq`O198&Py1AR&!(H;(QGM|TVm7%_Up*xvV? z-*C>i`|ERmxv%SC`HGKU^^@1=8QRYIldnLqv)3nIAA4(ezBl}D_(k}At$i>~rCkHo z#2W7>Eu+}-EfN!}RT_EQHeKKjOb3f)-*bnxLOeTVxHaX(-cnVtSBOuap%9WWcm$E8 zV?pg3dgrgiR54=utONxjcR_tZQxq`1R=h4b&+BW5QTv0}>FFsH-nZ#t`NUVJ9J8}& z0@hrJjARu$POZS0gA>Stp_;x-7Kb0M2&8tUo0uxqV%$Bes=9| zWaObQ0`(=)yAbhwG>T-NAqf$`tNh#Z09|EiX7_j@cCl+hW)4p^5Zgl0Y>8jJvLG7< zm@p=A5ztJCkKO&^&%%Safv=GPo1&UbBi412BvCw7)$-`*n?R!fJo<_J;$ixj@ zEd805g4%D;uo3i%%)21(hvef35k|Vp2!Ky-EjppyVs`RZP*&TMuw~(+-QQzLj{46C z)oF(By7(H8; z#Dk=K2Z{v>E?8QcW6d7P(E4YtU1umK&PLhKEX)6)9p0319fnWF0vR$0&H%rSOL-fvn_zL7W$W(FXLD;`Jh+M);t;xF7 zk70au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