[perl-Text-Ngram: 2/9] Initial package for Fedora

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

 



commit d9a5fcbed9202cba33b87fcef6b3e4a54b3ff694
Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx>
Date:   Fri Jan 18 14:36:28 2013 +0800

    Initial package for Fedora
    
    This was submitted on Fri Jan 18 2013:
        https://bugzilla.redhat.com/show_bug.cgi?id=901387#c0

 perl-Text-Ngram.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/perl-Text-Ngram.spec b/perl-Text-Ngram.spec
new file mode 100644
index 0000000..59ba783
--- /dev/null
+++ b/perl-Text-Ngram.spec
@@ -0,0 +1,58 @@
+Name:           perl-Text-Ngram
+Summary:        Ngram analysis of text
+Version:        0.14
+Release:        1%{?dist}
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Text-Ngram/
+Source0:        http://www.cpan.org/authors/id/A/AM/AMBS/Text/Text-Ngram-%{version}.tar.gz
+
+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
+n-Gram analysis is a field in textual analysis which uses sliding window
+character sequences in order to aid topic analysis, language determination
+and so on. The n-gram spectrum of a document can be used to compare and
+filter documents in multiple languages, prepare word prediction networks,
+and perform spelling correction.
+
+
+%prep
+%setup -q -n Text-Ngram-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes CREDITS README
+%{perl_vendorarch}/auto/Text
+%{perl_vendorarch}/Text
+%{_mandir}/man3/Text::Ngram.3pm*
+
+
+
+%changelog
+* Fri Jan 18 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 0.14-1
+- Initial package for Fedora, with help from cpanspec.
--
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