rpms/perl-CGI-Application-Plugin-DBH/F-11 perl-CGI-Application-Plugin-DBH.spec, NONE, 1.1

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jun 21 09:42:55 UTC 2009


Author: eseyman

Update of /cvs/pkgs/rpms/perl-CGI-Application-Plugin-DBH/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25836

Added Files:
	perl-CGI-Application-Plugin-DBH.spec 
Log Message:
Import the spec file (why didn't the import do this?).



--- NEW FILE perl-CGI-Application-Plugin-DBH.spec ---
Name:           perl-CGI-Application-Plugin-DBH
Version:        4.00
Release:        1%{?dist}
Summary:        Easy DBI access from CGI::Application
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/CGI-Application-Plugin-DBH/
Source0:        http://www.cpan.org/authors/id/M/MA/MARKSTOS/CGI-Application-Plugin-DBH-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(CGI::Application)
BuildRequires:  perl(DBD::Mock) >= 0.11
BuildRequires:  perl(DBI)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
CGI::Application::Plugin::DBH adds easy access to a DBI database handle to
your CGI::Application modules. Lazy loading is used to prevent a database
connection from being made if the dbh method is not called during the
request. In other words, the database connection is not created until it is
actually needed.

%prep
%setup -q -n CGI-Application-Plugin-DBH-%{version}

%build
%{__perl} Build.PL installdirs=vendor
./Build

%install
rm -rf $RPM_BUILD_ROOT

./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Mon Jun 11 2007 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 4.00-1
- Specfile autogenerated by cpanspec 1.70.




More information about the Fedora-perl-devel-list mailing list