Author: glen                         Date: Tue Jun  3 14:51:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- need Zend in path component, install to %{php_pear_dir}/Zend

---- Files affected:
SPECS:
   ZendFramework.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/ZendFramework.spec
diff -u SPECS/ZendFramework.spec:1.12 SPECS/ZendFramework.spec:1.13
--- SPECS/ZendFramework.spec:1.12       Tue Jun  3 16:21:58 2008
+++ SPECS/ZendFramework.spec    Tue Jun  3 16:51:50 2008
@@ -5,7 +5,7 @@
 Summary(pl.UTF-8):     Szkielet Zend
 Name:          ZendFramework
 Version:       1.5.2
-Release:       1.2
+Release:       1.5
 License:       Zend Framework License, 1.0, (distributable, see LICENSE)
 Group:         Development/Languages/PHP
 Source0:       
http://framework.zend.com/releases/%{name}-%{version}/ZendFramework-%{version}.tar.gz
@@ -22,8 +22,6 @@
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _appdir %{_datadir}/%{name}
-
 %description
 Zend Framework is a high quality and open source framework for
 developing Web Applications and Web Services.
@@ -56,11 +54,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_appdir}}
+install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{php_pear_dir}}
 cp -a demos/Zend/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-# library should be in include_path if used
-cp -a library/Zend/* $RPM_BUILD_ROOT%{_appdir}
+# library should be in include_path if used, so we use already defined 
%{php_pear_dir}
+cp -a library/* $RPM_BUILD_ROOT%{php_pear_dir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -68,7 +66,7 @@
 %files
 %defattr(644,root,root,755)
 %doc LICENSE.txt README.txt
-%{_appdir}
+%{php_pear_dir}
 
 %files demos
 %defattr(644,root,root,755)
@@ -80,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2008-06-03 14:51:50  glen
+- need Zend in path component, install to %{php_pear_dir}/Zend
+
 Revision 1.12  2008-06-03 14:21:58  glen
 - php-session and php-spl are compiled in statically
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ZendFramework.spec?r1=1.12&r2=1.13&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to