[packages/php-react-promise] Initial
arekm
arekm at pld-linux.org
Sat Apr 4 00:13:04 CEST 2026
commit f7b59c8b038570e6604a98e0de19d3b83a25bb10
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Apr 4 00:12:48 2026 +0200
Initial
php-react-promise.spec | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
---
diff --git a/php-react-promise.spec b/php-react-promise.spec
new file mode 100644
index 0000000..09c4784
--- /dev/null
+++ b/php-react-promise.spec
@@ -0,0 +1,33 @@
+%define pkgname promise
+Summary: A lightweight implementation of CommonJS Promises/A for PHP
+Name: php-react-%{pkgname}
+Version: 3.3.0
+Release: 1
+License: MIT
+Group: Development/Libraries
+Source0: https://github.com/reactphp/promise/archive/v%{version}/%{pkgname}-%{version}.tar.gz
+# Source0-md5: 4a14ce7a4ae7e3e46942aea215427668
+URL: https://github.com/reactphp/promise
+Requires: php(core) >= 7.1.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A lightweight implementation of CommonJS Promises/A for PHP.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/React/Promise
+cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}/React/Promise
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md README.md LICENSE
+%dir %{php_data_dir}/React
+%{php_data_dir}/React/Promise
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-react-promise.git/commitdiff/f7b59c8b038570e6604a98e0de19d3b83a25bb10
More information about the pld-cvs-commit
mailing list