Sisyphus repositório
Última atualização: 21 outubro 2019 | SRPMs: 17510 | Visitas: 15373062
en ru br
ALT Linux repositórios
S:7.2.23-alt1.2

Group :: Sistema/Servidores
RPM: php7-mysqli

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define php7_extension mysqli

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

Summary: MySQL Improved Extension for PHP

License: PHP Licence
Group: System/Servers
URL: http://www.php.net/manual/en/ref.mysqli.php

#Source0: standart PHP module

Source1: php-%php7_extension.ini
Source2: php-%php7_extension-params.sh
Patch0: php7-force_libmysqlclient_r.patch
Patch1: php7-mysql8-transition.patch
Conflicts: php7-mysqlnd-mysqli

BuildRequires(pre): rpm-build-php7
BuildRequires: php7-devel = %php7_version
BuildRequires: libmysqlclient-devel >= 5.1.50-alt5

%description
MySQLi (improved) - new MySQL interface for PHP and MySQL 4.1.3+

%prep
%setup -T -c
cp -pr -- %php7_extsrcdir/%php7_extension/* .
%patch0 -p0
%patch1 -p0

%build
phpize

BUILD_HAVE=`echo %php7_extension | tr '[:lower:]-' '[:upper:]_'`
%add_optflags -fPIC -L%_libdir
export LDFLAGS=-lphp-%_php7_version
%configure \
--with-%php7_extension \
--with-libdir=%_lib \
--with-mysqli=%_bindir/mysql_config \
#

%php7_make

%install
%php7_make_install
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/*
%doc CREDITS

%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