up to 1.3.2
[packages/php-composer-xdebug-handler.git] / php-composer-xdebug-handler.spec
1 %define         php_min_version 5.3.2
2 %define         pkgname xdebug-handler
3 %include        /usr/lib/rpm/macros.php
4 Summary:        Restarts a process without xdebug
5 Name:           php-composer-%{pkgname}
6 Version:        1.3.2
7 Release:        1
8 License:        MIT
9 Group:          Development/Languages/PHP
10 Source0:        https://github.com/composer/xdebug-handler/archive/%{version}/%{pkgname}-%{version}.tar.gz
11 # Source0-md5:  c904a62cd2a813d41398897068c58d55
12 URL:            https://github.com/composer/xdebug-handler
13 Requires:       php(core) >= %{php_min_version}
14 Requires:       php-psr-log >= 1.0
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Restart a CLI process without loading the xdebug extension.
20
21 %prep
22 %setup -q -n %{pkgname}-%{version}
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{php_data_dir}/Composer/XdebugHandler
27 cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}/Composer/XdebugHandler
28
29 %clean
30 rm -rf $RPM_BUILD_ROOT
31
32 %files
33 %defattr(644,root,root,755)
34 %doc README.md LICENSE
35 %dir %{php_data_dir}/Composer
36 %{php_data_dir}/Composer/XdebugHandler
This page took 0.082779 seconds and 3 git commands to generate.