Name: perl-Dancer-Plugin-REST Version: 0.07 Release: 1%{?dist} Summary: Plugin for writing RESTful apps with Dancer License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Dancer-Plugin-REST/ Source0: file:///home/dave/mirrors/minicpan//authors/id/S/SU/SUKRIA/Dancer-Plugin-REST-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Dancer) >= 1.3014 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(JSON) BuildRequires: perl(Test::More) >= 0.87 Requires: perl(Dancer) >= 1.3014 Requires: perl(JSON) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This plugin helps you write a RESTful webservice with Dancer. %prep %setup -q -n Dancer-Plugin-REST-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jun 23 2012 Dave Cross 0.07-1 - Specfile autogenerated by cpanspec 1.78.