From 7693992fce0901abfd0e885fa0d7d0bb90f709cf Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 21 Aug 2023 03:44:09 +0000 Subject: automatic import of swoole --- .gitignore | 1 + sources | 1 + swoole.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 sources create mode 100644 swoole.spec diff --git a/.gitignore b/.gitignore index e69de29..bb4940d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/v5.0.3.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..457f043 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +276030255eb315f09e1a77b16d501373 v5.0.3.tar.gz diff --git a/swoole.spec b/swoole.spec new file mode 100644 index 0000000..2ced918 --- /dev/null +++ b/swoole.spec @@ -0,0 +1,46 @@ +Name: swoole +Version: 5.0.3 +Release: 1 +Summary: Event-driven asynchronous and concurrent networking engine with high performance for PHP +License: Apache 2.0 +URL: https://www.swoole.com/ +Source0: https://github.com/swoole/swoole-src/archive/refs/tags/v%{version}.tar.gz +BuildRequires: php(language) >= 7.2.5 +BuildRequires: php-devel +BuildRequires: openssl-devel >= 1.0.2 + +%description +Event-driven asynchronous and concurrent networking engine with high performance for PHP. + - event-driven + - coroutine + - asynchronous non-blocking + - multi-thread reactor + - multi-process worker + - multi-protocol + - millisecond timer + - built-in tcp/http/websocket/http2 server + - coroutine tcp/http/websocket client + - coroutine mysql client + - coroutine redis client + - coroutine read/write file system + - coroutine dns lookup + - support IPv4/IPv6/UnixSocket/TCP/UDP + - support SSL/TLS encrypted transmission + +%prep +%autosetup -p1 -n swoole-src-%{version} + +%build +%{_bindir}/phpize +%configure --enable-openssl --enable-sockets +%make_build + +%install +%make_install + +%files +%license LICENSE + +%changelog +* Mon Aug 21 2023 Funda Wang - 5.0.3-1 +- Import package -- cgit v1.2.3