SPECS: ZendFramework.spec - undos datafiles - lang tags for Zend_Locale

glen glen at pld-linux.org
Wed Oct 22 02:33:30 CEST 2008


Author: glen                         Date: Wed Oct 22 00:33:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- undos datafiles
- lang tags for Zend_Locale

---- Files affected:
SPECS:
   ZendFramework.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/ZendFramework.spec
diff -u SPECS/ZendFramework.spec:1.26 SPECS/ZendFramework.spec:1.27
--- SPECS/ZendFramework.spec:1.26	Mon Oct 20 13:35:32 2008
+++ SPECS/ZendFramework.spec	Wed Oct 22 02:33:24 2008
@@ -7,13 +7,15 @@
 Summary(pl.UTF-8):	Szkielet Zend
 Name:		ZendFramework
 Version:	1.6.2
-Release:	2
+Release:	2.5
 License:	New BSD License
 Group:		Development/Languages/PHP
 Source0:	http://framework.zend.com/releases/%{name}-%{version}/ZendFramework-%{version}.tar.gz
 # Source0-md5:	d1ad283f9190688fcae0daf25625e3cb
+Source1:	%{name}-find-lang.sh
 URL:		http://framework.zend.com/
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	sed >= 4.0
 Requires:	php-common >= 4:5.1.4
 Requires:	php-ctype
 Requires:	php-hash
@@ -874,6 +876,7 @@
 Group:		Development/Languages/PHP
 URL:		http://framework.zend.com/manual/en/zend.test.html
 Requires:	%{name} = %{version}-%{release}
+Requires:	php-PHPUnit
 
 %description Zend_Test
 Zend_Test provides tools to facilitate unit testing of your Zend
@@ -1004,6 +1007,10 @@
 %prep
 %setup -q
 
+find '(' -name '*.php' -o -name '*.xml' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
+
+install %{SOURCE1} find-lang.sh
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{php_pear_dir}}
@@ -1012,6 +1019,8 @@
 # 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}
 
+./find-lang.sh %{name}.lang
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -1161,10 +1170,19 @@
 %{php_pear_dir}/Zend/Loader
 %{php_pear_dir}/Zend/Loader.php
 
-%files Zend_Locale
+%files Zend_Locale -f %{name}.lang
 %defattr(644,root,root,755)
-%{php_pear_dir}/Zend/Locale
+%dir %{php_pear_dir}/Zend/Locale
 %{php_pear_dir}/Zend/Locale.php
+%{php_pear_dir}/Zend/Locale/Exception.php
+%{php_pear_dir}/Zend/Locale/Format.php
+%{php_pear_dir}/Zend/Locale/Math.php
+%{php_pear_dir}/Zend/Locale/Math
+
+%{php_pear_dir}/Zend/Locale/Data.php
+%dir %{php_pear_dir}/Zend/Locale/Data
+%{php_pear_dir}/Zend/Locale/Data/Translation.php
+%{php_pear_dir}/Zend/Locale/Data/supplementalData.xml
 
 %files Zend_Log
 %defattr(644,root,root,755)
@@ -1341,6 +1359,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2008/10/22 00:33:24  glen
+- undos datafiles
+- lang tags for Zend_Locale
+
 Revision 1.26  2008/10/20 11:35:32  glen
 - Zend_Rest requires dom extension
 
================================================================

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



More information about the pld-cvs-commit mailing list