Name: perl-SQL-Abstract Version: 1.61 Release: 1%{?dist} Summary: Generate SQL from Perl data structures License: GPL+ Group: Development/Libraries URL: http://search.cpan.org/dist/SQL-Abstract/ Source0: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/SQL-Abstract-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(Clone) >= 0.31 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Warn) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module was inspired by the excellent DBIx::Abstract. However, in using that module I found that what I really wanted to do was generate SQL, but still retain complete control over my statement handles and use the DBI interface. So, I set out to create an abstract SQL generation module. %prep %setup -q -n SQL-Abstract-%{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 %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Mar 09 2010 Dave Cross 1.61-1 - Specfile autogenerated by cpanspec 1.78.