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
This commit is contained in:
Stephan Kulow
2011-10-11 05:08:40 +00:00
committed by Git OBS Bridge
parent 36a8cbd88a
commit 1d769205bf
4 changed files with 47 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6df3fba64c19f019acaf0a0d2960bd8ab94f7796a9916be6d660c627c23f6a40
size 29671

3
Term-ShellUI-0.91.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86a0eb1e2e124936549c27f5ef43e34f20503c3def67fe7097643c64e8dd47ab
size 30664

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Oct 10 15:55:44 UTC 2011 - tejas.guruswamy@opensuse.org
- Update to upstream version 0.91
+ Support calling commands noninteractively (patch by Christian Kuelker)
+ Support calling $term->run() multiple times (patch by Ryan Gies)
+ Now clients can call process_a_cmd manually (patch by Martin Kluge)
+ Undeprecate Term::ReadLine::Perl since it works on Windows.
-------------------------------------------------------------------
Wed May 18 08:10:50 CET 2011 - pascal.bleser@opensuse.org

View File

@@ -1,22 +1,41 @@
# vim: set sw=4 ts=4 et nu:
#
# 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.9
Version: 0.91
Release: 0
License: MIT
Summary: Sophisticated Command Line User Interface
Source: http://search.cpan.org/CPAN/authors/id/B/BR/BRONSON/Term-ShellUI-%{version}.tar.gz
URL: http://search.cpan.org/dist/Term-ShellUI
Url: http://search.cpan.org/dist/Term-ShellUI
Group: Development/Libraries/Perl
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
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
@@ -27,21 +46,21 @@ This module was previously called Term::GDBUI.
%prep
%setup -q -n "Term-ShellUI-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_flags}
%install
%perl_make_install
%perl_process_packlist
%check
%__make test
make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
@@ -54,4 +73,4 @@ This module was previously called Term::GDBUI.
%doc %{perl_man3dir}/Term::ShellUI.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Text::Shellwords::Cursor.%{perl_man3ext}%{ext_man}
%changelog