Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > cc90c49786424de17fcdb30aa2b292d5 > files > 2

perl-CGI-Application-Plugin-AutoRunmode-0.16-1mdv2009.1.src.rpm

%define module   CGI-Application-Plugin-AutoRunmode
%define version    0.16
%define release    %mkrel 1

Name:       perl-%{module}
Version:    %{version}
Release:    %{release}
License:    GPL or Artistic
Group:      Development/Perl
Summary:    CGI::App plugin to automatically register runmodes
Url:        http://search.cpan.org/dist/%{module}
Source:     http://www.cpan.org/modules/by-module/CGI/%{module}-%{version}.tar.gz
BuildRequires: perl(CGI::Application)
BuildArch: noarch
BuildRoot:  %{_tmppath}/%{name}-%{version}

%description
This plugin for CGI::Application provides easy ways to setup run modes. You
can just write the method that implement a run mode, you do not have to
explicitly register it with CGI::App anymore.

There are two approaches: 

* Declare run modes with subroutine attributes. 

%prep
%setup -q -n %{module}-%{version} 

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
make test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes README
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog
* Sun Feb 15 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.16-1mdv2009.1
+ Revision: 340551
- update to new version 0.16

* Fri Oct 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.15-1mdv2009.1
+ Revision: 291351
- import perl-CGI-Application-Plugin-AutoRunmode


* Fri Oct 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.15-1mdv2009.1
- initial mdv release, generated with cpan2dist