8
0
forked from pool/perl-App-Cmd

- updated to 0.311

require the correct version of Getopt::Long::Descriptive (thanks,
    Glen Hinkle)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-Cmd?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2011-04-06 12:10:16 +00:00
committed by Git OBS Bridge
parent b869b6cb60
commit 0560abd167
4 changed files with 71 additions and 60 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fdc4881b85fa11a70eab0581b50f13f68bd384319241bb6960d29cef84f9c13
size 29702

3
App-Cmd-0.311.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 6 11:50:57 UTC 2011 - coolo@novell.com
- updated to 0.311
require the correct version of Getopt::Long::Descriptive (thanks,
Glen Hinkle)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 29 23:58:22 CET 2010 - pascal.bleser@opensuse.org Wed Dec 29 23:58:22 CET 2010 - pascal.bleser@opensuse.org

View File

@@ -1,85 +1,89 @@
# vim: set sw=4 ts=4 et nu: #
# spec file for package perl-App-Cmd (Version 0.311)
#
# Copyright (c) 2010 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-App-Cmd Name: perl-App-Cmd
Version: 0.310 Version: 0.311
Release: 0 Release: 1
Summary: Write command line apps with less suffering License: GPL+ or Artistic
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/App-Cmd-%{version}.tar.gz %define cpan_name App-Cmd
URL: http://search.cpan.org/dist/App-Cmd Summary: write command line apps with less suffering
Url: http://search.cpan.org/dist/App-Cmd/
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Perl License #Source: http://www.cpan.org/authors/id/R/RJ/RJBS/App-Cmd-%{version}.tar.gz
BuildRoot: %{_tmppath}/build-%{name}-%{version} Source: %{cpan_name}-%{version}.tar.gz
%{perl_requires} BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: make
%if 0%{?suse_version} >= 1120
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Fatal)
%endif
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(constant)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Text::Abbrev)
BuildRequires: perl(Class::Load) >= 0.06
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(String::RewritePrefix)
BuildRequires: perl(IO::TieCombine)
BuildRequires: perl(Data::OptList)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Sub::Exporter::Util) BuildRequires: perl(Class::Load) >= 0.06
BuildRequires: perl(Sub::Install) BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Data::OptList)
BuildRequires: perl(File::Basename) BuildRequires: perl(File::Basename)
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.084 BuildRequires: perl(Getopt::Long::Descriptive) >= 0.084
BuildRequires: perl(Module::Pluggable::Object) BuildRequires: perl(IO::TieCombine)
Requires: perl(Text::Abbrev) BuildRequires: perl(String::RewritePrefix)
Requires: perl(Class::Load) >= 0.06 BuildRequires: perl(Sub::Exporter)
Requires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter::Util)
Requires: perl(String::RewritePrefix) BuildRequires: perl(Sub::Install)
Requires: perl(IO::TieCombine) BuildRequires: perl(Test::Fatal)
Requires: perl(Data::OptList) BuildRequires: perl(Text::Abbrev)
Requires: perl(Carp) Requires: perl(Carp)
Requires: perl(Sub::Exporter::Util) Requires: perl(Class::Load) >= 0.06
Requires: perl(Sub::Install) Requires: perl(Data::OptList)
Requires: perl(File::Basename) Requires: perl(File::Basename)
Requires: perl(Getopt::Long::Descriptive) >= 0.084 Requires: perl(Getopt::Long::Descriptive) >= 0.084
Requires: perl(Module::Pluggable::Object) Requires: perl(IO::TieCombine)
Requires: perl(String::RewritePrefix)
Requires: perl(Sub::Exporter)
Requires: perl(Sub::Exporter::Util)
Requires: perl(Sub::Install)
Requires: perl(Text::Abbrev)
%{perl_requires}
%description %description
App::Cmd is intended to make it easy to write complex command-line App::Cmd is intended to make it easy to write complex command-line
applications without having to think about most of the annoying things applications without having to think about most of the annoying things
usually involved. usually involved.
For information on how to start using App::Cmd, see App::Cmd::Tutorial.
For information on how to start using App::Cmd, see the App::Cmd::Tutorial
manpage.
%prep %prep
%setup -q -n "App-Cmd-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL
%__sed -i 's|6.31|6.30|g' Makefile.PL
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%if 0%{?suse_version} >= 1120
%check
%__make test
%endif
%clean %clean
%{?buildroot:%__rm -rf "%{buildroot}"} %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,755)
%doc Changes LICENSE README %doc %attr(644,-,-) Changes LICENSE README
%dir %{perl_vendorlib}/App
%{perl_vendorlib}/App/Cmd.pm
%{perl_vendorlib}/App/Cmd
%dir %{perl_vendorarch}/auto/App
%{perl_vendorarch}/auto/App/Cmd
%doc %{perl_man3dir}/App::Cmd.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/App::Cmd::*.%{perl_man3ext}%{ext_man}
%changelog