1 | Name: perl-Devel-CheckBin |
---|
2 | Version: 0.04 |
---|
3 | Release: 1%{?_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 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildArch: noarch |
---|
15 | # Module Build |
---|
16 | BuildRequires: perl-Module-Build |
---|
17 | BuildRequires: perl(CPAN::Meta) |
---|
18 | BuildRequires: perl(CPAN::Meta::Prereqs) |
---|
19 | BuildRequires: perl(File::Basename) |
---|
20 | BuildRequires: perl(utf8) |
---|
21 | # Module Runtime |
---|
22 | BuildRequires: perl(Config) |
---|
23 | BuildRequires: perl(Exporter) |
---|
24 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
25 | BuildRequires: perl(File::Spec) |
---|
26 | BuildRequires: perl(parent) |
---|
27 | BuildRequires: perl(strict) |
---|
28 | BuildRequires: perl(warnings) |
---|
29 | # Test Suite |
---|
30 | BuildRequires: perl(File::Temp) |
---|
31 | BuildRequires: perl(Test::More) |
---|
32 | # Runtime |
---|
33 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
34 | |
---|
35 | %description |
---|
36 | Devel::CheckBin is a perl module that checks whether a particular command is |
---|
37 | available. |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q -n Devel-CheckBin-%{version} |
---|
41 | |
---|
42 | %build |
---|
43 | perl Makefile.PL INSTALLDIRS=vendor |
---|
44 | make %{?_smp_mflags} |
---|
45 | |
---|
46 | %install |
---|
47 | make pure_install DESTDIR=%{buildroot} |
---|
48 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
49 | |
---|
50 | %check |
---|
51 | make test |
---|
52 | |
---|
53 | %files |
---|
54 | %license LICENSE |
---|
55 | %doc Changes README.md |
---|
56 | %{perl_vendorlib}/Devel/ |
---|
57 | %{_mandir}/man3/Devel::CheckBin.3* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.04-1 |
---|
61 | - new upstream release. |
---|
62 | - rebuilt with perl-5.26. |
---|
63 | |
---|
64 | * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.02-4 |
---|
65 | - Initial build for Vine Linux |
---|
66 | - built with perl 5.16.3 |
---|
67 | |
---|
68 | * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.02-3 |
---|
69 | - Perl 5.20 rebuild |
---|
70 | |
---|
71 | * Fri Aug 15 2014 Paul Howarth <paul@city-fan.org> - 0.02-2 |
---|
72 | - Sanitize for Fedora submission |
---|
73 | |
---|
74 | * Fri Aug 15 2014 Paul Howarth <paul@city-fan.org> - 0.02-1 |
---|
75 | - Initial RPM version |
---|