Name: perl-Finance-Quote Version: 1.5301 Release: 1%{?dist} Summary: A Perl module that retrieves stock and mutual fund quotes License: GPL-2.0-or-later URL: https://metacpan.org/release/Finance-Quote Source0: https://cpan.metacpan.org/modules/by-module/Finance/Finance-Quote-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter >= 4:5.10.0 BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Data::Dumper) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Format::Strptime) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(HTML::TableExtract) BuildRequires: perl(HTML::TokeParser) BuildRequires: perl(HTML::TokeParser::Simple) BuildRequires: perl(HTML::TreeBuilder) BuildRequires: perl(HTML::TreeBuilder::XPath) BuildRequires: perl(HTTP::Cookies) BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(HTTP::Status) BuildRequires: perl(if) BuildRequires: perl(IO::Uncompress::Unzip) BuildRequires: perl(JSON) BuildRequires: perl(LWP::Protocol::https) BuildRequires: perl(LWP::Simple) BuildRequires: perl(LWP::UserAgent) >= 6.48 BuildRequires: perl(Module::Load) BuildRequires: perl(POSIX) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Spreadsheet::XLSX) BuildRequires: perl(strict) BuildRequires: perl(String::Util) BuildRequires: perl(Text::Template) BuildRequires: perl(Time::Piece) BuildRequires: perl(Time::Seconds) BuildRequires: perl(Try::Tiny) BuildRequires: perl(utf8) BuildRequires: perl(vars) BuildRequires: perl(warnings) BuildRequires: perl(Web::Scraper) BuildRequires: perl(XML::LibXML) # Test Suite BuildRequires: perl(Date::Manip) BuildRequires: perl(Date::Range) BuildRequires: perl(Date::Simple) BuildRequires: perl(DateTime::Duration) BuildRequires: perl(DateTime::Format::ISO8601) BuildRequires: perl(feature) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod::Coverage) # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(LWP::Protocol::https) %description This module retrieves stock and mutual fund quotes from various exchanges using various source. %prep %setup -q -n Finance-Quote-%{version} # Remove redundant exec permissions find lib/ -type f -name '*.pm' -exec chmod -c -x {} \; # Avoid documentation name clash cp -p README README.dist %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check unset DEBUG make test %files %license LICENSE %doc Change* Documentation/* README.dist %{perl_vendorlib}/Finance/ %{_mandir}/man3/Finance::Quote.3* %{_mandir}/man3/Finance::Quote::AEX.3* %{_mandir}/man3/Finance::Quote::AlphaVantage.3* %{_mandir}/man3/Finance::Quote::ASEGR.3* %{_mandir}/man3/Finance::Quote::ASX.3* %{_mandir}/man3/Finance::Quote::Bloomberg.3* %{_mandir}/man3/Finance::Quote::Bourso.3* %{_mandir}/man3/Finance::Quote::BSEIndia.3* %{_mandir}/man3/Finance::Quote::CSE.3* %{_mandir}/man3/Finance::Quote::Cdnfundlibrary.3* %{_mandir}/man3/Finance::Quote::Comdirect.3* %{_mandir}/man3/Finance::Quote::Currencies.3* %{_mandir}/man3/Finance::Quote::CurrencyRates::AlphaVantage.3* %{_mandir}/man3/Finance::Quote::CurrencyRates::ECB.3* %{_mandir}/man3/Finance::Quote::CurrencyRates::Fixer.3* %{_mandir}/man3/Finance::Quote::CurrencyRates::OpenExchange.3* %{_mandir}/man3/Finance::Quote::DWS.3* %{_mandir}/man3/Finance::Quote::Deka.3* %{_mandir}/man3/Finance::Quote::FTfunds.3* %{_mandir}/man3/Finance::Quote::Fidelity.3* %{_mandir}/man3/Finance::Quote::Finanzpartner.3* %{_mandir}/man3/Finance::Quote::Fondsweb.3* %{_mandir}/man3/Finance::Quote::Fool.3* %{_mandir}/man3/Finance::Quote::Fundata.3* %{_mandir}/man3/Finance::Quote::GoldMoney.3* %{_mandir}/man3/Finance::Quote::HU.3* %{_mandir}/man3/Finance::Quote::IEXCloud.3* %{_mandir}/man3/Finance::Quote::IndiaMutual.3* %{_mandir}/man3/Finance::Quote::MStaruk.3* %{_mandir}/man3/Finance::Quote::MorningstarAU.3* %{_mandir}/man3/Finance::Quote::MorningstarCH.3* %{_mandir}/man3/Finance::Quote::MorningstarJP.3* %{_mandir}/man3/Finance::Quote::NSEIndia.3* %{_mandir}/man3/Finance::Quote::NZX.3* %{_mandir}/man3/Finance::Quote::OnVista.3* %{_mandir}/man3/Finance::Quote::Oslobors.3* %{_mandir}/man3/Finance::Quote::SEB.3* %{_mandir}/man3/Finance::Quote::SIX.3* %{_mandir}/man3/Finance::Quote::TesouroDireto.3* %{_mandir}/man3/Finance::Quote::TMX.3* %{_mandir}/man3/Finance::Quote::Tradeville.3* %{_mandir}/man3/Finance::Quote::TSP.3* %{_mandir}/man3/Finance::Quote::Tiaacref.3* %{_mandir}/man3/Finance::Quote::TreasuryDirect.3* %{_mandir}/man3/Finance::Quote::Troweprice.3* %{_mandir}/man3/Finance::Quote::Union.3* %{_mandir}/man3/Finance::Quote::YahooJSON.3* %{_mandir}/man3/Finance::Quote::ZA.3* %changelog * Wed Oct 12 2022 Gwyn Ciesla - 1.5301-1 - 1.5301 * Sun Oct 9 2022 Paul Howarth - 1.53-1 - Update to 1.53 (rhbz#2133215) - Changed bug tracker to https://github.com/finance-quote/finance-quote/issues - DWS.pm - Set $info{$symbol, 'symbol'} to $symbol - Union.pm - Reworked for a different CSV file (GH#231) - CurrencyRates/AlphaVantage.pm - API CURRENCY_EXCHANGE_RATE no longer accepts free API keys: changed to use FX_DAILY API (GH#229, GH#230) - Set minimum version for LWP::UserAgent to honor redirects - CurrencyRates/AlphaVantage.pm - Added logic to account for empty JSON returned from currency exchange fetch - Bourso.pm - Added Europe and France back as failover methods - Tradeville.pm - Changed hostname in URL to tradeville.ro, and added logic to better account for the symbol not being found - YahooJSON.pm - Account for symbols with '&' (GH#202) - Minor change to isoTime function in Quote.pm - TSP.pm - Update URL and handling of dates (GH#227) - Use SPDX-format license tag * Fri Jul 22 2022 Fedora Release Engineering - 1.52-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 4 2022 Paul Howarth - 1.52-1 - Update to 1.52 - Quote.pm: Fixed logic for FQ_LOAD_QUOTELET starting with "-defaults" (GH#197, GH#199) - AlphaVantage currency module: Don't recurse infinitely when exchange rate is less than .001 (GH#193) - Bourso.pm: Fixed data bug (GH#174, GH#194) - TSP.pm: Minor fix for URL used to retrieve data (GH#195); note: URL was changed after the PR was merged and the module remains in a non-working status - TesouroDireto.pm: New module for Brazilian's National Treasury public bonds (GH#198) - Bloomberg.pm: Update Bloomberg class names (GH#205), correct html parsing errors - MorningstarCH.pm: Re-enabled and fixed (GH#207) - ZA.pm: Change to return price from sharenet in major denomination (GH#208) - Changes to SourceForge project website HTML files - Add [Prereqs] to dist.ini (GH#215) * Wed Jun 01 2022 Jitka Plesnikova - 1.51-4 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.51-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Nov 10 2021 Paul Howarth - 1.51-2 - Add explicit dependency on perl(LWP::Protocol::https) (#2021755) * Thu Jul 22 2021 Paul Howarth - 1.51-1 - Update to 1.51 - Fix bugs in t/fq-object-methods.t - Add code to hide warning in t/currency_lookup.t * Thu Jul 22 2021 Paul Howarth - 1.50-1 - Update to 1.50 - New modules: CurrencyRates - Updated modules: ASX, TIAA-CREF, Fool, Currencies - Corrected some POD issues (thanks to the Debian Perl Group) - Add patch to fix FTBFS due to online test (GH#177) - Use %%license unconditionally * Thu Jul 22 2021 Fedora Release Engineering - 1.49-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.49-7 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.49-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.49-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.49-4 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.49-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.49-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 30 2019 Paul Howarth - 1.49-1 - Update to 1.49 - Alphavantage: Removed Time::HiRes dependency due to mswin32 not supporting clock_gettime calls * Sun Jun 30 2019 Paul Howarth - 1.48-1 - Update to 1.48 - Alphavantage: Add a waiting mechanism to comply with alphavantage use terms - Alphavantage: Added support for several stock exchanges and currencies - Updated modules: Union, Deka, Indiamutual, ASX, Yahoojson, TSP, AEX, Fool - New modules: IEXTrading, MorningstarAU, MorningstarCH, IEXCloud - Yahoo: removed modules referring to yahoo API, which yahoo stopped - BUGFIX: 'use of uninitialized value' returned by perl could make gnucash fail when more than 15 quotes were requested - BUGFIX: MS Windows does not support %%T in strftime call - Added new documentation files: Release.txt, Hackers-Guide, Modules-README.yml - We started moving known failing tests into TODO blocks - Fix FTfunds (CPAN RT#129586) * Fri May 31 2019 Jitka Plesnikova - 1.47-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.47-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.47-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.47-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.47-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Nov 13 2017 Paul Howarth - 1.47-1 - Update to 1.47 - Drop long-obsolete debian directory - AlphaVantage: - Added support for .IL ⇒ USD currency and division - Graceful error catchup - Yahoojson: - Module adapted to new URL and returned json - Use AlphaVantage for currency quotes instead of Yahoo * Fri Nov 10 2017 Paul Howarth - 1.45-1 - Update to 1.45 - AlphaVantage: - More suffix - currency pairs added - GBP and GBX divided by 100 * Wed Nov 8 2017 Paul Howarth - 1.44-1 - Update to 1.44 - Added currencies for .SA (Brazil) and .TO (Canada/Toronto) markets - Set up a pause of .7s between queries in AlphaVantage.pm to limit queries * Tue Nov 7 2017 Paul Howarth - 1.43-1 - Update to 1.43 - More tests in alphavantage.t - Bug resolved: removed time from $last_refresh when markets are open - Added currency for .DE market - Bugfix in currency determination regex * Mon Nov 6 2017 Paul Howarth - 1.41-1 - Update to 1.41 - Added AlphaVantage module - Some other module changes: yahoojson, Morningstar, Bourso, ASX, TSX (not working) - Simplify find command using -delete * Thu Jul 27 2017 Fedora Release Engineering - 1.38-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 1.38-5 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.38-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1.38-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.38-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Aug 31 2015 Paul Howarth - 1.38-1 - Update to 1.38 - Module updates: tiaacref, yahooJSON, FTfunds, MStaruk, USFedBonds, GoldMoney - New modules: fidelityfixed, yahooYQL - Removed modules: MTGox - More tests: yahoo_speed.t, tiaacref.t - Avoid documentation name clash between two README files * Thu Jun 18 2015 Fedora Release Engineering - 1.37-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.37-3 - Perl 5.22 rebuild * Tue Feb 24 2015 Paul Howarth - 1.37-2 - Fix GBX pricing in FTfunds (CPAN RT#99783) - Fix MStaruk quote retrieval (CPAN RT#99784) * Mon Feb 2 2015 Paul Howarth - 1.37-1 - Update to 1.37 - MorningstarJP: changed dependency from Date::Calc to DateTime - Modified 00-use.t to show more info - Remove Crypt::SSLeay dependency in favour of LWP::Protocol::https - Updated HU.pm and test file to current website * Fri Nov 14 2014 Paul Howarth - 1.35-1 - Update to 1.35 - Clean up and modernize spec somewhat (can't build for EL < 7 as the module requires Mozilla::CA) * Fri Aug 29 2014 Jitka Plesnikova - 1.20-4 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Feb 18 2014 Bill Nottingham - 1.20-2 - add missing https requires (#859607) * Mon Feb 17 2014 Bill Nottingham - 1.20-1 - update to 1.20 * Sun Aug 04 2013 Petr Pisar - 1.17-13 - Perl 5.18 rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.17-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.17-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.17-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 25 2012 Petr Pisar - 1.17-9 - Perl 5.16 rebuild - Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering - 1.17-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 1.17-7 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.17-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 12 2011 Bill Nottingham - 1.17-5 - fix TIAA-CREF (#668935, ) * Mon Dec 06 2010 Bill Nottingham - 1.17-4 - fix buildrequires for F-15 * Sat May 01 2010 Marcela Maslanova - 1.17-3 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.17-2 - rebuild against perl 5.10.1 * Mon Nov 23 2009 Bradley Baetz - 1.17-1 - Update to 1.17 - Add extra BuildRequires needed for tests to pass * Sat Jul 25 2009 Fedora Release Engineering - 1.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 1.13-2 Rebuild for new perl * Wed Sep 26 2007 Bill Nottingham - add perl(ExtUtils::MakeMaker) buildreq * Tue Sep 18 2007 Bill Nottingham - fix source download URL * Fri Aug 3 2007 Bill Nottingham - tweak license tag * Mon Jan 8 2007 Bill Nottingham - 1.13-1 - update to 1.13 * Thu Sep 14 2006 Bill Nottingham - 1.11-4 - bump for rebuild * Mon Apr 10 2006 Bill Nottingham - 1.11-3 - add buildreq for perl-HTML-TableExtract - clean up sed * Mon Apr 10 2006 Bill Nottingham - 1.11-2 - clean up spec file * Fri Apr 7 2006 Bill Nottingham - 1.11-1 - initial packaging