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