perl-Test-Inline/perl-Test-Inline.spec

121 lines
4.3 KiB
RPMSpec

Name: perl-Test-Inline
Version: 2.214
Release: 2%{?dist}
Summary: Embed your tests in your code, next to what is being tested
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Inline/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Test-Inline-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 0:5.006
BuildRequires: perl(Algorithm::Dependency) >= 1.02
BuildRequires: perl(Algorithm::Dependency::Item)
BuildRequires: perl(Algorithm::Dependency::Ordered)
BuildRequires: perl(Algorithm::Dependency::Source)
BuildRequires: perl(base)
BuildRequires: perl(Config::Tiny) >= 2.00
BuildRequires: perl(constant)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::chmod) >= 0.31
BuildRequires: perl(File::Find::Rule) >= 0.26
BuildRequires: perl(File::Flat) >= 1.00
BuildRequires: perl(File::Remove) >= 0.37
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(FindBin)
BuildRequires: perl(Getopt::Long) >= 2.34
BuildRequires: perl(IO::Handle)
BuildRequires: perl(List::Util) >= 1.19
BuildRequires: perl(overload)
BuildRequires: perl(Params::Util) >= 0.21
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(strict)
BuildRequires: perl(Test::ClassAPI) >= 1.02
BuildRequires: perl(Test::More) >= 0.42
BuildRequires: perl(Test::Script) >= 1.02
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
Requires: perl(Algorithm::Dependency) >= 1.02
Requires: perl(Algorithm::Dependency::Item)
Requires: perl(Algorithm::Dependency::Ordered)
Requires: perl(Algorithm::Dependency::Source)
Requires: perl(Config::Tiny) >= 2.00
Requires: perl(File::chmod) >= 0.31
Requires: perl(File::Find::Rule) >= 0.26
Requires: perl(File::Flat) >= 1.00
Requires: perl(File::Remove) >= 0.37
Requires: perl(File::Spec) >= 0.80
Requires: perl(File::Spec::Functions)
Requires: perl(Getopt::Long) >= 2.34
Requires: perl(IO::Handle)
Requires: perl(List::Util) >= 1.19
Requires: perl(overload)
Requires: perl(Params::Util) >= 0.21
Requires: perl(Path::Tiny)
Requires: perl(strict)
Requires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides: perl(Test::Inline)
%description
Embedding tests allows tests to be placed near the code being tested.
%prep
%setup -q -n Test-Inline-%{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 CONTRIBUTING dist.ini LICENSE META.json README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%files
/usr/bin/inline2test
/usr/share/man/man1/inline2test.1.gz
/usr/share/man/man3/Test::Inline.3pm.gz
/usr/share/man/man3/Test::Inline::Content.3pm.gz
/usr/share/man/man3/Test::Inline::Content::Default.3pm.gz
/usr/share/man/man3/Test::Inline::Content::Legacy.3pm.gz
/usr/share/man/man3/Test::Inline::Content::Simple.3pm.gz
/usr/share/man/man3/Test::Inline::Extract.3pm.gz
/usr/share/man/man3/Test::Inline::IO::File.3pm.gz
/usr/share/man/man3/Test::Inline::Script.3pm.gz
/usr/share/man/man3/Test::Inline::Section.3pm.gz
/usr/share/perl5/vendor_perl/Test/Inline.pm
/usr/share/perl5/vendor_perl/Test/Inline/Content.pm
/usr/share/perl5/vendor_perl/Test/Inline/Content/Default.pm
/usr/share/perl5/vendor_perl/Test/Inline/Content/Legacy.pm
/usr/share/perl5/vendor_perl/Test/Inline/Content/Simple.pm
/usr/share/perl5/vendor_perl/Test/Inline/Extract.pm
/usr/share/perl5/vendor_perl/Test/Inline/IO/File.pm
/usr/share/perl5/vendor_perl/Test/Inline/Script.pm
/usr/share/perl5/vendor_perl/Test/Inline/Section.pm
/usr/share/perl5/vendor_perl/Test/Inline/Util.pm
%changelog
* Mon Feb 19 2024 Trevor Batley <trevor@batley.id.au> 2.214-2
- Add Provides:
* Fri Feb 16 2024 Trevor Batley <trevor@batley.id.au> 2.214-1
- Specfile autogenerated by cpanspec 1.78.