[packages/php-composer-xdebug-handler] new, version 1.2.0

glen glen at pld-linux.org
Wed Aug 22 11:03:36 CEST 2018


commit b7f54bbaece8738c78c2cd8f0ac242114688764c
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Aug 22 12:02:50 2018 +0300

    new, version 1.2.0

 php-composer-xdebug-handler.spec | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
---
diff --git a/php-composer-xdebug-handler.spec b/php-composer-xdebug-handler.spec
new file mode 100644
index 0000000..2cc517a
--- /dev/null
+++ b/php-composer-xdebug-handler.spec
@@ -0,0 +1,36 @@
+%define		php_min_version 5.3.2
+%define		pkgname	xdebug-handler
+%include	/usr/lib/rpm/macros.php
+Summary:	Restarts a process without xdebug
+Name:		php-composer-%{pkgname}
+Version:	1.2.0
+Release:	1
+License:	MIT
+Group:		Development/Languages/PHP
+Source0:	https://github.com/composer/xdebug-handler/archive/%{version}/%{pkgname}-%{version}.tar.gz
+# Source0-md5:	59a198ea2a593897dde21c1c1b99b6e1
+URL:		https://github.com/composer/xdebug-handler
+Requires:	php(core) >= %{php_min_version}
+Requires:	php-psr-log >= 1.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Restart a CLI process without loading the xdebug extension.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/Composer/XdebugHandler
+cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}/Composer/XdebugHandler
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%dir %{php_data_dir}/Composer
+%{php_data_dir}/Composer/XdebugHandler
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-composer-xdebug-handler.git/commitdiff/b7f54bbaece8738c78c2cd8f0ac242114688764c



More information about the pld-cvs-commit mailing list