automatic version update by autodist [release 3.1.4-1mamba;Sun May 22 2022]

This commit is contained in:
Automatic Build System 2024-01-06 09:59:53 +01:00
parent 7ffde6541b
commit 763b064a56

View File

@ -1,7 +1,7 @@
%define php_majver %(php-config --version | cut -d. -f1-2)
%define pkgver %(echo %version | tr '[:lower:]' '[:upper:]')
Name: php-xdebug
Version: 2.9.6
Version: 3.1.4
Release: 1mamba
Summary: A PHP extension for powerful debugging
Group: Applications/Development
@ -14,14 +14,12 @@ Source: https://github.com/xdebug/xdebug.git/%{version}/xdebug-%{version}
License: PHP License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libedit-devel
BuildRequires: libtermcap-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: php-devel >= 7.4.6
Requires: php >= %{php_majver}
Requires: php <= %{php_majver}.99
Provides: xdebug
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A PHP extension for powerful debugging. It supports stack and function traces, profiling information and memory allocation and script execution analysis.
@ -44,16 +42,16 @@ phpize
%configure
%make
cd debugclient
./buildconf
%configure --with-libedit
%make
#cd debugclient
#./buildconf
#%configure --with-libedit
#%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot}
install -D -m0755 debugclient/debugclient %{buildroot}%{_bindir}/debugclient
#install -D -m0755 debugclient/debugclient %{buildroot}%{_bindir}/debugclient
install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d
cat > %{buildroot}%{_sysconfdir}/php/php.d/xdebug.ini <<EOF
@ -73,11 +71,14 @@ EOF
%{_sysconfdir}/php/php.d/xdebug.ini
%{_libdir}/php/extensions/xdebug.so
%files debugclient
%defattr(-,root,root)
%{_bindir}/debugclient
#%files debugclient
#%defattr(-,root,root)
#%{_bindir}/debugclient
%changelog
* Sun May 22 2022 Automatic Build System <autodist@mambasoft.it> 3.1.4-1mamba
- automatic version update by autodist
* Sun May 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.6-1mamba
- update to 2.9.6