perl-Dancer/perl-Dancer.spec

145 lines
4.6 KiB
RPMSpec
Raw Normal View History

2011-05-20 06:23:53 +00:00
Name: perl-Dancer
2012-03-01 12:05:36 +00:00
Version: 1.3093
2012-01-30 13:36:56 +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-12-19 12:31:22 +00:00
Source0: http://www.cpan.org/authors/id/X/XS/XSAWYERX/Dancer-%{version}.tar.gz
2011-05-20 06:23:53 +00:00
BuildArch: noarch
2011-12-19 12:31:22 +00:00
BuildRequires: perl(base)
2011-05-20 06:23:53 +00:00
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)
2011-12-14 12:37:00 +00:00
BuildRequires: perl(Try::Tiny) >= 0.09
BuildRequires: perl(URI) >= 1.59
2011-05-20 06:23:53 +00:00
BuildRequires: perl(XML::Simple)
BuildRequires: perl(YAML)
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
2011-12-19 12:31:22 +00:00
# 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)
BuildRequires: perl(Dancer::Session::Cookie) >= 0.14
2012-03-01 12:05:36 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2011-05-20 06:23:53 +00:00
Requires: perl(HTTP::Body) >= 1.07
Requires: perl(HTTP::Server::Simple::PSGI) >= 0.11
Requires: perl(LWP)
2011-12-14 12:37:00 +00:00
Requires: perl(Try::Tiny) >= 0.09
Requires: perl(URI) >= 1.59
2011-05-20 06:23:53 +00:00
2012-01-30 13:36:56 +00:00
%{?perl_default_filter}
2011-12-19 12:31:22 +00:00
# Do not export under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTTP::Body|HTTP::Server::Simple::PSGI|Try::Tiny|URI\\)\\s*$
2011-05-20 06:23:53 +00:00
%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
2012-01-30 13:36:56 +00:00
perl Makefile.PL INSTALLDIRS=vendor
2011-05-20 06:23:53 +00:00
make %{?_smp_mflags}
%install
2011-12-14 12:37:00 +00:00
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}/*
2011-05-20 06:23:53 +00:00
%check
make test
%files
2012-01-30 13:36:56 +00:00
%doc AUTHORS CHANGES LICENSE README TODO examples
2011-05-20 06:23:53 +00:00
%{_bindir}/dancer
%{perl_vendorlib}/*
%{_mandir}/man1/dancer.1*
%{_mandir}/man3/*
%changelog
2012-03-01 12:05:36 +00:00
* Thu Mar 01 2012 Petr Šabata <contyk@redhat.com> - 1.3093-1
- 1.3093 bump
2012-01-30 13:36:56 +00:00
* 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).
2011-12-19 12:31:22 +00:00
* Mon Dec 19 2011 Petr Pisar <ppisar@redhat.com> - 1.3091-1
- 1.3091 bump
2011-12-14 12:37:00 +00:00
* Wed Dec 14 2011 Petr Šabata <contyk@redhat.com> - 1.3090-1
- 1.3090 bump
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.