[perl-Lingua-Identify: 2/11] Initial package for Fedora

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

 



commit 59af3ef3eb8dc45fd584e3cb09ce2ed92b6b1b5a
Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx>
Date:   Fri Jan 18 13:16:19 2013 +0800

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

 perl-Lingua-Identify.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/perl-Lingua-Identify.spec b/perl-Lingua-Identify.spec
new file mode 100644
index 0000000..2f28ba5
--- /dev/null
+++ b/perl-Lingua-Identify.spec
@@ -0,0 +1,70 @@
+Name:           perl-Lingua-Identify
+Summary:        Language identification
+Version:        0.51
+Release:        1%{?dist}
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Lingua-Identify/
+Source0:        http://www.cpan.org/authors/id/A/AM/AMBS/Lingua/Lingua-Identify-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  perl(Class::Factory::Util) >= 1.6
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Text::Affixes) >= 0.07
+BuildRequires:  perl(Text::Ngram) >= 0.13
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Lingua::Identify identifies the language a given string or file is written in.
+
+
+%package tools
+Summary:        Tools related to Lingua::Identify
+Requires:       %{name} == %{version}-%{release}
+
+%description tools
+Tools related to Lingua::Identify.
+
+
+%prep
+%setup -q -n Lingua-Identify-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README
+%{_mandir}/man3/Lingua::Identify*
+%{perl_vendorlib}/Lingua
+
+%files tools
+%{_bindir}/langident
+%{_bindir}/make-lingua-identify-language
+%{_mandir}/man1/langident.1*
+%{_mandir}/man1/make-lingua-identify-language.1*
+
+
+%changelog
+* Fri Jan 18 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 0.51-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