SPECS (DEVEL): php-pear-PhpDocumentor.spec - pear/XML_Beautifier i...
glen
glen at pld-linux.org
Sun Sep 18 11:23:25 CEST 2005
Author: glen Date: Sun Sep 18 09:23:25 2005 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- pear/XML_Beautifier is optional
---- Files affected:
SPECS:
php-pear-PhpDocumentor.spec (1.11.2.8 -> 1.11.2.9)
---- Diffs:
================================================================
Index: SPECS/php-pear-PhpDocumentor.spec
diff -u SPECS/php-pear-PhpDocumentor.spec:1.11.2.8 SPECS/php-pear-PhpDocumentor.spec:1.11.2.9
--- SPECS/php-pear-PhpDocumentor.spec:1.11.2.8 Sun Sep 18 11:04:04 2005
+++ SPECS/php-pear-PhpDocumentor.spec Sun Sep 18 11:23:20 2005
@@ -1,8 +1,7 @@
# $Revision$, $Date$
-# ToDo:
+# TODO:
# - solve requires issue (something like patch0, but a bit extended?)
# - maybe PhpDocumentor.ini should go to /etc/php ?
-# - Requires: ... pear(@WEB-DIR@/PhpDocumentor/docbuilder/includes/utilities.php)
# - smarty plugins to /usr/share/pear/Smarty ?
%include /usr/lib/rpm/macros.php
%define _class PhpDocumentor
@@ -14,7 +13,7 @@
Name: php-pear-%{_pearname}
Version: 1.3.0
%define _rc RC3
-Release: 0.%{_rc}.5
+Release: 0.%{_rc}.6
License: PHP 3.00
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}%{_rc}.tgz
@@ -35,7 +34,8 @@
# don't require %{php_pear_dir}/data files we provide.
# TODO treemenu needs patching (removing from this package)
-%define _noautoreq 'pear(phpDocumentor/.*)' 'pear(%{php_pear_dir}/data)' 'pear(HTML_TreeMenu-1.1.2/TreeMenu.php)'
+# pear/PhpDocumentor can optionally use package "pear/XML_Beautifier" (version >= 1.1)
+%define _noautoreq 'pear(phpDocumentor/.*)' 'pear(%{php_pear_dir}/data/.*)' 'pear(XML/Beautifier/.*)' 'pear(HTML_TreeMenu-1.1.2/TreeMenu.php)'
%description
The phpDocumentor tool is a standalone auto-documentor similar to
@@ -132,7 +132,7 @@
#%patch1 -p1
# useless
-cd .%{php_pear_dir}
+cd ./%{php_pear_dir}
rm -rf tests/PhpDocumentor/Documentation/tests
# patch the sources
@@ -165,11 +165,15 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+echo 'pear/PhpDocumentor can optionally use package "pear/XML_Beautifier" (version >= 1.1)'
+
%files
%defattr(644,root,root,755)
%doc ./%{_docdir}/%{_pearname}/{Authors,ChangeLog,FAQ,INSTALL,PHPLICENSE.txt,README,Release*}
%doc ./%{_docdir}/%{_pearname}/{Documentation,tutorials}
%doc ./%{_bindir}/scripts
+# registry missing.
#%{php_pear_dir}/.registry/*.reg
%attr(755,root,root) %{_bindir}/phpdoc
@@ -182,6 +186,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11.2.9 2005/09/18 09:23:20 glen
+- pear/XML_Beautifier is optional
+
Revision 1.11.2.8 2005/09/18 09:04:04 glen
- freshes pear package devs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php-pear-PhpDocumentor.spec?r1=1.11.2.8&r2=1.11.2.9&f=u
More information about the pld-cvs-commit
mailing list