2011-05-20 06:23:53 +00:00
|
|
|
Name: perl-Dancer
|
2011-10-26 11:16:48 +00:00
|
|
|
Version: 1.3080
|
2011-08-10 14:38:37 +00:00
|
|
|
Release: 1%{?dist}
|
2011-05-20 06:23:53 +00:00
|
|
|
Summary: Lightweight yet powerful web application framework
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Dancer/
|
2011-08-10 14:38:37 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/S/SU/SUKRIA/Dancer-%{version}.tar.gz
|
2011-05-20 06:23:53 +00:00
|
|
|
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))
|
|
|
|
|
2011-08-10 14:38:37 +00:00
|
|
|
# RPM 4.8 style
|
|
|
|
%{?filter_from_requires: %filter_from_requires /perl(HTTP::Body)/d; /perl(HTTP::Server::Simple::PSGI)/d; }
|
|
|
|
%{?perl_default_filter}
|
|
|
|
# RPM 4.9 style
|
2011-05-20 06:23:53 +00:00
|
|
|
%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
|
2011-10-26 11:16:48 +00:00
|
|
|
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.3080-1
|
|
|
|
- 1.3080 bump
|
|
|
|
|
2011-08-24 10:59:00 +00:00
|
|
|
* Wed Aug 24 2011 Petr Sabata <contyk@redhat.com> - 1.3072-1
|
|
|
|
- 1.3072 bump
|
|
|
|
|
2011-08-10 14:38:37 +00:00
|
|
|
* Wed Aug 10 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.3071-1
|
|
|
|
- update
|
|
|
|
- add filter for RPM 4.8
|
|
|
|
|
2011-07-20 01:33:17 +00:00
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.3040-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-05-20 06:23:53 +00:00
|
|
|
* Mon May 16 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.3040-2
|
|
|
|
- add tests BR: CGI, YAML, Template, Clone
|
|
|
|
|
|
|
|
* Fri May 13 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.3040-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.79.
|