commit eb8ea5f257abc87d49d3cc02c5f506371b783992 Author: David Dick <ddick@xxxxxxxx> Date: Fri Jan 23 06:25:21 2015 +1100 Initial import (#1166947). .gitignore | 1 + perl-Dancer2.spec | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 130 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..270bf5d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Dancer2-0.158000.tar.gz diff --git a/perl-Dancer2.spec b/perl-Dancer2.spec new file mode 100644 index 0000000..7366265 --- /dev/null +++ b/perl-Dancer2.spec @@ -0,0 +1,128 @@ +Name: perl-Dancer2 +Version: 0.158000 +Release: 1%{?dist} +Summary: Lightweight yet powerful web application framework +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Dancer2/ +Source0: http://www.cpan.org/modules/by-module/Dancer2/Dancer2-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(App::Cmd::Setup) +BuildRequires: perl(Capture::Tiny) >= 0.12 +BuildRequires: perl(Carp) +BuildRequires: perl(CGI::Deurl::XS) +BuildRequires: perl(Class::Load) +BuildRequires: perl(Config::Any) +BuildRequires: perl(Crypt::URandom) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::ShareDir::Install) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) >= 0.22 +BuildRequires: perl(Hash::Merge::Simple) +BuildRequires: perl(HTTP::Body) +BuildRequires: perl(HTTP::Date) +BuildRequires: perl(HTTP::Headers) +BuildRequires: perl(HTTP::Request) +BuildRequires: perl(HTTP::Request::Common) +BuildRequires: perl(HTTP::Server::PSGI) +BuildRequires: perl(HTTP::Tiny) +BuildRequires: perl(Import::Into) +BuildRequires: perl(JSON) +BuildRequires: perl(JSON::XS) +BuildRequires: perl(List::Util) +BuildRequires: perl(LWP::Protocol::PSGI) >= 0.06 +BuildRequires: perl(Math::Random::ISAAC::XS) +BuildRequires: perl(MIME::Types) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(Moo) >= 1.003000 +BuildRequires: perl(Moo::Role) +BuildRequires: perl(MooX::Types::MooseLike) >= 0.16 +BuildRequires: perl(MooX::Types::MooseLike::Base) +BuildRequires: perl(parent) +BuildRequires: perl(Plack) >= 1.0029 +BuildRequires: perl(Plack::Request) +BuildRequires: perl(Plack::Response) +BuildRequires: perl(Plack::Builder) +BuildRequires: perl(Plack::Middleware::FixMissingBodyInRedirect) +BuildRequires: perl(Plack::Middleware::RemoveRedundantBody) +BuildRequires: perl(Plack::Test) +BuildRequires: perl(Pod::Simple::Search) +BuildRequires: perl(Pod::Simple::SimpleTree) +BuildRequires: perl(Return::MultiLevel) +BuildRequires: perl(Role::Tiny) >= 1.003000 +BuildRequires: perl(Safe::Isa) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Scope::Upper) +BuildRequires: perl(Sub::Quote) +BuildRequires: perl(Template) +BuildRequires: perl(Template::Tiny) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::Memory::Cycle) >= 1.04 +BuildRequires: perl(Test::MockTime) +BuildRequires: perl(Test::More) >= 0.92 +BuildRequires: perl(Test::NoTabs) +BuildRequires: perl(Test::Script) +BuildRequires: perl(Test::TCP) >= 1.13 +BuildRequires: perl(URI) +BuildRequires: perl(URI::Escape) +BuildRequires: perl(URL::Encode::XS) +BuildRequires: perl(YAML) +Requires: perl(Exporter) >= 5.57 +Requires: perl(File::Temp) >= 0.22 +Requires: perl(Plack) >= 1.0029 +Requires: perl(Role::Tiny) >= 1.003000 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(File::Temp\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Exporter\\)$ +%description +Dancer2 is the new generation of Dancer, the lightweight web-framework for +Perl. Dancer2 is a complete rewrite based on Moo. + +%prep +%setup -q -n Dancer2-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc AUTHORS Changes GitGuide.md LICENSE +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%package -n dancer2 +Summary: dancer2 - Dancer2 command line interface + +%description -n dancer2 +Dancer2 is the new generation lightweight web-framework for Perl. This tool +provides nice, easily-extendable CLI interface for it. + +%files -n dancer2 +%doc LICENSE +%{_mandir}/man1/* +%{_bindir}/* + +%changelog +* Wed Jan 14 2015 David Dick <ddick@xxxxxxxx> - 0.158000-1 +- Initial release diff --git a/sources b/sources index e69de29..10337a9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +30f0cf126975b3390847fa17711b876a Dancer2-0.158000.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