8
0
forked from pool/perl-App-CLI

Accepting request 507559 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/507559
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-CLI?expand=0&rev=26
This commit is contained in:
Stephan Kulow
2017-07-11 09:51:25 +00:00
committed by Git OBS Bridge
parent dd0b2d3891
commit c44ae3d915
5 changed files with 108 additions and 25 deletions

View File

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

3
App-CLI-0.45.tar.gz Normal file
View File

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

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,63 @@
-------------------------------------------------------------------
Sun Jul 2 05:02:53 UTC 2017 - coolo@suse.com
- updated to 0.45
see /usr/share/doc/packages/perl-App-CLI/Changes
0.45 Wed Jun 28 23:05:58 CEST 2017
* use a version number in the original style
0.4.5 Wed Jun 28 22:59:33 CEST 2017
* put VERSION back in main module file
0.4.4 Wed 28 Jun 2017 22:52:33 CEST
* remove 'provides' metadata
0.4.3 Wed 28 Jun 2017 22:37:58 CEST
* put VERSION back into only Makefile.PL
* updated author information
0.4.2 Wed 28 Jun 2017 22:25:29 CEST
* add VERSION to all .pm files
0.4.1 Wed 28 Jun 2017 21:44:06 CEST
* move version number into Makefile.PL
0.4 Wed 28 Jun 2017 21:37:23 CEST
* version bump; PAUSE thinks that 0.313 is higher than 0.32
0.32 Wed 28 Jun 2017 20:30:19 CEST
* Fix RT#122101: unskip META.yml
* Fix RT#120982: can't find inc/Module/Install.pm; replaced
Module::Install with ExtUtils::MakeMaker
* Fix RT#63798: fix typo in manpage
* Fix RT#62241: signature broken (signature has been removed)
* Fixed more typos in POD
* Fixed some PerlCritic issues
* Updated dependencies, specified repository and provides metadata,
specified minimum Perl version
0.313 Sat 4 Dec 2010 12:55:18 GMT
* add more tests
0.312 Fri 3 Dec 2010 12:06:53 GMT
* add commands() and files() routines
0.311 Fri 3 Dec 2010 05:30:16 GMT
* add more docs
* fix subcommand() to support old genre
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 17 13:54:04 UTC 2011 - coolo@suse.com Thu Nov 17 13:54:04 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-App-CLI # spec file for package perl-App-CLI
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,24 @@
# #
Name: perl-App-CLI Name: perl-App-CLI
Version: 0.313 Version: 0.45
Release: 2 Release: 0
License: GPL+ or Artistic
%define cpan_name App-CLI %define cpan_name App-CLI
Summary: Dispatcher module for command line interface programs Summary: Dispatcher module for command line interface programs
Url: http://search.cpan.org/dist/App-CLI/ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/C/CO/CORNELIUS/App-CLI-%{version}.tar.gz Url: http://search.cpan.org/dist/App-CLI/
Source0: https://cpan.metacpan.org/authors/id/P/PT/PTC/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Locale::Maketext::Simple) BuildRequires: perl(Locale::Maketext::Simple)
BuildRequires: perl(Getopt::Long) >= 2.35
BuildRequires: perl(Pod::Simple::Text) BuildRequires: perl(Pod::Simple::Text)
Requires: perl(Locale::Maketext::Simple)
Requires: perl(Pod::Simple::Text)
%{perl_requires} %{perl_requires}
%description %description
@@ -40,24 +41,21 @@ BuildRequires: perl(Pod::Simple::Text)
command classes. It also supports subcommand and per-command options. command classes. It also supports subcommand and per-command options.
get_opt([@config], %opt_map) get_opt([@config], %opt_map)
give options map, process by Getopt::Long::Parser Give options map, processed by Getopt::Long::Parser.
interface of dispatcher Interface of dispatcher
cmd_map($cmd) cmd_map($cmd)
find package name of subcommand in constant %alias Find package name of subcommand in constant '%alias'.
if it's finded, return ucfirst of the package name, If it's found, return 'ucfirst' of the package name, otherwise, return
'ucfirst' of '$cmd' itself.
otherwise, return ucfirst of $cmd itself.
get_cmd($cmd, @arg) get_cmd($cmd, @arg)
return subcommand of first level via $ARGV[0] Return subcommand of first level via '$ARGV[0]'.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# disable auto_install();
%{__perl} -p -i -e 's|^auto_install.*|#(1)|' Makefile.PL
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -71,11 +69,8 @@ get_cmd($cmd, @arg)
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(644,root,root,755) %defattr(-,root,root,755)
%doc Changes %doc Changes README.md
%changelog %changelog