diff --git a/App-CLI-0.313.tar.gz b/App-CLI-0.313.tar.gz deleted file mode 100644 index db2f642..0000000 --- a/App-CLI-0.313.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67806256dc16f90e74c7e56a931d8b82dec492ca7f3089c9302be8d849f8215a -size 30225 diff --git a/App-CLI-0.45.tar.gz b/App-CLI-0.45.tar.gz new file mode 100644 index 0000000..63f206a --- /dev/null +++ b/App-CLI-0.45.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e22ec5469ad403e794571453ea1227d3b63c18b1df34fb7ad7ce6fb60a4675c +size 8868 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-App-CLI.changes b/perl-App-CLI.changes index 2ef9e9f..eb54c2f 100644 --- a/perl-App-CLI.changes +++ b/perl-App-CLI.changes @@ -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 diff --git a/perl-App-CLI.spec b/perl-App-CLI.spec index a5e1344..6f73cd0 100644 --- a/perl-App-CLI.spec +++ b/perl-App-CLI.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,24 @@ # - Name: perl-App-CLI -Version: 0.313 -Release: 2 -License: GPL+ or Artistic +Version: 0.45 +Release: 0 %define cpan_name App-CLI 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 -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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Locale::Maketext::Simple) -BuildRequires: perl(Getopt::Long) >= 2.35 BuildRequires: perl(Pod::Simple::Text) +Requires: perl(Locale::Maketext::Simple) +Requires: perl(Pod::Simple::Text) %{perl_requires} %description @@ -40,24 +41,21 @@ BuildRequires: perl(Pod::Simple::Text) command classes. It also supports subcommand and per-command options. 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) - 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, - - otherwise, return ucfirst of $cmd itself. + If it's found, return 'ucfirst' of the package name, otherwise, return + 'ucfirst' of '$cmd' itself. get_cmd($cmd, @arg) - return subcommand of first level via $ARGV[0] + Return subcommand of first level via '$ARGV[0]'. %prep %setup -q -n %{cpan_name}-%{version} -# disable auto_install(); -%{__perl} -p -i -e 's|^auto_install.*|#(1)|' Makefile.PL %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -71,11 +69,8 @@ get_cmd($cmd, @arg) %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) -%doc Changes +%defattr(-,root,root,755) +%doc Changes README.md %changelog