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