From 82274f3f7c00dae2d92d076192fc3d6490c9751c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 20 May 2011 08:23:53 +0200 Subject: [PATCH] Initial push of Dancer. --- .gitignore | 1 + perl-Dancer.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 93 insertions(+) create mode 100644 perl-Dancer.spec diff --git a/.gitignore b/.gitignore index e69de29..17f779d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Dancer-1.3040.tar.gz diff --git a/perl-Dancer.spec b/perl-Dancer.spec new file mode 100644 index 0000000..a7568aa --- /dev/null +++ b/perl-Dancer.spec @@ -0,0 +1,91 @@ +Name: perl-Dancer +Version: 1.3040 +Release: 2%{?dist} +Summary: Lightweight yet powerful web application framework +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Dancer/ +Source0: http://www.cpan.org/authors/id/X/XS/XSAWYERX/Dancer-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Clone) +BuildRequires: perl(CGI) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Encode) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(HTTP::Body) >= 1.07 +BuildRequires: perl(HTTP::Cookies) +BuildRequires: perl(HTTP::Headers) +BuildRequires: perl(HTTP::Request) +BuildRequires: perl(HTTP::Server::Simple::PSGI) >= 0.11 +BuildRequires: perl(IO::Handle) +BuildRequires: perl(JSON) +BuildRequires: perl(lib) +BuildRequires: perl(LWP) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(MIME::Types) +BuildRequires: perl(Plack::Builder) +BuildRequires: perl(Pod::Coverage) +BuildRequires: perl(strict) +BuildRequires: perl(Template) +BuildRequires: perl(Test::CheckManifest) +BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(Test::Output) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(URI) +BuildRequires: perl(XML::Simple) +BuildRequires: perl(YAML) +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +Requires: perl(HTTP::Body) >= 1.07 +Requires: perl(HTTP::Server::Simple::PSGI) >= 0.11 +Requires: perl(LWP) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%global __requires_exclude perl\\(HTTP::Body|HTTP::Server::Simple::PSGI\\) + +%description +Dancer is a web application framework designed to be as effortless as +possible for the developer, taking care of the boring bits as easily as +possible, yet staying out of your way and letting you get on with writing +your code. + +%prep +%setup -q -n Dancer-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc AUTHORS CHANGES LICENSE README TODO +%{_bindir}/dancer +%{perl_vendorlib}/* +%{_mandir}/man1/dancer.1* +%{_mandir}/man3/* + +%changelog +* Mon May 16 2011 Marcela Mašláňová 1.3040-2 +- add tests BR: CGI, YAML, Template, Clone + +* Fri May 13 2011 Marcela Mašláňová 1.3040-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..b30dc8a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aee9a71497f402414bf34964051cf5de Dancer-1.3040.tar.gz