commit bf566674c0b11256679f7dedb267c11e56c012fa Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Dec 2 15:10:08 2014 +0100 Initial import (#1168721) .gitignore | 1 + perl-MooseX-App.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 96 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d767b8a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooseX-App-1.30.tar.gz diff --git a/perl-MooseX-App.spec b/perl-MooseX-App.spec new file mode 100644 index 0000000..f2def9d --- /dev/null +++ b/perl-MooseX-App.spec @@ -0,0 +1,94 @@ +Name: perl-MooseX-App +Version: 1.30 +Release: 2%{?dist} +Summary: Write user-friendly command line apps with even less suffering +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/MooseX-App/ +Source0: http://www.cpan.org/authors/id/M/MA/MAROS/MooseX-App-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Config::Any) +BuildRequires: perl(Encode) +BuildRequires: perl(File::HomeDir) +BuildRequires: perl(I18N::Langinfo) +BuildRequires: perl(if) +BuildRequires: perl(IO::Interactive) +BuildRequires: perl(List::Util) +BuildRequires: perl(Module::Pluggable::Object) +BuildRequires: perl(Moose) >= 2.00 +BuildRequires: perl(Moose::Exporter) +BuildRequires: perl(Moose::Role) +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(MooseX::Types::Path::Class) +BuildRequires: perl(namespace::clean) +BuildRequires: perl(overload) +BuildRequires: perl(Path::Class) +BuildRequires: perl(Pod::Elemental) +BuildRequires: perl(Pod::Elemental::Selectors) +BuildRequires: perl(Pod::Elemental::Transformer::Nester) +BuildRequires: perl(Pod::Elemental::Transformer::Pod5) +BuildRequires: perl(Pod::Perldoc) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Term::ANSIColor) +BuildRequires: perl(Term::ReadKey) +BuildRequires: perl(Text::WagnerFischer) +BuildRequires: perl(utf8) +# Tests only +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(FindBin) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Most) +BuildRequires: perl(Test::NoWarnings) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(I18N::Langinfo) +Requires: perl(Moose) >= 2.00 + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moose\\)$ + +%description +MooseX-App is a highly customisable helper to write user-friendly command +line applications without having to worry about most of the annoying things +usually involved. Just take any existing Moose class, add a single line +(use MooseX-App qw(PluginA PluginB ...);) and create one class for each +command in an underlying namespace. Options and positional parameters can +be defined as simple Moose accessors. + +%prep +%setup -q -n MooseX-App-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license LICENCE +%doc Changes README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Dec 02 2014 Petr Šabata <contyk@xxxxxxxxxx> - 1.30-2 +- Fix build issues pointed out in the review + +* Thu Nov 27 2014 Petr Šabata <contyk@xxxxxxxxxx> 1.30-1 +- Initial packaging diff --git a/sources b/sources index e69de29..df90ae6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +57d2174847e1a8d313ec62dd0758f212 MooseX-App-1.30.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel