perl-Syntax-Keyword-Junction/perl-Syntax-Keyword-Junctio...

65 lines
2.0 KiB
RPMSpec

Name: perl-Syntax-Keyword-Junction
Version: 0.003008
Release: 3%{?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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(parent)
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
BuildRequires: perl(syntax)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires) >= 0.07
Requires: perl(parent)
Requires: perl(Sub::Exporter::Progressive) >= 0.001006
Requires: perl(syntax)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides: perl(Syntax::Keyword::Junction)
%description
This is a lightweight module which provides 'Junction' operators, the most
commonly used being any and all.
%prep
%setup -q -n Syntax-Keyword-Junction-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes cpanfile dist.ini LICENSE META.json README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Feb 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.003008-3
- Add Provides perl(Syntax::Keyword::Junction) (dbd@ehtrace.com)
* Fri Feb 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.003008-2
- new package built with tito
* Fri Feb 11 2022 Daniel Berteaud <dbd@ehtrace.com> 0.003008-1
- Specfile autogenerated by cpanspec 1.78.