|
|
e8b00f |
# Perform optional tests
|
|
|
e8b00f |
%bcond_without perl_Term_Size_Any_enabels_optional_test
|
|
|
e8b00f |
|
|
|
e8b00f |
Name: perl-Term-Size-Any
|
|
|
e8b00f |
Version: 0.002
|
|
|
e8b00f |
Release: 29%{?dist}
|
|
|
e8b00f |
Summary: Retrieve terminal size
|
|
|
e8b00f |
License: GPL+ or Artistic
|
|
|
e8b00f |
URL: https://metacpan.org/release/Term-Size-Any
|
|
|
e8b00f |
Source0: https://cpan.metacpan.org/authors/id/F/FE/FERREIRA/Term-Size-Any-%{version}.tar.gz
|
|
|
e8b00f |
BuildArch: noarch
|
|
|
e8b00f |
BuildRequires: make
|
|
|
e8b00f |
BuildRequires: perl-generators
|
|
|
e8b00f |
BuildRequires: perl-interpreter
|
|
|
e8b00f |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
e8b00f |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
e8b00f |
BuildRequires: perl(strict)
|
|
|
e8b00f |
BuildRequires: perl(warnings)
|
|
|
e8b00f |
# Run-time:
|
|
|
e8b00f |
BuildRequires: perl(Term::Size::Perl)
|
|
|
e8b00f |
# Term::Size::Win32 not used on Linux
|
|
|
e8b00f |
BuildRequires: perl(vars)
|
|
|
e8b00f |
# Tests:
|
|
|
e8b00f |
BuildRequires: perl(Module::Load::Conditional)
|
|
|
e8b00f |
BuildRequires: perl(Test::More)
|
|
|
e8b00f |
%if %{with perl_Term_Size_Any_enabels_optional_test}
|
|
|
e8b00f |
# Optional tests:
|
|
|
e8b00f |
BuildRequires: perl(Test::Pod) >= 1.18
|
|
|
e8b00f |
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
e8b00f |
%endif
|
|
|
e8b00f |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
e8b00f |
Requires: perl(Term::Size::Perl)
|
|
|
e8b00f |
|
|
|
e8b00f |
%{?perl_default_filter}
|
|
|
e8b00f |
|
|
|
e8b00f |
%description
|
|
|
e8b00f |
This is a unified interface to retrieve terminal size. It loads one module
|
|
|
e8b00f |
of a list of known alternatives, each implementing some way to get the
|
|
|
e8b00f |
desired terminal information. This loaded module will actually do the job
|
|
|
e8b00f |
on behalf of Term::Size::Any.
|
|
|
e8b00f |
|
|
|
e8b00f |
%prep
|
|
|
e8b00f |
%setup -q -n Term-Size-Any-%{version}
|
|
|
e8b00f |
|
|
|
e8b00f |
%build
|
|
|
e8b00f |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
e8b00f |
%{make_build}
|
|
|
e8b00f |
|
|
|
e8b00f |
%install
|
|
|
e8b00f |
%{make_install}
|
|
|
e8b00f |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
e8b00f |
|
|
|
e8b00f |
%check
|
|
|
e8b00f |
make test
|
|
|
e8b00f |
|
|
|
e8b00f |
%files
|
|
|
e8b00f |
%doc Changes README
|
|
|
e8b00f |
%{perl_vendorlib}/*
|
|
|
e8b00f |
%{_mandir}/man3/*
|
|
|
e8b00f |
|
|
|
e8b00f |
%changelog
|
|
|
e8b00f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-29
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu Jun 06 2019 Petr Pisar <ppisar@redhat.com> - 0.002-28
|
|
|
e8b00f |
- Specify all dependencies
|
|
|
e8b00f |
|
|
|
e8b00f |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-27
|
|
|
e8b00f |
- Perl 5.30 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-26
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-25
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-24
|
|
|
e8b00f |
- Perl 5.28 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-23
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-22
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-21
|
|
|
e8b00f |
- Perl 5.26 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-20
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-19
|
|
|
e8b00f |
- Perl 5.24 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.002-18
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-17
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-16
|
|
|
e8b00f |
- Perl 5.22 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.002-15
|
|
|
e8b00f |
- Perl 5.20 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-14
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-13
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.002-12
|
|
|
e8b00f |
- Perl 5.18 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-11
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-10
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.002-9
|
|
|
e8b00f |
- Perl 5.16 rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sun Apr 22 2012 Iain Arnell <iarnell@gmail.com> 0.002-8
|
|
|
e8b00f |
- update to latest upstream version
|
|
|
e8b00f |
- clean up spec for modern rpmbuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001-8
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.001-7
|
|
|
e8b00f |
- Perl mass rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001-6
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.001-5
|
|
|
e8b00f |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
e8b00f |
|
|
|
e8b00f |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.001-4
|
|
|
e8b00f |
- Mass rebuild with perl-5.12.0
|
|
|
e8b00f |
|
|
|
e8b00f |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.001-3
|
|
|
e8b00f |
- rebuild against perl 5.10.1
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001-2
|
|
|
e8b00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e8b00f |
|
|
|
e8b00f |
* Sat Apr 04 2009 Iain Arnell 0.001-1
|
|
|
e8b00f |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
e8b00f |
- tweak requires
|