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:
committed by
Git OBS Bridge
parent
b869b6cb60
commit
0560abd167
@@ -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
3
App-Cmd-0.311.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9fbae19a864952bb6c881923c79711179d46f83fdbea63af8bbf3d8a964bf1a
|
||||
size 29912
|
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
Version: 0.310
|
||||
Release: 0
|
||||
Summary: Write command line apps with less suffering
|
||||
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/App-Cmd-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/App-Cmd
|
||||
Version: 0.311
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
%define cpan_name App-Cmd
|
||||
Summary: write command line apps with less suffering
|
||||
Url: http://search.cpan.org/dist/App-Cmd/
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
#Source: http://www.cpan.org/authors/id/R/RJ/RJBS/App-Cmd-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
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(Sub::Exporter::Util)
|
||||
BuildRequires: perl(Sub::Install)
|
||||
BuildRequires: perl(Class::Load) >= 0.06
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Data::OptList)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.084
|
||||
BuildRequires: perl(Module::Pluggable::Object)
|
||||
Requires: perl(Text::Abbrev)
|
||||
Requires: perl(Class::Load) >= 0.06
|
||||
Requires: perl(Sub::Exporter)
|
||||
Requires: perl(String::RewritePrefix)
|
||||
Requires: perl(IO::TieCombine)
|
||||
Requires: perl(Data::OptList)
|
||||
BuildRequires: perl(IO::TieCombine)
|
||||
BuildRequires: perl(String::RewritePrefix)
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
BuildRequires: perl(Sub::Exporter::Util)
|
||||
BuildRequires: perl(Sub::Install)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Text::Abbrev)
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(Sub::Exporter::Util)
|
||||
Requires: perl(Sub::Install)
|
||||
Requires: perl(Class::Load) >= 0.06
|
||||
Requires: perl(Data::OptList)
|
||||
Requires: perl(File::Basename)
|
||||
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
|
||||
App::Cmd is intended to make it easy to write complex command-line
|
||||
applications without having to think about most of the annoying things
|
||||
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
|
||||
%setup -q -n "App-Cmd-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%__sed -i 's|6.31|6.30|g' Makefile.PL
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%if 0%{?suse_version} >= 1120
|
||||
%check
|
||||
%__make test
|
||||
%endif
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc 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}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc %attr(644,-,-) Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user