2009-04-08 03:15:54 +00:00
|
|
|
Name: perl-Term-Size-Any
|
|
|
|
Version: 0.001
|
2011-06-20 21:56:09 +00:00
|
|
|
Release: 7%{?dist}
|
2009-04-08 03:15:54 +00:00
|
|
|
Summary: Retrieve terminal size
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Term-Size-Any/
|
|
|
|
Source0: http://www.cpan.org/authors/id/F/FE/FERREIRA/Term-Size-Any-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Devel::Hide)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Module::Load::Conditional)
|
|
|
|
BuildRequires: perl(Term::Size::Perl)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
Requires: perl(Term::Size::Perl)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%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
|
|
|
|
%{__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 README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
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
|