Sisyphus repositório
Última atualização: 22 maio 2019 | SRPMs: 17693 | Visitas: 13572510
en ru br
ALT Linux repositórios
S:7.2.18-alt1.1

Group :: Sistema/Servidores
RPM: php7-xdebug

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define php7_extension xdebug

Name: php7-%php7_extension
Version: %php7_version
Release: %php7_release.1

Summary: xdebug extensions
Group: System/Servers
License: PHP Licence

# Source-url: https://xdebug.org/files/xdebug-2.6.0.tgz

Source: php7-%php7_extension.tar
Source1: php-%php7_extension.ini
Source2: php-%php7_extension-params.sh

BuildRequires(pre): rpm-build-php7
BuildRequires: php7-devel = %php7_version

%description
Xdebug is an extension for PHP to assist with debugging and development.
It contains a single step debugger to use with IDEs;
it upgrades PHP's var_dump() function;
it adds stack traces for Notices, Warnings, Errors and Exceptions;
it features functionality for recording every function call and
variable assignment to disk; it contains a profiler;
and it provides code coverage functionality for use with PHPUnit.

%prep
%setup -n php7-%php7_extension
%build
phpize

BUILD_HAVE=`echo %php7_extension | tr '[:lower:]-' '[:upper:]_'`
%add_optflags -fPIC -L%_libdir
export LDFLAGS=-lphp-%_php7_version
%configure \
--with-%php7_extension=%_usr
%php7_make

%install
install -D -m 644 modules/xdebug.so %buildroot%php7_extdir/xdebug.so
install -D -m 644 %SOURCE1 %buildroot%php7_extconf/%php7_extension/config
install -D -m 644 %SOURCE2 %buildroot%php7_extconf/%php7_extension/params

%files
%php7_extconf/%php7_extension
%php7_extdir/xdebug.so

%post
%php7_extension_postin

%preun
%php7_extension_preun

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009