You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Syntax-Keyword-Junction/perl-Syntax-Keyword-Junctio...

57 lines
1.7 KiB

Name: perl-Syntax-Keyword-Junction
Version: 0.003004
Release: 1%{?dist}
Summary: Perl6 style Junction operators in Perl5
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Syntax-Keyword-Junction/
Source0: http://www.cpan.org/authors/id/F/FR/FREW/Syntax-Keyword-Junction-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(if)
BuildRequires: perl(overload)
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
# Tests:
BuildRequires: perl(Test::More)
BuildRequires: perl(syntax)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(overload)
Requires: perl(Sub::Exporter::Progressive) >= 0.001006
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Sub::Exporter::Progressive\\)$
%description
This is a lightweight module which provides 'Junction' operators, the most
commonly used being any and all. Inspired by the Perl6 design docs,
<http://dev.perl.org/perl6/doc/design/exe/E06.html>.
%prep
%setup -q -n Syntax-Keyword-Junction-%{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 LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Aug 05 2013 Petr Pisar <ppisar@redhat.com> 0.003004-1
- Specfile autogenerated by cpanspec 1.78.