From 3ec52e43e9f010178aae0ee31aef2d3d019ef24c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Fri, 6 Jan 2017 10:20:25 +0100
Subject: Import

---
 .gitignore            |  1 +
 perl-Math-BigRat.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |  1 +
 3 files changed, 66 insertions(+)
 create mode 100644 perl-Math-BigRat.spec

diff --git a/.gitignore b/.gitignore
index e69de29..2d34463 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-BigRat-0.2611.tar.gz
diff --git a/perl-Math-BigRat.spec b/perl-Math-BigRat.spec
new file mode 100644
index 0000000..93a5ecf
--- /dev/null
+++ b/perl-Math-BigRat.spec
@@ -0,0 +1,64 @@
+Name:           perl-Math-BigRat
+# Keep 4-digit version to compete for perl.spec
+Version:        0.2611
+Release:        1%{?dist}
+Summary:        Arbitrary big rational numbers
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Math-BigRat/
+Source0:        
http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigRat-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-generators
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(:VERSION) >= 5.6.0
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Math::BigFloat)
+BuildRequires:  perl(Math::BigInt) >= 1.999718
+BuildRequires:  perl(overload)
+# Tests:
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(lib)
+# Math::Complex not used
+# Scalar::Util not used
+BuildRequires:  perl(Test::More) >= 0.82
+# Optional tests:
+# Module::Signature not used and not helpful
+# Socket not used
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Math::BigInt) >= 1.999718
+Conflicts:      perl < 4:5.22.0-348
+
+%description
+Math::BigRat complements Math::BigInt and Math::BigFloat by providing
+support for arbitrary big rational numbers.
+
+%prep
+%setup -q -n Math-BigRat-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -delete
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc BUGS CHANGES README TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Dec 23 2016 Petr Pisar <ppi...@redhat.com> 0.2611-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..6019fbc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (Math-BigRat-0.2611.tar.gz) = 
11e9b3dabeb196db835d58fec10fdb9d5d2c3a0498377d25645cdab1720682933aecbe516579cbfc0acee28bfcb930a3f7468af979987d9c3d6984dfa8f1584a
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Math-BigRat.git/commit/?h=master&id=3ec52e43e9f010178aae0ee31aef2d3d019ef24c
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to