psabata pushed to perl-Math-Base-Convert (master). "Initial import (#1225110)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed May 27 15:05:15 UTC 2015
From 81c4a5f9bd37d325e9272b13dffd331d372d0ad1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Wed, 27 May 2015 17:05:08 +0200
Subject: Initial import (#1225110)
diff --git a/.gitignore b/.gitignore
index e69de29..ac73972 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Math-Base-Convert-0.08.tar.gz
diff --git a/perl-Math-Base-Convert.spec b/perl-Math-Base-Convert.spec
new file mode 100644
index 0000000..d7394d4
--- /dev/null
+++ b/perl-Math-Base-Convert.spec
@@ -0,0 +1,51 @@
+Name: perl-Math-Base-Convert
+Version: 0.08
+Release: 1%{?dist}
+Summary: Very fast base to base conversion
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Math-Base-Convert/
+Source0: http://www.cpan.org/authors/id/M/MI/MIKER/Math-Base-Convert-%{version}.tar.gz
+BuildArch: noarch
+# Build
+BuildRequires: perl
+BuildRequires: perl(Config)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Tests only
+BuildRequires: perl(diagnostics)
+# Optional tests only
+BuildRequires: perl(Benchmark)
+BuildRequires: perl(Math::BigInt)
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%description
+This module provides fast functions and methods to convert between
+arbitrary number bases from 2 (binary) thru 65535.
+
+%prep
+%setup -q -n Math-Base-Convert-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+
+%doc bitmaps Changes README recurse2txt
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue May 26 2015 Petr Ĺ abata <contyk at redhat.com> 0.08-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..9cd84b1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b892b20f5dd028264b1934179dc91ae0 Math-Base-Convert-0.08.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Math-Base-Convert.git/commit/?h=master&id=81c4a5f9bd37d325e9272b13dffd331d372d0ad1
More information about the perl-devel
mailing list