You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Spellunker/perl-Spellunker.spec

66 lines
1.8 KiB

Name: perl-Spellunker
Version: 0.2.3
Release: 1%{?dist}
Summary: Pure perl spelling checker implementation
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Spellunker/
Source0: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Spellunker-v%{version}.tar.gz
BuildArch: noarch
# build
BuildRequires: perl
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Module::Build)
BuildRequires: perl(strict)
BuildRequires: perl(utf8)
BuildRequires: perl(warnings)
# runtime
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(parent)
BuildRequires: perl(Regexp::Common)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(version)
# test only
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(open)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Win32::Console::ANSI\\)$
%description
%{summary}, also usable as a library.
%prep
%setup -q -n Spellunker-v%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} %{buildroot}/*
%check
./Build test
%files
%doc Changes LICENSE README.md
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Wed Apr 24 2013 Petr Šabata <contyk@redhat.com> 0.2.3-1
- Specfile generated with help of cpanspec 1.78.