[perl-Sort-Maker] Initial import.

xavierb xavierb at fedoraproject.org
Tue Apr 22 20:16:40 UTC 2014


commit 3c553167472a986547ffc0fa76efe4875cb56e9e
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Tue Apr 22 22:15:49 2014 +0200

    Initial import.

 .gitignore           |    1 +
 perl-Sort-Maker.spec |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9f8e208 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Sort-Maker-0.06.tar.gz
diff --git a/perl-Sort-Maker.spec b/perl-Sort-Maker.spec
new file mode 100644
index 0000000..73a0bfb
--- /dev/null
+++ b/perl-Sort-Maker.spec
@@ -0,0 +1,64 @@
+Name:           perl-Sort-Maker
+Version:        0.06
+Release:        2%{?dist}
+Summary:        Simple way to make efficient sort subs
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Sort-Maker/
+Source0:        http://www.cpan.org/modules/by-module/Sort/Sort-Maker-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(Benchmark)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(List::Util)
+
+
+%description
+This module has two main goals: to make it easy to create correct sort
+functions, and to make it simple to select the optimum sorting algorithm
+for the number of items to be sorted. Sort::Maker generates complete sort
+subroutines in one of four styles, plain, orcish manouver, Schwartzian
+Transform and the Guttman-Rosler Transform. You can also get the source for
+a sort sub you create via the sorter_source call.
+
+
+%prep
+%setup -q -n Sort-Maker-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+
+%changelog
+* Tue Apr 22 2014 Xavier Bachelot <xavier at bachelot.org> 0.06-2
+- Package review cleanups.
+
+* Tue Apr 15 2014 Xavier Bachelot <xavier at bachelot.org> 0.06-1
+- Initial release.
diff --git a/sources b/sources
index e69de29..8a45118 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c9e117a803587c3f8125ef25f06f9a43  Sort-Maker-0.06.tar.gz



More information about the perl-devel mailing list