Accepting request 43063 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-Math-BigInt-FastCalc via accept of submit request 43063 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/43063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt-FastCalc?expand=0&rev=5
This commit is contained in:
Christian Wittmer
2010-07-16 15:26:26 +00:00
committed by Git OBS Bridge
parent bc56b14f9b
commit 7150160c00
2 changed files with 56 additions and 23 deletions

View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Fri Jul 16 15:05:37 UTC 2010 - chris@computersalat.de
- initial package 0.19
* created by cpanspec 1.78

View File

@@ -1,17 +1,47 @@
%define modname Math-BigInt-FastCalc
Name: perl-%{modname}
#
# 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
Summary: Math::BigInt::Calc With Some XS for More Speed
Requires: perl = %{perl_version}
BuildRequires: perl perl(Test::More)
License: GPL/Artistic
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
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
#
Requires: perl = %{perl_version}
Requires: perl(Math::BigInt) >= 1.88
%description
Provides support for fast big integer calculations.
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:
--------
@@ -20,29 +50,26 @@ Authors:
John Peacock
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make
make test
%{__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 %{buildroot}
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%files -f %{name}.files
%defattr(-,root,root,-)
%doc CHANGES CREDITS README TODO
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Math
%{perl_vendorarch}/auto/Math
/var/adm/perl-modules/%{name}
%changelog
* Wed Jan 02 2008 - James Oakley <jfunk@funktronics.ca> - 0.15-1
- Initial release