File perl-Finance-Quote.spec of Package perl-Finance-Quote
#
# spec file for package perl-Finance-Quote (Version 1.17)
#
# Copyright (c) 2010 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/
#
# norootforbuild
Name: perl-Finance-Quote
Url: http://finance-quote.sourceforge.net/
License: GPLv2+
Group: Development/Libraries/Perl
AutoReqProv: on
Requires: perl-Crypt-SSLeay perl-libwww-perl
Requires: perl-HTML-Parser perl-HTML-TableExtract perl-HTML-Tree
Requires: perl-URI perl-XML-SAX
Summary: Provides access to time-delayed stockquotes
Version: 1.17
Release: 9
Source: Finance-Quote-%{version}.tar.bz2
Patch: perl-Finance-Quote-LeRevenu.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
Finance::Quote provides access to time-delayed stockquotes from a
number of sources. After you've installed the pacakage, try 'perldoc
Finance::Quote' for full information. Alternatively, you can 'perldoc
lib/Finance/Quote.pm' before the install.
Authors:
--------
Paul Fenwick <pjf@cpan.org>
%prep
%setup -q -n Finance-Quote-%{version}
%patch -p1
mv Documentation/README Documentation/README2
%build
perl Makefile.PL
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog ChangeLog.1 MANIFEST README Documentation/*
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Finance
%{perl_vendorarch}/auto/Finance
%changelog