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

Name: perl-Math-BigInt-FastCalc
Summary: Math::BigInt::Calc with some XS for more speed
Version: 0.24
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Math-BigInt-FastCalc/
Description: Math::BigInt::Calc with some XS for more speed.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Florian Ragwitz <rafl@debian.org>

### EL6 ships with this included in perl-4:5.10.1-115.el6
# ExclusiveDist: el2 el3 el4 el5

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Math-BigInt-FastCalc

Summary: Math::BigInt::Calc with some XS for more speed
Name: perl-Math-BigInt-FastCalc
Version: 0.24
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Math-BigInt-FastCalc/

Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Math-BigInt-FastCalc-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

#BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Math::BigInt) >= 1.90
#BuildRequires: perl(Test::More) >= 0.62
BuildRequires: perl(Test::More)
BuildRequires: perl >= 5.006
Requires: perl(Math::BigInt) >= 1.90
Requires: perl >= 5.006

### remove autoreq Perl dependencies
%filter_from_requires /^perl.*/d
%filter_setup

%description
Math::BigInt::Calc with some XS for more speed.

%prep
%setup -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGES CREDITS MANIFEST MANIFEST.SKIP META.yml README SIGNATURE TODO
%doc %{_mandir}/man3/Math::BigInt::FastCalc.3pm*
%dir %{perl_vendorarch}/auto/Math/
%dir %{perl_vendorarch}/auto/Math/BigInt/
%{perl_vendorarch}/auto/Math/BigInt/FastCalc/
%dir %{perl_vendorarch}/Math/
%dir %{perl_vendorarch}/Math/BigInt/
%{perl_vendorarch}/Math/BigInt/FastCalc.pm

%changelog
* Fri Nov 12 2010 Christoph Maser <cmaser@gmx.de> - 0.24-1
- Updated to version 0.24.

* Fri Nov 12 2010 Christoph Maser <cmaser@gmx.de> - 0.22-1
- Updated to version 0.22.

* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 0.19-1
- Updated to release 0.19.

* Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 0.15-1
- Updated to release 0.15.

* Thu May 31 2007 Dag Wieers <dag@wieers.com> - 0.14-1
- Initial package. (using DAR)