Files
perl-Term-ShellUI/perl-Term-ShellUI.spec
Stephan Kulow 1d769205bf Accepting request 87291 from filesharing
- Update to upstream version 0.91
- spec-cleaner specfile cleanup
- License change to MIT

OBS-URL: https://build.opensuse.org/request/show/87291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Term-ShellUI?expand=0&rev=2
2011-10-11 05:08:40 +00:00

77 lines
2.3 KiB
RPMSpec

#
# spec file for package perl-Term-ShellUI
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: perl-Term-ShellUI
Version: 0.91
Release: 0
License: MIT
Summary: Sophisticated Command Line User Interface
Url: http://search.cpan.org/dist/Term-ShellUI
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/B/BR/BRONSON/Term-ShellUI-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-macros
%{perl_requires}
%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}"
sed -i '/^auto_install/d' Makefile.PL
%build
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_flags}
%install
%perl_make_install
%perl_process_packlist
%check
make test
%clean
%{?buildroot:rm -rf %{buildroot}}
%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}
%changelog