[perl-Text-WagnerFischer] Initial import (#1168697)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit e61f32502ddcd199b3ed2b7df9b3e9d798fa019c
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Mon Dec 1 15:22:11 2014 +0100

    Initial import (#1168697)

 .gitignore                   |    1 +
 perl-Text-WagnerFischer.spec |   50 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..eee5b29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Text-WagnerFischer-0.04.tar.gz
diff --git a/perl-Text-WagnerFischer.spec b/perl-Text-WagnerFischer.spec
new file mode 100644
index 0000000..2255ecf
--- /dev/null
+++ b/perl-Text-WagnerFischer.spec
@@ -0,0 +1,50 @@
+Name:           perl-Text-WagnerFischer
+Version:        0.04
+Release:        1%{?dist}
+Summary:        Implementation of the Wagner-Fischer edit distance
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Text-WagnerFischer/
+Source0:        http://www.cpan.org/authors/id/D/DA/DAVIDEBE/Text-WagnerFischer-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+# Carp is not used
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests only
+# (nothing)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(Carp)
+
+%description
+This module implements the Wagner-Fischer dynamic programming technique,
+used here to calculate the edit distance of two strings. The edit distance
+is a measure of the degree of proximity between two strings, based on
+"edits": the operations of substitutions, deletions or insertions needed to
+transform the string into the other one (and vice versa).
+
+%prep
+%setup -q -n Text-WagnerFischer-%{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 Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Nov 27 2014 Petr Šabata <contyk@xxxxxxxxxx> 0.04-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..d19d612 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7400e4a1ba13147b9bb653ac2ddbd378  Text-WagnerFischer-0.04.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux