[php-bartlett-PHP-CompatInfo/f17] - add upstream man page (from github) - Update to 2.15.0 - raise dependencies, PHP_Reflect 1.6.2

Remi Collet remi at fedoraproject.org
Fri Apr 12 10:07:04 UTC 2013


commit 6b6f5a73fe9eac115a6249b6d64b029933bd870e
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Apr 12 11:59:54 2013 +0200

    - add upstream man page (from github)
    - Update to 2.15.0
    - raise dependencies, PHP_Reflect 1.6.2

 .gitignore                       |    1 +
 php-bartlett-PHP-CompatInfo.spec |   17 ++++-
 phpci.1                          |  149 ++++++++++++++++++++++++++++++++++++++
 sources                          |    2 +-
 4 files changed, 165 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c7c81aa..5d9104b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ package-*.xml
 /PHP_CompatInfo-2.13.2.tgz
 /PHP_CompatInfo-2.14.0.tgz
 /PHP_CompatInfo-2.14.1.tgz
+/PHP_CompatInfo-2.15.0.tgz
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index 6b7516b..9668e27 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -8,7 +8,7 @@
 
 
 Name:           php-bartlett-PHP-CompatInfo
-Version:        2.14.1
+Version:        2.15.0
 Release:        1%{?dist}
 Summary:        Find out version and the extensions required for a piece of code to run
 
@@ -17,6 +17,7 @@ Group:          Development/Libraries
 License:        BSD and MIT
 URL:            http://php5.laurent-laville.org/compatinfo/
 Source0:        http://bartlett.laurent-laville.org/get/%{pear_name}-%{version}%{?prever}.tgz
+Source1:        https://raw.github.com/llaville/php-compat-info/master/misc/phpci.1
 
 # Update configuration for best experience
 # Reference = ALL known extension (instead of installed ones)
@@ -29,7 +30,7 @@ BuildRequires:  php-pear(PEAR) >= 1.9.0
 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.6.1
+BuildRequires:  php-pear(%{channel}/PHP_Reflect) >= 1.6.2
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
@@ -41,7 +42,7 @@ Requires:       php-pcre
 Requires:       php-reflection
 Requires:       php-spl
 Requires:       php-pear(PEAR) >= 1.9.0
-Requires:       php-pear(%{channel}/PHP_Reflect) >= 1.6.1
+Requires:       php-pear(%{channel}/PHP_Reflect) >= 1.6.2
 Requires:       php-pear(Console_CommandLine) >= 1.2.0
 # Optional
 Requires:       php-pear(pear.phpunit.de/PHPUnit) >= 3.6.0
@@ -96,6 +97,10 @@ sed -i -e 's/\r//' %{buildroot}%{_bindir}/phpci
 # Create default package configuration
 install -pm 644 phpcompatinfo.xml %{buildroot}%{pear_cfgdir}/%{pear_name}/
 
+# Install the man page
+mkdir -p %{buildroot}%{_mandir}/man1
+install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/phpci.1
+
 
 %check
 cd %{pear_name}-%{version}%{?prever}
@@ -145,9 +150,15 @@ fi
 %{pear_testdir}/%{pear_name}
 %{pear_datadir}/%{pear_name}
 %{_bindir}/phpci
+%{_mandir}/man1/phpci.*
 
 
 %changelog
+* Fri Apr 12 2013 Remi Collet <remi at fedoraproject.org> - 2.15.0-2
+- add upstream man page (from github)
+- Update to 2.15.0
+- raise dependencies, PHP_Reflect 1.6.2
+
 * Tue Apr 02 2013 Remi Collet <remi at fedoraproject.org> - 2.14.1-1
 - Update to 2.14.1
 - make cache path user dependent
