diff --git a/SQL-Abstract-1.24.tar.gz b/SQL-Abstract-1.24.tar.gz deleted file mode 100644 index 2d03472..0000000 --- a/SQL-Abstract-1.24.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6fdb1ca9570c2609fd1e974b90d56416cbef397b76e2ff3e98162a9614b3d76e -size 27841 diff --git a/SQL-Abstract-1.60.tar.bz2 b/SQL-Abstract-1.60.tar.bz2 new file mode 100644 index 0000000..3dba5d1 --- /dev/null +++ b/SQL-Abstract-1.60.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd32cb5f22330eb493c0740e1031d21e670025a495486f956de72b2be5c1fd00 +size 54604 diff --git a/perl-SQL-Abstract.changes b/perl-SQL-Abstract.changes new file mode 100644 index 0000000..5303abb --- /dev/null +++ b/perl-SQL-Abstract.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Fri Dec 11 14:47:44 UTC 2009 - chris@computersalat.de + +- update to version 1.60 + * lot of changes, see Changes +- cleanup spec + * added header + * sorted Tags + * fixed build-/deps + * added author + * moved changelog to .changes +- added perl-macros + * perl_gen_filelist + +------------------------------------------------------------------- +Sun Oct 26 08:12:19 CET 2008 - gerrit.beine@gmx.de + +- first release 1.24 + diff --git a/perl-SQL-Abstract.spec b/perl-SQL-Abstract.spec index a281ae2..f749c0b 100644 --- a/perl-SQL-Abstract.spec +++ b/perl-SQL-Abstract.spec @@ -1,16 +1,49 @@ -%define cpan_name SQL-Abstract +# +# spec file for package perl-SQL-Abstract (Version 1.60) +# +# Copyright (c) 2009 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. -Name: perl-%cpan_name -Version: 1.24 -Release: 1 -Provides: %cpan_name -Requires: perl = %{perl_version} -Group: Development/Libraries/Perl -License: Artistic -URL: http://search.cpan.org/dist/SQL-Abstract/ -Summary: Generate SQL from Perl data structures -Source: %cpan_name-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: perl-SQL-Abstract +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: Generate SQL from Perl data structures +Version: 1.60 +Release: 1 +License: Artistic +Group: Development/Libraries/Perl +URL: http://search.cpan.org/dist/SQL-Abstract +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(Pod::Coverage) >= 0.19 +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::Warn) +BuildRequires: perl(Clone) >= 0.31 +BuildRequires: perl(List::Util) +BuildRequires: perl(Scalar::Util) +Requires: perl = %{perl_version} +Requires: perl(List::Util) +Requires: perl(Scalar::Util) +Provides: %{cpan_name} %description This module was inspired by the excellent DBIx::Abstract. However, in using @@ -18,31 +51,34 @@ 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. + Author: + + Laurent Dami, + Norbert Buchmuller + Peter Rabbitson + %prep -%setup -q -n %cpan_name-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -make -make test +SQLATEST_TESTER=1 TEST_POD=1 perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__make} + +%check +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist %clean # clean up the hard disc after build -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.files %defattr(-,root,root) -%doc %{_mandir}/man?/* -%{perl_vendorlib}/SQL -%{perl_vendorarch}/auto/SQL -/var/adm/perl-modules/%{name} -%doc Changes MANIFEST README +%doc Changes -%changelog -n %{name} -* Sun Oct 26 2008 - gerrit.beine@gmx.de -- first release 1.24 +%changelog