[9111] | 1 | Name: perl-Devel-CheckBin |
---|
| 2 | Version: 0.02 |
---|
| 3 | Release: 4%{?_dist_release} |
---|
| 4 | Summary: Check that a command is available |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Devel-CheckBin/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Devel-CheckBin-%{version}.tar.gz |
---|
| 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildArch: noarch |
---|
| 12 | # Module Build |
---|
| 13 | BuildRequires: perl |
---|
| 14 | BuildRequires: perl(CPAN::Meta) |
---|
| 15 | BuildRequires: perl(CPAN::Meta::Prereqs) |
---|
| 16 | BuildRequires: perl(File::Basename) |
---|
| 17 | BuildRequires: perl(Module::Build) |
---|
| 18 | BuildRequires: perl(utf8) |
---|
| 19 | # Module Runtime |
---|
| 20 | BuildRequires: perl(Config) |
---|
| 21 | BuildRequires: perl(Exporter) |
---|
| 22 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 23 | BuildRequires: perl(File::Spec) |
---|
| 24 | BuildRequires: perl(parent) |
---|
| 25 | BuildRequires: perl(strict) |
---|
| 26 | BuildRequires: perl(warnings) |
---|
| 27 | # Test Suite |
---|
| 28 | BuildRequires: perl(File::Temp) |
---|
| 29 | BuildRequires: perl(Test::More) >= 0.98 |
---|
| 30 | # Runtime |
---|
| 31 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 32 | |
---|
| 33 | %description |
---|
| 34 | Devel::CheckBin is a perl module that checks whether a particular command is |
---|
| 35 | available. |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q -n Devel-CheckBin-%{version} |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | perl Build.PL --installdirs=vendor |
---|
| 42 | ./Build |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | ./Build install --destdir=%{buildroot} --create_packlist=0 |
---|
| 46 | |
---|
| 47 | %check |
---|
| 48 | ./Build test |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %license LICENSE |
---|
| 52 | %doc Changes README.md |
---|
| 53 | %{perl_vendorlib}/Devel/ |
---|
| 54 | %{_mandir}/man3/Devel::CheckBin.3* |
---|
| 55 | |
---|
| 56 | %changelog |
---|
| 57 | * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.02-4 |
---|
| 58 | - Initial build for Vine Linux |
---|
| 59 | - built with perl 5.16.3 |
---|
| 60 | |
---|
| 61 | * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.02-3 |
---|
| 62 | - Perl 5.20 rebuild |
---|
| 63 | |
---|
| 64 | * Fri Aug 15 2014 Paul Howarth <paul@city-fan.org> - 0.02-2 |
---|
| 65 | - Sanitize for Fedora submission |
---|
| 66 | |
---|
| 67 | * Fri Aug 15 2014 Paul Howarth <paul@city-fan.org> - 0.02-1 |
---|
| 68 | - Initial RPM version |
---|