[perl-Math-Base36] initial import

Iain Arnell iarnell at fedoraproject.org
Thu Sep 9 02:59:55 UTC 2010


commit e6080f8076c617f2da588c3dfb2215bc641b5208
Author: Iain Arnell <iarnell at gmail.com>
Date:   Thu Sep 9 04:59:35 2010 +0200

    initial import

 .gitignore            |    1 +
 perl-Math-Base36.spec |   50 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f69e243 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+Math-Base36-0.07.tar.gz
diff --git a/perl-Math-Base36.spec b/perl-Math-Base36.spec
new file mode 100644
index 0000000..004855a
--- /dev/null
+++ b/perl-Math-Base36.spec
@@ -0,0 +1,50 @@
+Name:           perl-Math-Base36
+Version:        0.07
+Release:        2%{?dist}
+Summary:        Encoding and decoding of base36 strings
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Math-Base36/
+Source0:        http://www.cpan.org/authors/id/B/BR/BRICAS/Math-Base36-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module converts to and from Base36 numbers (0..9 - A..Z)
+
+%prep
+%setup -q -n Math-Base36-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Sep 06 2010 Iain Arnell <iarnell at gmail.com> 0.07-2
+- don't BuildRequire perl itself
+
+* Thu Sep 02 2010 Iain Arnell <iarnell at gmail.com> 0.07-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..de94fcf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+27b4b1a8c175b1717aac3bb6893be9f6  Math-Base36-0.07.tar.gz


More information about the scm-commits mailing list