SPECS: php-manual.spec - update to 20070417
glen
glen at pld-linux.org
Mon Apr 23 22:44:53 CEST 2007
Author: glen Date: Mon Apr 23 20:44:53 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update to 20070417
---- Files affected:
SPECS:
php-manual.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: SPECS/php-manual.spec
diff -u SPECS/php-manual.spec:1.9 SPECS/php-manual.spec:1.10
--- SPECS/php-manual.spec:1.9 Tue Feb 13 09:06:39 2007
+++ SPECS/php-manual.spec Mon Apr 23 22:44:45 2007
@@ -1,55 +1,56 @@
# $Revision$, $Date$
+# NOTE
+# - Needs 840MB in BUILD and the same in RPM_BUILD_ROOT to package
Summary: PHP manual
Summary(pl.UTF-8): Podręcznik do PHP
Name: php-manual
# last updated - is there better scheme?
-Version: 20051028
+Version: 20070417
Release: 1
License: Open Publication License v1.0+
Group: Documentation
# ar contains only figures
# he,tr currently available only in .chm format
Source0: http://static.php.net/www.php.net/distributions/manual/php_manual_en.tar.gz
-# Source0-md5: adc81a5f1fefed416dca674af288bf31
+# Source0-md5: a0fa7d8dd0855aea8d3ab61ee2680942
#Source1: http://static.php.net/www.php.net/distributions/manual/php_manual_ar.tar.gz
-#XSource1-md5: 38f458a76de34a8e8a1a543dc24c60bf
+# Source1-md5: 0057240f51f122eed3e9c7c0ed397494
Source2: http://static.php.net/www.php.net/distributions/manual/php_manual_cs.tar.gz
-# Source2-md5: 52c3946a9811b379afb28098125ca14e
+# Source2-md5: 9f10c985bb4de9c283f710f1e9e2095e
Source3: http://static.php.net/www.php.net/distributions/manual/php_manual_da.tar.gz
-# Source3-md5: f42ff141d86440389b06f7697d1c9184
+# Source3-md5: 93daf71b45d9aecf23166a5588614b93
Source4: http://static.php.net/www.php.net/distributions/manual/php_manual_de.tar.gz
-# Source4-md5: c082af879d1c9837b7c7cbc8ef03b9bb
+# Source4-md5: 2eb217e968ec001c410a29554320b9bf
Source5: http://static.php.net/www.php.net/distributions/manual/php_manual_el.tar.gz
-# Source5-md5: c23c4bc6871aa8688e23e9a865fe2ac8
+# Source5-md5: d9ffb64049ea40af24c61107fbeb9d31
Source6: http://static.php.net/www.php.net/distributions/manual/php_manual_es.tar.gz
-# Source6-md5: abf3b4d00816145b51885bf9901a63fe
+# Source6-md5: 99188107c685ba7158b166ca5b24f244
Source7: http://static.php.net/www.php.net/distributions/manual/php_manual_fi.tar.gz
# Source7-md5: c2f7a86a5d05d3130d10d4282cabbbf5
Source8: http://static.php.net/www.php.net/distributions/manual/php_manual_fr.tar.gz
-# Source8-md5: 32167fbb9c11ff3fc250d2d73d5b289d
-#Source9: http://static.php.net/www.php.net/distributions/manual/php_manual_he.tar.gz
+# Source8-md5: 28191896bc1ebc64265c1a4044a8c00c
Source9: php_manual_he.tar.bz2
# Source9-md5: ff9e86415dcd9bca3b14394828b4bfde
Source10: http://static.php.net/www.php.net/distributions/manual/php_manual_hk.tar.gz
# Source10-md5: d120040e561e4d0ed1affe615c7a249a
Source11: http://static.php.net/www.php.net/distributions/manual/php_manual_hu.tar.gz
-# Source11-md5: cfcd29cd2bd7821e6dc119c9f93c5988
+# Source11-md5: cfb3cfb99fa20dcbedbc68eb56be47a6
Source12: http://static.php.net/www.php.net/distributions/manual/php_manual_it.tar.gz
# Source12-md5: 64d09735031be3e695954df335fafbce
Source13: http://static.php.net/www.php.net/distributions/manual/php_manual_ja.tar.gz
-# Source13-md5: 1edccba1bcb243da96f2f2054222bbe3
+# Source13-md5: e41d957c1a88487370146f54c9e1db34
Source14: http://static.php.net/www.php.net/distributions/manual/php_manual_kr.tar.gz
# Source14-md5: 8aca34a0456a71e5a1b5cad7bcc5fcb2
Source15: http://static.php.net/www.php.net/distributions/manual/php_manual_nl.tar.gz
-# Source15-md5: 6df97713946c0f516c40578dd96391a0
+# Source15-md5: 88a920541caf81c0c4986bdaee77bd1a
Source16: http://static.php.net/www.php.net/distributions/manual/php_manual_pl.tar.gz
-# Source16-md5: ead6378f52088d1e2806b046d61a1fb9
+# Source16-md5: f880f2e233143d9aa691d1809a18c5d3
Source17: http://static.php.net/www.php.net/distributions/manual/php_manual_pt_BR.tar.gz
-# Source17-md5: b779d0819163ec291eca53d5ac3b4fe7
+# Source17-md5: 3983b6f514545e2e6722ee9029be1a6a
Source18: http://static.php.net/www.php.net/distributions/manual/php_manual_ro.tar.gz
# Source18-md5: 992ace347445085cfdf20e9935535289
Source19: http://static.php.net/www.php.net/distributions/manual/php_manual_ru.tar.gz
-# Source19-md5: 998a42b40099438dd121b54c1129e231
+# Source19-md5: 710f8d74a37de20645e9927fa3fe3802
Source20: http://static.php.net/www.php.net/distributions/manual/php_manual_sk.tar.gz
# Source20-md5: 674543f0cf7590e7636a339fac6ce823
Source21: http://static.php.net/www.php.net/distributions/manual/php_manual_sl.tar.gz
@@ -59,10 +60,11 @@
Source23: php_manual_tr.tar.bz2
# Source23-md5: ccc53af840a7ecccec5900437b3a18f9
Source24: http://static.php.net/www.php.net/distributions/manual/php_manual_tw.tar.gz
-# Source24-md5: f291766e2e5321eda72f891f90d18d99
+# Source24-md5: 5ccc4a2ec789f936f9c4dfeab5953606
Source25: http://static.php.net/www.php.net/distributions/manual/php_manual_zh.tar.gz
-# Source25-md5: 76f3e8d8812b60d4de66b3be7a8a4423
+# Source25-md5: b392c0389e58b7a03caf7749aa358359
URL: http://www.php.net/docs.php
+BuildRequires: tar >= 1:1.15.1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -363,148 +365,150 @@
%prep
%setup -q -c -T
-install -d en ar cs da de el es fi fr he hk hu it ja kr nl pl pt_BR ro ru sk sl sv tr tw zh
-tar xzf %{SOURCE0} -C en
+install -d en cs da de el es fi fr he hk hu it ja kr nl pl pt_BR ro ru sk sl sv tr tw zh
+tar xzf %{SOURCE0} -C en --strip-components=1
#tar xzf %{SOURCE1} -C ar
-tar xzf %{SOURCE2} -C cs
-tar xzf %{SOURCE3} -C da
-tar xzf %{SOURCE4} -C de
-tar xzf %{SOURCE5} -C el
-tar xzf %{SOURCE6} -C es
-tar xzf %{SOURCE7} -C fi
-tar xzf %{SOURCE8} -C fr
+tar xzf %{SOURCE2} -C cs --strip-components=1
+tar xzf %{SOURCE3} -C da --strip-components=1
+tar xzf %{SOURCE4} -C de --strip-components=1
+tar xzf %{SOURCE5} -C el --strip-components=1
+tar xzf %{SOURCE6} -C es --strip-components=1
+tar xzf %{SOURCE7} -C fi --strip-components=1
+tar xzf %{SOURCE8} -C fr --strip-components=1
tar xjf %{SOURCE9} -C he
tar xzf %{SOURCE10} -C hk
-tar xzf %{SOURCE11} -C hu
-tar xzf %{SOURCE12} -C it
-tar xzf %{SOURCE13} -C ja
+tar xzf %{SOURCE11} -C hu --strip-components=1
+tar xzf %{SOURCE12} -C it --strip-components=1
+tar xzf %{SOURCE13} -C ja --strip-components=1
tar xzf %{SOURCE14} -C kr
-tar xzf %{SOURCE15} -C nl
-tar xzf %{SOURCE16} -C pl
-tar xzf %{SOURCE17} -C pt_BR
+tar xzf %{SOURCE15} -C nl --strip-components=1
+tar xzf %{SOURCE16} -C pl --strip-components=1
+tar xzf %{SOURCE17} -C pt_BR --strip-components=1
tar xzf %{SOURCE18} -C ro
-tar xzf %{SOURCE19} -C ru
-tar xzf %{SOURCE20} -C sk
+tar xzf %{SOURCE19} -C ru --strip-components=1
+tar xzf %{SOURCE20} -C sk --strip-components=1
tar xzf %{SOURCE21} -C sl
-tar xzf %{SOURCE22} -C sv
+tar xzf %{SOURCE22} -C sv --strip-components=1
tar xjf %{SOURCE23} -C tr
-tar xzf %{SOURCE24} -C tw
-tar xzf %{SOURCE25} -C zh
+tar xzf %{SOURCE24} -C tw --strip-components=1
+tar xzf %{SOURCE25} -C zh --strip-components=1
+
+find -name CVS | xargs rm -vf
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_docdir}
+for a in */; do
+ lang=${a%/}
+ cp -a $lang $RPM_BUILD_ROOT%{_docdir}/%{name}-$lang
+done
%clean
rm -rf $RPM_BUILD_ROOT
%files en
%defattr(644,root,root,755)
-%doc en/html
+%doc %{_docdir}/%{name}-en
#%files ar
#%defattr(644,root,root,755)
-#%doc ar/*
+#%doc %{_docdir}/%{name}-ar
%files cs
%defattr(644,root,root,755)
-%doc cs/html
+%doc %{_docdir}/%{name}-cs
%files da
%defattr(644,root,root,755)
-%doc da/html
+%doc %{_docdir}/%{name}-da
%files de
%defattr(644,root,root,755)
-%doc de/html
+%doc %{_docdir}/%{name}-de
%files el
%defattr(644,root,root,755)
-%doc el/html
+%doc %{_docdir}/%{name}-el
%files es
%defattr(644,root,root,755)
-%doc es/html
+%doc %{_docdir}/%{name}-es
%files fi
%defattr(644,root,root,755)
-%doc fi/html
+%doc %{_docdir}/%{name}-fi
%files fr
%defattr(644,root,root,755)
-%doc fr/html
+%doc %{_docdir}/%{name}-fr
%files he
%defattr(644,root,root,755)
-%doc he/*
+%doc %{_docdir}/%{name}-he
%files hu
%defattr(644,root,root,755)
-%doc hu/html
+%doc %{_docdir}/%{name}-hu
%files it
%defattr(644,root,root,755)
-%doc it/html
+%doc %{_docdir}/%{name}-it
%files ja
%defattr(644,root,root,755)
-%doc ja/html
+%doc %{_docdir}/%{name}-ja
%files ko
%defattr(644,root,root,755)
-%doc kr/*
+%doc %{_docdir}/%{name}-kr
%files nl
%defattr(644,root,root,755)
-%doc nl/[a-m]*
-%doc nl/[!a-m]*
+%doc %{_docdir}/%{name}-nl
%files pl
%defattr(644,root,root,755)
-%doc pl/html
+%doc %{_docdir}/%{name}-pl
%files pt_BR
%defattr(644,root,root,755)
-%doc pt_BR/html
+%doc %{_docdir}/%{name}-pt_BR
%files ro
%defattr(644,root,root,755)
-%doc ro/[a-m]*
-%doc ro/[!a-m]*
+%doc %{_docdir}/%{name}-ro
%files ru
%defattr(644,root,root,755)
-%doc ru/html
+%doc %{_docdir}/%{name}-ru
%files sk
%defattr(644,root,root,755)
-%doc sk/html
+%doc %{_docdir}/%{name}-sk
%files sl
%defattr(644,root,root,755)
-%doc sl/[a-m]*
-%doc sl/[!a-m]*
+%doc %{_docdir}/%{name}-sl
%files sv
%defattr(644,root,root,755)
-%doc sv/html
+%doc %{_docdir}/%{name}-sv
%files tr
%defattr(644,root,root,755)
-%doc tr/*
+%doc %{_docdir}/%{name}-tr
%files zh_CN
%defattr(644,root,root,755)
-%doc zh/html
+%doc %{_docdir}/%{name}-zh
%files zh_HK
%defattr(644,root,root,755)
-%doc hk/[a-m]*
-%doc hk/[!a-m]*
+%doc %{_docdir}/%{name}-hk
%files zh_TW
%defattr(644,root,root,755)
-%doc tw/html
+%doc %{_docdir}/%{name}-tw
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -512,6 +516,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2007/04/23 20:44:45 glen
+- update to 20070417
+
Revision 1.9 2007/02/13 08:06:39 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php-manual.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list