2011-10-11 05:08:40 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Term-ShellUI
|
|
|
|
#
|
2014-09-05 07:43:17 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-10-11 05:08:40 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-05-18 08:11:06 +00:00
|
|
|
Name: perl-Term-ShellUI
|
2014-09-05 07:43:17 +00:00
|
|
|
Version: 0.92
|
2011-05-18 08:11:06 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Sophisticated Command Line User Interface
|
2014-09-05 07:43:17 +00:00
|
|
|
License: MIT
|
2011-05-18 08:11:06 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2014-09-05 07:43:17 +00:00
|
|
|
Url: http://search.cpan.org/dist/Term-ShellUI
|
2011-10-11 05:08:40 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/B/BR/BRONSON/Term-ShellUI-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-18 08:11:06 +00:00
|
|
|
BuildArch: noarch
|
2011-10-11 05:08:40 +00:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-macros
|
2014-09-05 07:43:17 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2011-10-11 05:08:40 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
2011-05-18 08:11:06 +00:00
|
|
|
%description
|
|
|
|
Term::ShellUI uses the history and autocompletion features of
|
|
|
|
Term::ReadLine to present a sophisticated command-line interface to the
|
|
|
|
user. It tries to make every feature that one would expect to see in a
|
|
|
|
fully interactive shell trivial to implement. You simply declare your
|
|
|
|
command set and let ShellUI take care of the heavy lifting.
|
|
|
|
This module was previously called Term::GDBUI.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Term-ShellUI-%{version}"
|
2011-10-11 05:08:40 +00:00
|
|
|
sed -i '/^auto_install/d' Makefile.PL
|
2011-05-18 08:11:06 +00:00
|
|
|
|
|
|
|
%build
|
2011-10-11 05:08:40 +00:00
|
|
|
perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
make %{?_smp_flags}
|
2011-05-18 08:11:06 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
2011-10-11 05:08:40 +00:00
|
|
|
make test
|
2011-05-18 08:11:06 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README Changes
|
|
|
|
%dir %{perl_vendorlib}/Term
|
|
|
|
%{perl_vendorlib}/Term/ShellUI.pm
|
|
|
|
%dir %{perl_vendorlib}/Text
|
|
|
|
%dir %{perl_vendorlib}/Text/Shellwords
|
|
|
|
%{perl_vendorlib}/Text/Shellwords/Cursor.pm
|
|
|
|
%doc %{perl_man3dir}/Term::ShellUI.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Text::Shellwords::Cursor.%{perl_man3ext}%{ext_man}
|
|
|
|
|
2011-10-11 05:08:40 +00:00
|
|
|
%changelog
|