|
@@ -26,11 +26,15 @@
|
|
%global apache2_cgidir %{apache2_contentdir}/cgi-bin
|
|
%global apache2_cgidir %{apache2_contentdir}/cgi-bin
|
|
%global apache2_fcgidir %{apache2_contentdir}/fcgi-bin
|
|
%global apache2_fcgidir %{apache2_contentdir}/fcgi-bin
|
|
|
|
|
|
|
|
+%define _use_internal_dependency_generator 0
|
|
|
|
+%define __find_provides %{_builddir}/php-%{version}/find-provides.sh
|
|
|
|
+%define _built_php %{buildroot}%{_bindir}/php5
|
|
|
|
+
|
|
Name: php5
|
|
Name: php5
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
Version: 5.3.11
|
|
Version: 5.3.11
|
|
-Release: 1%{_dist_release}
|
|
|
|
|
|
+Release: 2%{_dist_release}
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -54,6 +58,7 @@ Source26: php-fpm.conf
|
|
Source27: default-pool.conf
|
|
Source27: default-pool.conf
|
|
Source28: php-fpm.logrotate
|
|
Source28: php-fpm.logrotate
|
|
Source29: php_params
|
|
Source29: php_params
|
|
|
|
+Source30: find-provides.sh.in
|
|
|
|
|
|
Patch33: php-5.2.4-phpincludedir.patch
|
|
Patch33: php-5.2.4-phpincludedir.patch
|
|
# Additional feature
|
|
# Additional feature
|
|
@@ -721,6 +726,12 @@ for X in pear5 peardev5 pecl5 ; do
|
|
chmod 0755 %{buildroot}%{_bindir}/$X
|
|
chmod 0755 %{buildroot}%{_bindir}/$X
|
|
done
|
|
done
|
|
|
|
|
|
|
|
+PEAPI=`%{_built_php} -n -i | grep 'PHP Extension =>' | sed -e 's/^.* //'`
|
|
|
|
+ZEAPI=`%{_built_php} -n -i | grep 'Zend Extension =>' | sed -e 's/^.* //'`
|
|
|
|
+
|
|
|
|
+sed -e "s,@BUILDROOT@,%{buildroot},g" -e "s/@PEAPI@/$PEAPI/g" -e "s/@ZEAPI@/$ZEAPI/g" < %{SOURCE30} > %{__find_provides}
|
|
|
|
+chmod 755 %{__find_provides}
|
|
|
|
+
|
|
#----------------------------------------------------------------------
|
|
#----------------------------------------------------------------------
|
|
%post
|
|
%post
|
|
/sbin/update-alternatives --install %{_bindir}/php \
|
|
/sbin/update-alternatives --install %{_bindir}/php \
|
|
@@ -896,6 +907,9 @@ rm -f files.*
|
|
|
|
|
|
#======================================================================
|
|
#======================================================================
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.11-2
|
|
|
|
+- added API versions to 'Provides'.
|
|
|
|
+
|
|
* Thu Apr 26 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.11-1
|
|
* Thu Apr 26 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.11-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|