diff --git a/phpci.1 b/phpci.1
new file mode 100644
index 0000000..38664fc
--- /dev/null
+++ b/phpci.1
@@ -0,0 +1,149 @@
+'\" t
+.\"     Title: phpci
+.\"    Author: [see the "AUTHORS" section]
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
+.\"      Date: 03/19/2013
+.\"    Manual: \ \&
+.\"    Source: \ \&
+.\"  Language: English
+.\"
+.TH "PHPCI" "1" "03/19/2013" "\ \&" "\ \&"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+phpci \- parse any data source to find out the minimum version and extensions required for it to run
+.SH "SYNOPSIS"
+.sp
+\fBphpci\fR [\fIOPTIONS\fR] \fICOMMAND\fR [\fIOPTS\fR] [\fIDATASOURCE\fR]
+.SH "DESCRIPTION"
+.sp
+The phpci(1) command parse any \fIDATASOURCE\fR to find out the minimum PHP version and extensions required\&.
+.SH "OPTIONS"
+.PP
+\fB\-\-configuration\fR=\fIXMLFILE\fR
+.RS 4
+Read configuration options from
+\fIXMLFILE\fR\&. All command line options will overrides those that are defined in this xml file\&.
+.RE
+.PP
+\fB\-\-no\-configuration\fR
+.RS 4
+Ignore default configuration files:
+\fIphpcompatinfo\&.xml\fR,
+\fIphpcompatinfo\&.xml\&.dist\fR\&.
+.RE
+.PP
+\fB\-d, \-\-ini\-set\fR=\fIINI_SET\fR
+.RS 4
+Sets a php\&.ini directive value\&. This option may be specified more than once\&.
+.RE
+.PP
+\fB\-v, \-\-verbose\fR
+.RS 4
+Verbosely print processing information and warning messages\&.
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+[\fITOPIC\fR] \-h, \-\-help*:: Print help TOPIC\&.
+\fItopic\fR\fB\-\-help\fR
+will print help content about a topic,
+\fB\-\-help\fR
+summarizes phpci syntax\&.
+.RE
+.RE
+.PP
+\fB\-\-version\fR
+.RS 4
+Print program version number\&.
+.RE
+.SH "PRINT COMMAND"
+.sp
+The phpci(1) \fIPRINT\fR command is used to find out minimum php version to run data source code provided\&. Syntax:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+phpci print [OPTION] DATA_SOURCE
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+Where:
+.PP
+\fBOPTION\fR
+.RS 4
+phpci(1)
+\fB\-\-report\fR
+option specifying the type of result to print on stdout\&. See
+\fB\-\-help\-report\fR
+option for valid choices\&.
+.RE
+.PP
+\fBDATA_SOURCE\fR
+.RS 4
+The source path to scan\&.
+.RE
+.sp
+The commands perform as follows:
+.PP
+\fBprint\fR
+.RS 4
+Print report on stdout or into a file if
+\fB\-\-report\-file\fR
+option is in effect\&.
+.RE
+.SH "EXIT STATUS"
+.PP
+\fB0\fR
+.RS 4
+Success
+.RE
+.PP
+\fB1\fR
+.RS 4
+Failure (syntax or usage error; configuration error; unexpected error)\&.
+.RE
+.SH "BUGS"
+.sp
+Report any issue at https://github\&.com/llaville/php\-compat\-info/issues
+.SH "AUTHORS"
+.sp
+PHP_CompatInfo was originally written by Davey Shafik in 2004\&.
+.sp
+Remi Collet, contributor of many extensions reference and unit tests, joined the project since version 2\&.0\&.0RC2
+.sp
+This CLI version was introduced and written by Laurent Laville\&.
+.SH "SEE ALSO"
+.sp
+Main web site: http://php5\&.laurent\-laville\&.org/compatinfo/
+.SH "COPYRIGHT"
+.sp
+Copyright (C) 2010\-2013 Laurent Laville\&.
+.SH "LICENSE"
+.sp
+Free use of this software is granted under the terms of the BSD 3\-clause license\&.
diff --git a/sources b/sources
index a93b105..df0e101 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8202cff7a77058754f3cb09e3dd0ce7  PHP_CompatInfo-2.14.1.tgz
+c8e95042b0bfcde77e85ed9e4f860222  PHP_CompatInfo-2.15.0.tgz


More information about the scm-commits mailing list