diff options
Diffstat (limited to 'python-magic-wormhole.spec')
-rw-r--r-- | python-magic-wormhole.spec | 217 |
1 files changed, 217 insertions, 0 deletions
diff --git a/python-magic-wormhole.spec b/python-magic-wormhole.spec new file mode 100644 index 0000000..45771fb --- /dev/null +++ b/python-magic-wormhole.spec @@ -0,0 +1,217 @@ +%global _empty_manifest_terminate_build 0 +Name: python-magic-wormhole +Version: 0.12.0 +Release: 1 +Summary: Securely transfer data between computers +License: MIT +URL: https://github.com/warner/magic-wormhole +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/62/5e4a86f7c4b111e016577f1b304063ebe604f430db15465ac58b13993608/magic-wormhole-0.12.0.tar.gz +BuildArch: noarch + +Requires: python3-spake2 +Requires: python3-pynacl +Requires: python3-six +Requires: python3-attrs +Requires: python3-twisted[tls] +Requires: python3-autobahn[twisted] +Requires: python3-automat +Requires: python3-hkdf +Requires: python3-tqdm +Requires: python3-click +Requires: python3-humanize +Requires: python3-txtorcon +Requires: python3-pywin32 +Requires: python3-mock +Requires: python3-tox +Requires: python3-pyflakes +Requires: python3-magic-wormhole-transit-relay +Requires: python3-magic-wormhole-mailbox-server +Requires: python3-noiseprotocol + +%description +# Magic Wormhole +[](https://pypi.python.org/pypi/magic-wormhole) +[](https://travis-ci.org/warner/magic-wormhole) +[](https://ci.appveyor.com/project/warner/magic-wormhole) +[](https://codecov.io/github/warner/magic-wormhole?branch=master) +[](https://magic-wormhole.readthedocs.io) + +Get things from one computer to another, safely. + +This package provides a library and a command-line tool named `wormhole`, +which makes it possible to get arbitrary-sized files and directories +(or short pieces of text) from one computer to another. The two endpoints are +identified by using identical "wormhole codes": in general, the sending +machine generates and displays the code, which must then be typed into the +receiving machine. + +The codes are short and human-pronounceable, using a phonetically-distinct +wordlist. The receiving side offers tab-completion on the codewords, so +usually only a few characters must be typed. Wormhole codes are single-use +and do not need to be memorized. + +* PyCon 2016 presentation: [Slides](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf), [Video](https://youtu.be/oFrTqQw0_3c) + +For complete documentation, please see https://magic-wormhole.readthedocs.io +or the docs/ subdirectory. + +## License, Compatibility + +Magic-Wormhole is released under the MIT license, see the `LICENSE` file for details. + +This library is compatible with Python 3.5 and higher (tested against 3.5, +3.6, 3.7, and 3.8). It also still works with Python 2.7. + +## Packaging, Installation + +Magic Wormhole packages are included in many operating systems. + +[](https://repology.org/project/magic-wormhole/versions) + +To install it without an OS package, follow the [Installation docs](https://magic-wormhole.readthedocs.io/en/latest/welcome.html#installation). + + + + +%package -n python3-magic-wormhole +Summary: Securely transfer data between computers +Provides: python-magic-wormhole +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-magic-wormhole +# Magic Wormhole +[](https://pypi.python.org/pypi/magic-wormhole) +[](https://travis-ci.org/warner/magic-wormhole) +[](https://ci.appveyor.com/project/warner/magic-wormhole) +[](https://codecov.io/github/warner/magic-wormhole?branch=master) +[](https://magic-wormhole.readthedocs.io) + +Get things from one computer to another, safely. + +This package provides a library and a command-line tool named `wormhole`, +which makes it possible to get arbitrary-sized files and directories +(or short pieces of text) from one computer to another. The two endpoints are +identified by using identical "wormhole codes": in general, the sending +machine generates and displays the code, which must then be typed into the +receiving machine. + +The codes are short and human-pronounceable, using a phonetically-distinct +wordlist. The receiving side offers tab-completion on the codewords, so +usually only a few characters must be typed. Wormhole codes are single-use +and do not need to be memorized. + +* PyCon 2016 presentation: [Slides](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf), [Video](https://youtu.be/oFrTqQw0_3c) + +For complete documentation, please see https://magic-wormhole.readthedocs.io +or the docs/ subdirectory. + +## License, Compatibility + +Magic-Wormhole is released under the MIT license, see the `LICENSE` file for details. + +This library is compatible with Python 3.5 and higher (tested against 3.5, +3.6, 3.7, and 3.8). It also still works with Python 2.7. + +## Packaging, Installation + +Magic Wormhole packages are included in many operating systems. + +[](https://repology.org/project/magic-wormhole/versions) + +To install it without an OS package, follow the [Installation docs](https://magic-wormhole.readthedocs.io/en/latest/welcome.html#installation). + + + + +%package help +Summary: Development documents and examples for magic-wormhole +Provides: python3-magic-wormhole-doc +%description help +# Magic Wormhole +[](https://pypi.python.org/pypi/magic-wormhole) +[](https://travis-ci.org/warner/magic-wormhole) +[](https://ci.appveyor.com/project/warner/magic-wormhole) +[](https://codecov.io/github/warner/magic-wormhole?branch=master) +[](https://magic-wormhole.readthedocs.io) + +Get things from one computer to another, safely. + +This package provides a library and a command-line tool named `wormhole`, +which makes it possible to get arbitrary-sized files and directories +(or short pieces of text) from one computer to another. The two endpoints are +identified by using identical "wormhole codes": in general, the sending +machine generates and displays the code, which must then be typed into the +receiving machine. + +The codes are short and human-pronounceable, using a phonetically-distinct +wordlist. The receiving side offers tab-completion on the codewords, so +usually only a few characters must be typed. Wormhole codes are single-use +and do not need to be memorized. + +* PyCon 2016 presentation: [Slides](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf), [Video](https://youtu.be/oFrTqQw0_3c) + +For complete documentation, please see https://magic-wormhole.readthedocs.io +or the docs/ subdirectory. + +## License, Compatibility + +Magic-Wormhole is released under the MIT license, see the `LICENSE` file for details. + +This library is compatible with Python 3.5 and higher (tested against 3.5, +3.6, 3.7, and 3.8). It also still works with Python 2.7. + +## Packaging, Installation + +Magic Wormhole packages are included in many operating systems. + +[](https://repology.org/project/magic-wormhole/versions) + +To install it without an OS package, follow the [Installation docs](https://magic-wormhole.readthedocs.io/en/latest/welcome.html#installation). + + + + +%prep +%autosetup -n magic-wormhole-0.12.0 + +%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-magic-wormhole -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.12.0-1 +- Package Spec generated |