|
@@ -51,8 +51,8 @@
|
|
|
Name: php5
|
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
|
-Version: 5.5.7
|
|
|
-Release: 2%{_dist_release}
|
|
|
+Version: 5.5.8
|
|
|
+Release: 1%{_dist_release}
|
|
|
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -62,7 +62,7 @@ License: The PHP License
|
|
|
Group: Development/Languages
|
|
|
URL: http://www.php.net/
|
|
|
|
|
|
-Source0: http://www.php.net/distributions/%{srcname}.tar.xz
|
|
|
+Source0: http://www.php.net/distributions/%{srcname}.tar.bz2
|
|
|
|
|
|
# borrowed from Fedora's php-pear 1:1.9.4-5
|
|
|
Source13: macros.pear
|
|
@@ -424,6 +424,18 @@ Provides: php-intl = %{version}-%{release}
|
|
|
to perform UCA-conformant collation and date/time/number/currency formatting
|
|
|
in their scripts.
|
|
|
|
|
|
+#----------------------------------------------------------------------
|
|
|
+%package zip
|
|
|
+Summary: A module for PHP applications to manipulate the ZIP archives
|
|
|
+Group: Development/Languages
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Provides: php-zip = %{version}-%{release}
|
|
|
+Provides: php-ext-zip
|
|
|
+Obsoletes: php-ext-zip < 1.12.4
|
|
|
+
|
|
|
+%description zip
|
|
|
+ The php-zip package is an extension to create, modify and read zip files.
|
|
|
+
|
|
|
#----------------------------------------------------------------------
|
|
|
%package pcntl
|
|
|
Summary: A module for PHP-CLI applications to use Process Control (pcntl)
|
|
@@ -466,7 +478,7 @@ cp TSRM/LICENSE TSRM_LICENSE
|
|
|
mkdir -p %{_name}-apache2
|
|
|
cp %{SOURCE20} %{_name}-apache2/README.vine
|
|
|
|
|
|
-perl -pi -e 's,/freetype2/freetype/,/freetype2/,g' configure
|
|
|
+#perl -pi -e 's,/freetype2/freetype/,/freetype2/,g' configure
|
|
|
|
|
|
# Source is built three times:
|
|
|
# once for /usr/bin/php, once for the Apache1 module, once for the Apache2 module.
|
|
@@ -497,6 +509,7 @@ CFLAGS="-fPIC" \
|
|
|
--program-suffix=%{majorver} \
|
|
|
--enable-safe-mode \
|
|
|
--disable-rpath \
|
|
|
+ --enable-zend-multibyte \
|
|
|
--enable-bcmath \
|
|
|
--enable-calendar \
|
|
|
--enable-dba=shared --with-gdbm --with-db4 --with-inifile \
|
|
@@ -512,7 +525,7 @@ CFLAGS="-fPIC" \
|
|
|
--enable-sockets \
|
|
|
--enable-sysvmsg --enable-sysvsem --enable-sysvshm \
|
|
|
--enable-wddx \
|
|
|
- --enable-zend-multibyte \
|
|
|
+ --enable-zip=shared \
|
|
|
--with-bz2 \
|
|
|
--with-curl \
|
|
|
--with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-freetype-dir=%{_prefix} \
|
|
@@ -698,7 +711,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/nginx
|
|
|
|
|
|
#----------------------------------------------------------------------
|
|
|
# Generate files lists and stub .ini files for each subpackage
|
|
|
-for mod in dba imap ldap mcrypt snmp xmlrpc intl gd \
|
|
|
+for mod in dba imap ldap mcrypt snmp xmlrpc intl gd zip \
|
|
|
mysql mysqli odbc pgsql \
|
|
|
pdo pdo_odbc pdo_mysql pdo_pgsql pdo_sqlite; do
|
|
|
cat > %{buildroot}%{php_confdir}/php.d/${mod}.ini <<EOF
|
|
@@ -948,11 +961,16 @@ rm -f files.*
|
|
|
%files snmp -f files.snmp
|
|
|
%files xmlrpc -f files.xmlrpc
|
|
|
%files intl -f files.intl
|
|
|
+%files zip -f files.zip
|
|
|
%files pcntl -f files.pcntl
|
|
|
%files opcache -f files.opcache
|
|
|
|
|
|
#======================================================================
|
|
|
%changelog
|
|
|
+* Sat Jan 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.8-1
|
|
|
+- new upstream release.
|
|
|
+- added a sub-package 'php5-zip'.
|
|
|
+
|
|
|
* Tue Dec 31 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.7-2
|
|
|
- rebuilt with icu-52.1.
|
|
|
|