Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2
perl-Finance-Quote
perl-Finance-Quote.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Finance-Quote.spec of Package perl-Finance-Quote
# # spec file for package perl-Finance-Quote # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Finance-Quote Url: http://finance-quote.sourceforge.net/ %define cpan_name Finance-Quote Summary: Get stock and mutual fund quotes from various exchange License: GPL-2.0+ Group: Development/Libraries/Perl Version: 1.35 Release: 0 Source: http://www.cpan.org/authors/id/E/EC/ECOCODE/%{cpan_name}-%{version}.tar.gz Patch11: perl-Finance-Quote-debian-03_whatis.patch Patch12: perl-Finance-Quote-debian-04_deka.patch Patch13: perl-Finance-Quote-debian-06_seb.patch Patch15: perl-Finance-Quote-debian-10_whatis.patch Patch60: perl-Finance-Quote-66235-Cdnfundlibrary-row.patch Patch63: perl-Finance-Quote-64897-0001-adopted-to-site-changes.patch Patch64: perl-Finance-Quote-64897-0002-support-palladium-lookup.patch Patch101: perl-Finance-Quote-goldmoney-decimal-point.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl(Crypt::SSLeay) BuildRequires: perl(Date::Calc) BuildRequires: perl(HTML::Parser) BuildRequires: perl(HTML::TableExtract) BuildRequires: perl(HTML::TokeParser) BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(HTTP::Status) BuildRequires: perl(JSON) BuildRequires: perl(LWP::Simple) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Time::Piece) BuildRequires: perl(URI) BuildRequires: perl(URI::Escape) BuildRequires: perl(URI::QueryParam) Requires: perl(Crypt::SSLeay) Requires: perl(Date::Calc) Requires: perl(HTML::Parser) Requires: perl(HTML::TableExtract) Requires: perl(HTML::TokeParser) Requires: perl(HTML::TreeBuilder) Requires: perl(HTTP::Cookies) Requires: perl(HTTP::Headers) Requires: perl(HTTP::Request::Common) Requires: perl(HTTP::Status) Requires: perl(JSON) Requires: perl(LWP::Simple) Requires: perl(LWP::UserAgent) Requires: perl(Time::Piece) Requires: perl(URI) Requires: perl(URI::Escape) Requires: perl(URI::QueryParam) %{perl_requires} BuildRequires: perl BuildRequires: perl-macros %description 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 deprecated, 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 %{cpan_name}-%{version} %patch11 %patch12 %patch13 %patch15 %patch60 -p1 %patch63 -p1 %patch64 -p1 %patch101 -p1 rm -f lib/Finance/*.orig lib/Finance/Quote/*.orig #mv Documentation/README Documentation/README2 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc ChangeLog.1 Changes LICENSE README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor