Browse Source

php5:
- update to 5.3.21
- add configure options
(--with-gd=shared,/usr --enable-gd-native-ttf --with-iconv)
- add gd.so and gd.ini to %%files

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7486 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 11 years ago
parent
commit
0ec4a05b31
1 changed files with 16 additions and 3 deletions
  1. 16 3
      p/php5/php5-vl.spec

+ 16 - 3
p/php5/php5-vl.spec

@@ -45,7 +45,7 @@
 Name: php5
 Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
 Summary(ja): HTML 埋め込み型スクリプト言語 PHP
-Version: 5.3.20
+Version: 5.3.21
 Release: 1%{_dist_release}
 
 Vendor: Project Vine
@@ -509,7 +509,10 @@ CFLAGS="-fPIC" \
   --enable-zend-multibyte \
   --with-bz2 \
   --with-curl \
-  --with-gd=%{_prefix} --with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-freetype-dir=%{_prefix} \
+  --with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-freetype-dir=%{_prefix} \
+  --with-gd=shared,/usr \
+  --enable-gd-native-ttf \
+  --with-iconv \
   --with-gettext \
   --with-gmp \
   --with-imap=shared --with-imap-ssl \
@@ -689,7 +692,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 \
+for mod in dba imap ldap mcrypt snmp xmlrpc intl gd \
     mysql mysqli odbc pgsql sqlite \
     pdo pdo_odbc pdo_mysql pdo_pgsql pdo_sqlite; do
     cat > %{buildroot}%{php_confdir}/php.d/${mod}.ini <<EOF
@@ -855,6 +858,9 @@ rm -f files.*
 %dir %{_libdir}/%{_name}/bin
 %dir %{_localstatedir}/%{_name}
 %attr(0770,root,%{www_group}) %dir %{_localstatedir}/%{_name}/session
+# gd extension (should be separated package?)
+%config(noreplace) %{php_confdir}/php.d/pcntl.ini
+%{_libdir}/%{_name}/gd.so
 
 %files devel
 %defattr(-,root,root)
@@ -929,6 +935,13 @@ rm -f files.*
 
 #======================================================================
 %changelog
+* Tue Feb 19 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 5.3.21-1
+- new upstream release
+- add configure options to fix broken fonts in some
+  applications (e.g.: zabbix)
+  (--with-gd=shared,/usr --enable-gd-native-ttf --with-iconv)
+- add gd.so and gd.ini to %%files
+
 * Fri Dec 21 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.20-1
 - new upstream release.