perl-Dancer/perl-Dancer.spec
2012-07-09 12:41:10 +02:00

157 lines
4.9 KiB
RPMSpec

Name: perl-Dancer
Version: 1.3097
Release: 1%{?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(base)
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(Try::Tiny) >= 0.09
BuildRequires: perl(URI) >= 1.59
BuildRequires: perl(XML::Simple)
BuildRequires: perl(YAML)
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Run-time for tests:
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::stat)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(IO::File)
BuildRequires: perl(Plack::Handler::FCGI)
BuildRequires: perl(Plack::Runner)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(URI::Escape)
# Optional tests:
BuildRequires: perl(HTTP::Parser::XS)
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Dancer::Session::Cookie) >= 0.14
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(HTTP::Body) >= 1.07
Requires: perl(HTTP::Server::Simple::PSGI) >= 0.11
Requires: perl(LWP)
Requires: perl(Try::Tiny) >= 0.09
Requires: perl(URI) >= 1.59
%{?perl_default_filter}
# Do not export under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTTP::Body|HTTP::Server::Simple::PSGI|Try::Tiny|URI\\)\\s*$
%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=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc AUTHORS CHANGES LICENSE README TODO examples
%{_bindir}/dancer
%{perl_vendorlib}/*
%{_mandir}/man1/dancer.1*
%{_mandir}/man3/*
%changelog
* Mon Jul 09 2012 Jitka Plesnikova <jplesnik@redhat.com> 1.3097-1
- 1.3097 bump
* Sat Jun 30 2012 Petr Pisar <ppisar@redhat.com> - 1.3095-2
- Perl 5.16 rebuild
* Tue Apr 10 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.3095-1
- 1.3095 bump
- 810865 bootstrap macro for test only BR
* Thu Mar 01 2012 Petr Šabata <contyk@redhat.com> - 1.3093-1
- 1.3093 bump
* Mon Jan 30 2012 Petr Šabata <contyk@redhat.com> - 1.3092-1
- 1.3092 bump
- Package examples
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3091-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jan 03 2012 Petr Pisar <ppisar@redhat.com> - 1.3091-2
- Enable optional tests requiring perl(Dancer::Session::Cookie).
* Mon Dec 19 2011 Petr Pisar <ppisar@redhat.com> - 1.3091-1
- 1.3091 bump
* Wed Dec 14 2011 Petr Šabata <contyk@redhat.com> - 1.3090-1
- 1.3090 bump
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.3080-1
- 1.3080 bump
* Wed Aug 24 2011 Petr Sabata <contyk@redhat.com> - 1.3072-1
- 1.3072 bump
* Wed Aug 10 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.3071-1
- update
- add filter for RPM 4.8
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.3040-3
- Perl mass rebuild
* 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.