Import
This commit is contained in:
parent
14cc16e8de
commit
92c2a158e4
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/perlfaq-5.021009.tar.gz
|
53
perl-perlfaq.spec
Normal file
53
perl-perlfaq.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: perl-perlfaq
|
||||
Version: 5.021009
|
||||
Release: 347%{?dist}
|
||||
Summary: Frequently asked questions about Perl
|
||||
# Code examples are Public Domain
|
||||
License: (GPL+ or Artistic) and Public Domain
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/perlfaq/
|
||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/perlfaq-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Tests:
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IPC::Open3)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Conflicts: perl < 4:5.22.0-347
|
||||
|
||||
%description
|
||||
The perlfaq comprises several documents that answer the most commonly asked
|
||||
questions about Perl and Perl programming.
|
||||
|
||||
%prep
|
||||
%setup -q -n perlfaq-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 02 2015 Petr Pisar <ppisar@redhat.com> 5.021009-347
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user