initial import

This commit is contained in:
Iain Arnell 2009-04-08 03:15:54 +00:00
parent 3754827253
commit fe3517c08e
3 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1 @@
Term-Size-Any-0.001.tar.gz

59
perl-Term-Size-Any.spec Normal file
View File

@ -0,0 +1,59 @@
Name: perl-Term-Size-Any
Version: 0.001
Release: 1%{?dist}
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
* Sat Apr 04 2009 Iain Arnell 0.001-1
- Specfile autogenerated by cpanspec 1.78.
- tweak requires

View File

@ -0,0 +1 @@
58722dad73c6965d5c4b975e3ae47116 Term-Size-Any-0.001.tar.gz