commit 5de4635f64d016a0a34362458374db024a26c98e Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Apr 26 10:10:00 2013 +0200 Initial import (#956297) .gitignore | 1 + perl-Spellunker.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3b9de69 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Spellunker-v0.2.3.tar.gz diff --git a/perl-Spellunker.spec b/perl-Spellunker.spec new file mode 100644 index 0000000..d7a6c8c --- /dev/null +++ b/perl-Spellunker.spec @@ -0,0 +1,65 @@ +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@xxxxxxxxxx> 0.2.3-1 +- Specfile generated with help of cpanspec 1.78. diff --git a/sources b/sources index e69de29..bb09b86 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a3e2f3cdcaed09f2df6486f898fdd83a Spellunker-v0.2.3.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