Files
perl-Math-BigInt-FastCalc/perl-Math-BigInt-FastCalc.spec

76 lines
2.2 KiB
RPMSpec

#
# spec file for package perl-Math-BigInt-FastCalc (Version 0.19)
#
# 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-Math-BigInt-FastCalc
%define cpan_name Math-BigInt-FastCalc
Summary: Math::BigInt::Calc with some XS for more speed
Version: 0.19
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Math-BigInt-FastCalc/
#Source: http://www.cpan.org/modules/by-module/Math/Math-BigInt-FastCalc-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Math::BigInt) >= 1.88
BuildRequires: perl(Test::More) >= 0.62
#
%{perl_requires}
Requires: perl(Math::BigInt) >= 1.88
%description
In order to allow for multiple big integer libraries, Math::BigInt was
rewritten to use library modules for core math routines. Any module which
follows the same API as this can be used instead by using the following:
Authors:
--------
Tels <nospam-abuse@bloodgate.com>
Mark Biggar
John Peacock
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc CHANGES CREDITS README TODO
%changelog