diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-12-21 13:58:43 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-12-21 13:58:43 +0100 |
commit | 137acd8ce8cfd9a9dac177cd3807a0be96cabcad (patch) | |
tree | eaa337d8e5212df0036971e66a72e62e5d5ccb7b | |
parent | 64caae043d51bf99c22aae01fa2dae69ab60132f (diff) |
php-bartlett-PHP-CompatInfo 2.11.0
-rw-r--r-- | PHP_CompatInfo-addhtml.patch | 14 | ||||
-rw-r--r-- | PHP_CompatInfo-del.patch | 16 | ||||
-rw-r--r-- | php-bartlett-PHP-CompatInfo.spec | 46 |
3 files changed, 8 insertions, 68 deletions
diff --git a/PHP_CompatInfo-addhtml.patch b/PHP_CompatInfo-addhtml.patch deleted file mode 100644 index dd1064f..0000000 --- a/PHP_CompatInfo-addhtml.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up PHP_CompatInfo-2.1.0/php-bartlett-PHP-CompatInfo.xml.addhtml PHP_CompatInfo-2.1.0/php-bartlett-PHP-CompatInfo.xml ---- PHP_CompatInfo-2.1.0/php-bartlett-PHP-CompatInfo.xml.addhtml 2011-09-20 18:22:05.525712911 +0200 -+++ PHP_CompatInfo-2.1.0/php-bartlett-PHP-CompatInfo.xml 2011-09-20 18:23:53.312153155 +0200 -@@ -785,5 +785,10 @@ Bug fixes: - <tasks:replace from="@package_version@" to="version" type="package-info" /> - </file> -+ <file baseinstalldir="Bartlett" name="docs/index.html" role="doc" /> -+ <file baseinstalldir="Bartlett" name="docs/INSTALL.html" role="doc" /> -+ <file baseinstalldir="Bartlett" name="docs/LICENSE.html" role="doc" /> -+ <file baseinstalldir="Bartlett" name="docs/phpci-book.html" role="doc" /> -+ <file baseinstalldir="Bartlett" name="docs/CHANGELOG.html" role="doc" /> - </dir> - </contents> - <dependencies> diff --git a/PHP_CompatInfo-del.patch b/PHP_CompatInfo-del.patch deleted file mode 100644 index db4272a..0000000 --- a/PHP_CompatInfo-del.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up PHP_CompatInfo-2.2.2/php-bartlett-PHP-CompatInfo.xml.del PHP_CompatInfo-2.2.2/php-bartlett-PHP-CompatInfo.xml ---- PHP_CompatInfo-2.2.2/php-bartlett-PHP-CompatInfo.xml.del 2012-02-09 10:28:33.000000000 +0100 -+++ PHP_CompatInfo-2.2.2/php-bartlett-PHP-CompatInfo.xml 2012-02-09 19:08:19.000000000 +0100 -@@ -135,12 +135,6 @@ Bug fixes: - <file baseinstalldir="Bartlett" md5sum="adcac4a13f10988d55dc357ff91aee0e" name="docs/images/thumb_summary2.png" role="doc"> - <tasks:replace from="@package_version@" to="version" type="package-info" /> - </file> -- <file baseinstalldir="Bartlett" md5sum="a3e60e26c6b1b9271c48e16dda9b6e03" name="docs/js/asciidoc-xhtml11.js" role="doc"> -- <tasks:replace from="@package_version@" to="version" type="package-info" /> -- </file> -- <file baseinstalldir="Bartlett" md5sum="9f32dfead2e0cdcf5e3157a4f8cb0a3b" name="docs/js/asciidoc.js" role="doc"> -- <tasks:replace from="@package_version@" to="version" type="package-info" /> -- </file> - <file baseinstalldir="Bartlett" md5sum="16cfb6e94de43a22241c92bed60d02c2" name="docs/styles/flask.css" role="doc"> - <tasks:replace from="@package_version@" to="version" type="package-info" /> - </file> diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index 422d9aa..34854f5 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -3,19 +3,13 @@ %global pear_name PHP_CompatInfo %global channel bartlett.laurent-laville.org -%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 -%global withhtmldoc 1 -%else -%global withhtmldoc 0 -%endif - -# TODO : link /usr/share/pear/data/PHP_CompatInfo/misc/jquery-1.5.min.js +# TODO : link /usr/share/pear/data/PHP_CompatInfo/misc/jquery-min.js # to system jquery when available, then fix License (BSD only) Name: php-bartlett-PHP-CompatInfo -Version: 2.10.0 -Release: 2%{?dist} +Version: 2.11.0 +Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run Group: Development/Libraries @@ -24,12 +18,6 @@ License: BSD and MIT URL: http://php5.laurent-laville.org/compatinfo/ Source0: http://bartlett.laurent-laville.org/get/%{pear_name}-%{version}%{?prever}.tgz -# Remove unused asciidoc*.js scripts -Patch1: %{pear_name}-del.patch -# Install generated doc using pear command -Patch2: %{pear_name}-addhtml.patch - - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear(PEAR) >= 1.9.0 @@ -37,11 +25,6 @@ BuildRequires: php-channel(%{channel}) # to run test suite BuildRequires: php-pear(pear.phpunit.de/PHPUnit) >= 3.6.0 BuildRequires: php-pear(%{channel}/PHP_Reflect) >= 1.5.0 -%if %{withhtmldoc} -# to build HTML documentation -BuildRequires: asciidoc >= 8.4.0 -BuildRequires: source-highlight -%endif Requires(post): %{__pear} Requires(postun): %{__pear} @@ -70,11 +53,7 @@ version and extensions required for it to run. CLI version has many reports (extension, interface, class, function, constant) to display and ability to show content of dictionary references. -%if %{withhtmldoc} -HTML Documentation: %{pear_docdir}/%{pear_name}/docs/index.html -%else -Documentation: http://php5.laurent-laville.org/compatinfo/manual/current/en/ -%endif +HTML Documentation: %{pear_docdir}/%{pear_name}/docs/html/index.html %prep @@ -84,23 +63,10 @@ Documentation: http://php5.laurent-laville.org/compatinfo/manual/current/en/ cd %{pear_name}-%{version}%{?prever} mv -f ../package.xml %{name}.xml -%patch1 -p1 -b .del -%if %{withhtmldoc} -%patch2 -p1 -b .addhtml -%endif - %build cd %{pear_name}-%{version}%{?prever} -%if %{withhtmldoc} -for page in index INSTALL CHANGELOG LICENSE phpci-book; do - asciidoc -a linkcss -a icons -a theme=flask -a toc2 -n --safe \ - -o $PWD/docs/$page.html $PWD/docs/$page.txt || : - [ -f $PWD/docs/$page.html ] || exit 1 -done -%endif - %install rm -rf %{buildroot} @@ -176,6 +142,10 @@ fi %changelog +* Fri Dec 21 2012 Remi Collet <remi@fedoraproject.org> - 2.11.0-1 +- update to Version 2.11.0 +- html documentation is now provided by upstream + * Mon Nov 26 2012 Remi Collet <remi@fedoraproject.org> - 2.10.0-2 - generate documentation using asciidoc, without phing |