Name: perl-SQL-Abstract Version: 1.73 Release: 1%{?dist} Summary: Generate SQL from Perl data structures License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/SQL-Abstract/ Source0: http://www.cpan.org/authors/id/F/FR/FREW/SQL-Abstract-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.2 BuildRequires: perl(Class::Accessor::Grouped) >= 0.10005 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Long::Descriptive) >= 0.091 BuildRequires: perl(Hash::Merge) >= 0.12 BuildRequires: perl(List::Util) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.92 BuildRequires: perl(Test::Warn) Requires: perl(Class::Accessor::Grouped) >= 0.10005 Requires: perl(Getopt::Long::Descriptive) >= 0.091 Requires: perl(Hash::Merge) >= 0.12 Requires: perl(List::Util) Requires: perl(Scalar::Util) 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/* %{_bindir}/* %changelog * Sun Jan 20 2013 Dave Cross 1.73-1 - Specfile autogenerated by cpanspec 1.78.