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