Import
This commit is contained in:
parent
1aa8922e22
commit
150c204e11
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Filter-Simple-0.91.tar.gz
|
||||
55
perl-Filter-Simple.spec
Normal file
55
perl-Filter-Simple.spec
Normal file
@ -0,0 +1,55 @@
|
||||
Name: perl-Filter-Simple
|
||||
Version: 0.91
|
||||
Release: 240%{?dist}
|
||||
Summary: Simplified Perl source filtering
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Filter-Simple/
|
||||
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Filter-Simple-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Filter::Util::Call)
|
||||
BuildRequires: perl(Text::Balanced) >= 1.97
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# Tests:
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Text::Balanced) >= 1.97
|
||||
Requires: perl(warnings)
|
||||
|
||||
# Filter under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Balanced\\)$
|
||||
|
||||
%description
|
||||
The Filter::Simple Perl module provides a simplified interface to
|
||||
Filter::Util::Call; one that is sufficient for most common cases.
|
||||
|
||||
%prep
|
||||
%setup -q -n Filter-Simple-%{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
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> 0.91-240
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user