# # spec file for package perl-SQL-Abstract-Limit # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-SQL-Abstract-Limit %define cpan_name SQL-Abstract-Limit Summary: A portable LIMIT emulation Version: 0.141 Release: 8.19 License: Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/SQL-Abstract-Limit/ Source: %{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 #BuildRequires: perl(DBD::AnyData) #BuildRequires: perl(Class::DBI) BuildRequires: perl(DBI) BuildRequires: perl(Data::Dumper) BuildRequires: perl(SQL::Abstract) >= 1.2 Requires: perl(DBI) Requires: perl(Data::Dumper) Requires: perl(SQL::Abstract) >= 1.2 Provides: %{cpan_name} %description Portability layer for LIMIT emulation. Author: David Baird %prep %setup -q -n %{cpan_name}-%{version} find -type f -exec chmod 644 {} \; %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root) %doc Changes README %changelog * Wed Dec 1 2010 coolo@novell.com - switch to perl_requires macro * Thu Dec 10 2009 chris@computersalat.de - rpmlint * fix file perm * Thu Dec 10 2009 chris@computersalat.de - update to version 0.141 - fixed pod syntax * 0.14 22nd December 2008, 14:48 - added support for Informix, provided by Paul Falbe. * 0.13 21st December 2008, 23:20 - updated test suite to play with the latest release of SQL::Abstract. Patches supplied by the SQL::Abstract dev team. - cleanup spec * added header * sorted tags * added Author * fixed deps * moved changelog to .changes - added perl-macros * perl_gen_filelist * Sun Oct 26 2008 gerrit.beine@gmx.de - first release 0.12