perl-Dancer/perl-Dancer.spec
2011-12-14 13:37:00 +01:00

113 lines
3.5 KiB
RPMSpec

Name: perl-Dancer
Version: 1.3090
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/S/SU/SUKRIA/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(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)
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
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# 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
%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=%{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
%{_bindir}/dancer
%{perl_vendorlib}/*
%{_mandir}/man1/dancer.1*
%{_mandir}/man3/*
%changelog
* 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.