diff options
Diffstat (limited to 'python-fastybird-ws-server-plugin.spec')
| -rw-r--r-- | python-fastybird-ws-server-plugin.spec | 232 |
1 files changed, 232 insertions, 0 deletions
diff --git a/python-fastybird-ws-server-plugin.spec b/python-fastybird-ws-server-plugin.spec new file mode 100644 index 0000000..71b2dc7 --- /dev/null +++ b/python-fastybird-ws-server-plugin.spec @@ -0,0 +1,232 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fastybird-ws-server-plugin +Version: 0.13.0 +Release: 1 +Summary: FastyBird WS server plugin +License: Apache Software License (Apache Software License 2.0) +URL: https://github.com/FastyBird/ws-server-plugin +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/b0/7127b0b39a525f81ac796aa6847ef0919581cd4506dda70b67ddbafc95b1/fastybird-ws-server-plugin-0.13.0.tar.gz +BuildArch: noarch + +Requires: python3-fastybird-metadata +Requires: python3-kink +Requires: python3-setuptools +Requires: python3-whistle + +%description +# FastyBird WS server plugin + +[](https://github.com/FastyBird/ws-server-plugin/actions) +[](https://github.com/FastyBird/ws-server-plugin/blob/master/LICENSE.md) +[](https://coveralls.io/r/FastyBird/ws-server-plugin) + + +[](https://packagist.org/packages/FastyBird/ws-server-plugin) +[](https://packagist.org/packages/FastyBird/ws-server-plugin) +[](https://github.com/phpstan/phpstan) + + +[](https://pypi.org/project/fastybird-ws-server-plugin/) +[](https://pypi.org/project/fastybird-ws-server-plugin/) +[](https://github.com/psf/black) +[](http://mypy-lang.org) + +## What is FastyBird WS server plugin? + +This is a combined plugin for [Nette framework](https://nette.org) and [Python](https://www.python.org) which is +implementing [WAMPv1](https://wamp-proto.org) server based +on [iPbulikuj WAMP server](https://github.com/ipublikuj/websockets-wamp) extension +for [FastyBird](https://www.fastybird.com) IoT services + +## Installation + +### PHP based project: + +The best way to install **fastybird/ws-server-plugin** is using [Composer](http://getcomposer.org/): + +```sh +$ composer require fastybird/ws-server-plugin +``` + +### Python based project: + +The best way to install **fastybird-redisdb-storage-plugin** is using [Pip](https://pip.pypa.io/en/stable/): + +```sh +$ pip install fastybird-ws-server-plugin +``` + +## Documentation + +Learn how to connect & call RPC messages +in [documentation](https://github.com/FastyBird/ws-server-plugin/blob/master/.docs/en/index.md). + +*** +Homepage [https://www.fastybird.com](https://www.fastybird.com) and +repository [https://github.com/FastyBird/ws-server-plugin](https://github.com/FastyBird/ws-server-plugin). + + + + +%package -n python3-fastybird-ws-server-plugin +Summary: FastyBird WS server plugin +Provides: python-fastybird-ws-server-plugin +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-fastybird-ws-server-plugin +# FastyBird WS server plugin + +[](https://github.com/FastyBird/ws-server-plugin/actions) +[](https://github.com/FastyBird/ws-server-plugin/blob/master/LICENSE.md) +[](https://coveralls.io/r/FastyBird/ws-server-plugin) + + +[](https://packagist.org/packages/FastyBird/ws-server-plugin) +[](https://packagist.org/packages/FastyBird/ws-server-plugin) +[](https://github.com/phpstan/phpstan) + + +[](https://pypi.org/project/fastybird-ws-server-plugin/) +[](https://pypi.org/project/fastybird-ws-server-plugin/) +[](https://github.com/psf/black) +[](http://mypy-lang.org) + +## What is FastyBird WS server plugin? + +This is a combined plugin for [Nette framework](https://nette.org) and [Python](https://www.python.org) which is +implementing [WAMPv1](https://wamp-proto.org) server based +on [iPbulikuj WAMP server](https://github.com/ipublikuj/websockets-wamp) extension +for [FastyBird](https://www.fastybird.com) IoT services + +## Installation + +### PHP based project: + +The best way to install **fastybird/ws-server-plugin** is using [Composer](http://getcomposer.org/): + +```sh +$ composer require fastybird/ws-server-plugin +``` + +### Python based project: + +The best way to install **fastybird-redisdb-storage-plugin** is using [Pip](https://pip.pypa.io/en/stable/): + +```sh +$ pip install fastybird-ws-server-plugin +``` + +## Documentation + +Learn how to connect & call RPC messages +in [documentation](https://github.com/FastyBird/ws-server-plugin/blob/master/.docs/en/index.md). + +*** +Homepage [https://www.fastybird.com](https://www.fastybird.com) and +repository [https://github.com/FastyBird/ws-server-plugin](https://github.com/FastyBird/ws-server-plugin). + + + + +%package help +Summary: Development documents and examples for fastybird-ws-server-plugin +Provides: python3-fastybird-ws-server-plugin-doc +%description help +# FastyBird WS server plugin + +[](https://github.com/FastyBird/ws-server-plugin/actions) +[](https://github.com/FastyBird/ws-server-plugin/blob/master/LICENSE.md) +[](https://coveralls.io/r/FastyBird/ws-server-plugin) + + +[](https://packagist.org/packages/FastyBird/ws-server-plugin) +[](https://packagist.org/packages/FastyBird/ws-server-plugin) +[](https://github.com/phpstan/phpstan) + + +[](https://pypi.org/project/fastybird-ws-server-plugin/) +[](https://pypi.org/project/fastybird-ws-server-plugin/) +[](https://github.com/psf/black) +[](http://mypy-lang.org) + +## What is FastyBird WS server plugin? + +This is a combined plugin for [Nette framework](https://nette.org) and [Python](https://www.python.org) which is +implementing [WAMPv1](https://wamp-proto.org) server based +on [iPbulikuj WAMP server](https://github.com/ipublikuj/websockets-wamp) extension +for [FastyBird](https://www.fastybird.com) IoT services + +## Installation + +### PHP based project: + +The best way to install **fastybird/ws-server-plugin** is using [Composer](http://getcomposer.org/): + +```sh +$ composer require fastybird/ws-server-plugin +``` + +### Python based project: + +The best way to install **fastybird-redisdb-storage-plugin** is using [Pip](https://pip.pypa.io/en/stable/): + +```sh +$ pip install fastybird-ws-server-plugin +``` + +## Documentation + +Learn how to connect & call RPC messages +in [documentation](https://github.com/FastyBird/ws-server-plugin/blob/master/.docs/en/index.md). + +*** +Homepage [https://www.fastybird.com](https://www.fastybird.com) and +repository [https://github.com/FastyBird/ws-server-plugin](https://github.com/FastyBird/ws-server-plugin). + + + + +%prep +%autosetup -n fastybird-ws-server-plugin-0.13.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-fastybird-ws-server-plugin -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.0-1 +- Package Spec generated |
