SPECS: perl-Finance-Quote.spec - better summary and description

paszczus paszczus at pld-linux.org
Fri Jul 13 16:18:05 CEST 2007


Author: paszczus                     Date: Fri Jul 13 14:18:05 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- better summary and description

---- Files affected:
SPECS:
   perl-Finance-Quote.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Finance-Quote.spec
diff -u SPECS/perl-Finance-Quote.spec:1.1 SPECS/perl-Finance-Quote.spec:1.2
--- SPECS/perl-Finance-Quote.spec:1.1	Fri Jul 13 14:21:50 2007
+++ SPECS/perl-Finance-Quote.spec	Fri Jul 13 16:18:00 2007
@@ -7,11 +7,11 @@
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	Finance
 %define		pnam	Quote
-Summary:	Get stock and mutual fund quotes from various exchanges
+Summary:	Finance::Quote - Get stock and mutual fund quotes from various exchanges
 Name:		perl-Finance-Quote
 Version:	1.13
 Release:	1
-License:	same as perl
+License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Finance/%{pdir}-%{pnam}-%{version}.tar.gz
 URL:		http://search.cpan.org/dist/Finance-Quote/
@@ -21,7 +21,21 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Get stock and mutual fund quotes from various exchange.
+This module gets stock quotes from various internet sources, including
+Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.
+There are two methods of using this module -- a functional interface
+that is depreciated, and an object-orientated method that provides
+greater flexibility and stability.
+
+With the exception of straight currency exchange rates, all information
+is returned as a two-dimensional hash (or a reference to such a hash,
+if called in a scalar context).  For example:
+
+    %info = $q->fetch("australia","CML");
+    print "The price of CML is ".$info{"CML","price"};
+
+The first part of the hash (eg, "CML") is referred to as the stock.
+The second part (in this case, "price") is referred to as the label.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -58,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/07/13 14:18:00  paszczus
+- better summary and description
+
 Revision 1.1  2007/07/13 12:21:50  paszczus
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Finance-Quote.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list