Group :: Development/Other
RPM: perl-IO-Capture-Extended
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-IO-Capture-Extended
Version: 0.13
Release: alt1_14
Summary: Extend functionality of IO::Capture
License: GPL+ or Artistic
URL: https://metacpan.org/release/IO-Capture-Extended
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/IO-Capture-Extended-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Run-time:
BuildRequires: perl(base.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(IO/Capture.pm)
BuildRequires: perl(IO/Capture/Stderr.pm)
BuildRequires: perl(IO/Capture/Stdout.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Tests only:
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Simple.pm)
Requires: perl(IO/Capture.pm) >= 0.050
Source44: import.info
%description
IO::Capture::Extended is a distribution consisting of two classes, each of
which is a collection of subroutines which are useful in extending the
functionality of CPAN modules IO::Capture::Stdout and IO::Capture::Stderr,
particularly when used in a testing context such as that provided by
Test::Simple, Test::More or other modules built on Test::Builder.
%prep
%setup -q -n IO-Capture-Extended-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc --no-dereference LICENSE
%doc Changes README.md
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-IO-Capture-Extended
Version: 0.13
Release: alt1_14
Summary: Extend functionality of IO::Capture
License: GPL+ or Artistic
URL: https://metacpan.org/release/IO-Capture-Extended
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/IO-Capture-Extended-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
# Run-time:
BuildRequires: perl(base.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(IO/Capture.pm)
BuildRequires: perl(IO/Capture/Stderr.pm)
BuildRequires: perl(IO/Capture/Stdout.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(warnings.pm)
# Tests only:
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Simple.pm)
Requires: perl(IO/Capture.pm) >= 0.050
Source44: import.info
%description
IO::Capture::Extended is a distribution consisting of two classes, each of
which is a collection of subroutines which are useful in extending the
functionality of CPAN modules IO::Capture::Stdout and IO::Capture::Stderr,
particularly when used in a testing context such as that provided by
Test::Simple, Test::More or other modules built on Test::Builder.
%prep
%setup -q -n IO-Capture-Extended-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc --no-dereference LICENSE
%doc Changes README.md
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here