Name: perl-Class-DBI-Pg Version: 0.09 Release: 2%{?dist} Summary: Class::DBI extension for PostgreSQL Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Class-DBI-Pg/ Source0: http://search.cpan.org/CPAN/authors/id/S/SR/SRI/Class-DBI-Pg-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Class::DBI), perl-DBD-Pg, perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl-DBD-Pg %description %{summary}. %prep %setup -q -n Class-DBI-Pg-%{version} perldoc -t perlartistic > Artistic perldoc -t perlgpl > COPYING %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 -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Artistic COPYING Changes %{perl_vendorlib}/Class/DBI %{_mandir}/man3/*.3* %changelog * Fri Aug 24 2007 Tom "spot" Callaway 0.09-2 - license fix * Thu Sep 14 2006 Tom "spot" Callaway 0.09-1 - bump to 0.09 * Fri Mar 31 2006 Tom "spot" Callaway 0.08-1 - bump to 0.08 * Fri Sep 2 2005 Paul Howarth 0.06-3 - remove redundant BR: perl - honor %%{_smp_mflags} - include license text - add perl-DBD-Pg dep * Fri Jul 8 2005 Tom "spot" Callaway 0.06-2 - cleanups * Wed Jul 6 2005 Tom "spot" Callaway 0.06-1 - Initial package for Fedora Extras