forked from pool/perl-SQL-Abstract
Accepting request 26273 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-SQL-Abstract via accept of submit request 26273 revision 2. Request was accepted with message: ok OBS-URL: https://build.opensuse.org/request/show/26273 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SQL-Abstract?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
2514817dc4
commit
d1b281b398
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6fdb1ca9570c2609fd1e974b90d56416cbef397b76e2ff3e98162a9614b3d76e
|
|
||||||
size 27841
|
|
3
SQL-Abstract-1.60.tar.bz2
Normal file
3
SQL-Abstract-1.60.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bd32cb5f22330eb493c0740e1031d21e670025a495486f956de72b2be5c1fd00
|
||||||
|
size 54604
|
19
perl-SQL-Abstract.changes
Normal file
19
perl-SQL-Abstract.changes
Normal file
@@ -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
|
||||||
|
|
@@ -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
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
Version: 1.24
|
#
|
||||||
Release: 1
|
|
||||||
Provides: %cpan_name
|
# norootforbuild
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
Group: Development/Libraries/Perl
|
Name: perl-SQL-Abstract
|
||||||
License: Artistic
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
URL: http://search.cpan.org/dist/SQL-Abstract/
|
Summary: Generate SQL from Perl data structures
|
||||||
Summary: Generate SQL from Perl data structures
|
Version: 1.60
|
||||||
Source: %cpan_name-%{version}.tar.gz
|
Release: 1
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%description
|
||||||
This module was inspired by the excellent DBIx::Abstract. However, in using
|
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
|
still retain complete control over my statement handles and use the DBI
|
||||||
interface. So, I set out to create an abstract SQL generation module.
|
interface. So, I set out to create an abstract SQL generation module.
|
||||||
|
|
||||||
|
Author:
|
||||||
|
|
||||||
|
Laurent Dami, <laurent.dami AT etat geneve ch>
|
||||||
|
Norbert Buchmuller <norbi@nix.hu>
|
||||||
|
Peter Rabbitson <ribasushi@cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %cpan_name-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
SQLATEST_TESTER=1 TEST_POD=1 perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
make
|
%{__make}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
# clean up the hard disc after build
|
# 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)
|
%defattr(-,root,root)
|
||||||
%doc %{_mandir}/man?/*
|
%doc Changes
|
||||||
%{perl_vendorlib}/SQL
|
|
||||||
%{perl_vendorarch}/auto/SQL
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
%doc Changes MANIFEST README
|
|
||||||
|
|
||||||
%changelog -n %{name}
|
%changelog
|
||||||
* Sun Oct 26 2008 - gerrit.beine@gmx.de
|
|
||||||
- first release 1.24
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user