From 82d81e355bd52608e90a2c1a8677fd267c7d9de1a932467ee559986f7184108c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 27 Jun 2011 11:09:54 +0000 Subject: [PATCH] - initial package 0.11 * created by cpanspec 1.78.05 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-DBI-SQLite?expand=0&rev=2 --- perl-Class-DBI-SQLite.changes | 6 +++ perl-Class-DBI-SQLite.spec | 75 ++++++++++++++++++++--------------- 2 files changed, 48 insertions(+), 33 deletions(-) create mode 100644 perl-Class-DBI-SQLite.changes diff --git a/perl-Class-DBI-SQLite.changes b/perl-Class-DBI-SQLite.changes new file mode 100644 index 0000000..34dfa9e --- /dev/null +++ b/perl-Class-DBI-SQLite.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Mon Jun 27 11:05:02 UTC 2011 - coolo@novell.com + +- initial package 0.11 + * created by cpanspec 1.78.05 + diff --git a/perl-Class-DBI-SQLite.spec b/perl-Class-DBI-SQLite.spec index 02f1f36..a498913 100644 --- a/perl-Class-DBI-SQLite.spec +++ b/perl-Class-DBI-SQLite.spec @@ -1,40 +1,52 @@ # -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# spec file for package perl-Class-DBI-SQLite (Version 0.11) +# +# 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-Class-DBI-SQLite +Version: 0.11 +Release: 1 +# MANUAL +License: GPL+ or Artistic %define cpan_name Class-DBI-SQLite - -Name: perl-%cpan_name -Version: 0.11 -Release: 1 -Summary: Extension to Class::DBI for sqlite -Group: Development/Libraries/Perl -License: Perl -Provides: %cpan_name -Source: %cpan_name-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -BuildRequires: perl -BuildRequires: perl-macros -BuildRequires: perl-Class-DBI -BuildRequires: perl-DBD-SQLite -Requires: perl-Class-DBI -Requires: perl-DBD-SQLite -AutoReqProv: on +Summary: Extension to Class::DBI for sqlite +Url: http://search.cpan.org/dist/Class-DBI-SQLite/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Class::DBI) >= 0.85 +BuildRequires: perl(DBD::SQLite) >= 0.07 +BuildRequires: perl(DBI) +BuildRequires: perl(Ima::DBI) >= 0.27 +Requires: perl(Class::DBI) >= 0.85 +Requires: perl(DBD::SQLite) >= 0.07 +Requires: perl(Ima::DBI) >= 0.27 %{perl_requires} %description -Extension to Class::DBI for sqlite +Class::DBI::SQLite is an extension to Class::DBI for DBD::SQLite. It allows +you to populate an auto-incremented row id after insert. -Authors: --------- - Tatsuhiko Miyagawa +The 'set_up_table' method automates the setup of columns and primary key(s) +via the SQLite PRAGMA statement. %prep -%setup -q -n %cpan_name-%{version} +%setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -49,13 +61,10 @@ Authors: %perl_gen_filelist %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %files -f %{name}.files -%defattr(-,root,root) -%doc Changes MANIFEST +%defattr(-,root,root,755) +%doc Changes %changelog -* Sat Jun 25 2011 gerrit.beine@gmx.de -- initial version -