Blob Blame History Raw
Name:           perl-Term-ShellUI
Version:        0.92
Release:        2%{?dist}
Summary:        Perl module to implement a full-featured shell-like command line environment
License:        MIT
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Term-ShellUI/
Source0:        http://www.cpan.org/authors/id/B/BR/BRONSON/Term-ShellUI-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::Simple)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


%description
Term::ShellUI is a Perl module, which tries to make every feature that
one would expect to see in a fully interactive shell trivial to implement. 
It uses the history and autocompletion features of Term::ReadLine to present
a sophisticated command-line interface to the user. You simply declare your
command set and let ShellUI take care of the heavy lifting.

%prep
%setup -q -n Term-ShellUI-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Aug 29 2013 Matias Kreder <delete@fedoraprojecto.org> 0.92-2
- Updated .spec file according to BZ#1002319 

* Wed Aug 28 2013 Matias Kreder <delete@fedoraprojecto.org> 0.92-1
- Specfile autogenerated by cpanspec 1.78.