Browse Source

php5-5.3.6-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3187 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 14 years ago
parent
commit
2845778d6a
1 changed files with 13 additions and 3 deletions
  1. 13 3
      p/php5/php5-vl.spec

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

@@ -27,9 +27,13 @@
 Name: php5
 Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
 Summary(ja): HTML 埋め込み型スクリプト言語 PHP
-Version: 5.3.5
+Version: 5.3.6
 Release: 1%{_dist_release}
 
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: tomop
+
 License: The PHP License
 Group: Development/Languages
 URL: http://www.php.net/
@@ -507,8 +511,8 @@ cat %{SOURCE21} >> $RPM_BUILD_ROOT%{php_confdir}/php.ini
 sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{php_confdir}/php.ini
 
 # Remove suffix
-cp $RPM_BUILD_ROOT%{_bindir}/php-config{%{majorver},}
-cp $RPM_BUILD_ROOT%{_bindir}/phpize{%{majorver},}
+ln -sf php-config%{majorver} $RPM_BUILD_ROOT%{_bindir}/php-config
+ln -sf phpize%{majorver} $RPM_BUILD_ROOT%{_bindir}/phpize
 %{__install} -m 755 scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
 cp $RPM_BUILD_ROOT%{_mandir}/man1/php-config{%{majorver},}.1
 cp $RPM_BUILD_ROOT%{_mandir}/man1/phpize{%{majorver},}.1
@@ -681,7 +685,9 @@ rm -f files.*
 %{_mandir}/man1/php-config.1*
 %{_mandir}/man1/phpize.1*
 %{_bindir}/php-config
+%{_bindir}/php-config5
 %{_bindir}/phpize
+%{_bindir}/phpize5
 %{_bindir}/phpextdist
 %{_includedir}/%{_name}
 %{_libdir}/%{_name}/build
@@ -726,6 +732,10 @@ rm -f files.*
 
 #======================================================================
 %changelog
+* Mon Mar 28 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.6-1
+- new upstream release.
+- added tags "Vendor:", "Distribution:" and "Packager:".
+
 * Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.5-1
 - new upstream release.