%define pkg_name DBD-SQLite2 %define pkg_version 0.33 %define rpm_pkg_version 0.33 %define rpm_pkg_release 4.n0i.5 Summary: Self Contained RDBMS in a DBI Driver (sqlite 2.x) Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description SQLite is a public domain RDBMS database engine that you can find at http://www.hwaci.com/sw/sqlite/. DBD::SQLite2 embeds that database engine into a DBD driver, so if you want a relational database for your project, but don't want to install a large RDBMS system like MySQL or PostgreSQL, then DBD::SQLite2 may be just what you need. Note: DBD::SQLite2 is the old version of DBD::SQLite, and embeds version 2.x.x of the sqlite library. The current version of DBD::SQLite embeds version 3. This release is designed to allow you to have both versions installed on the same system. SQLite supports quite a lot of features, such as transactions (atomic commit and rollback), indexes, DBA-free operation, a large subset of SQL92 supported, and more. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} # god said: thou shall FAIL! %{!?_without_test:%{__make} test ||:} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %exclude %{perl_vendorarch}/DBD/getsqlite.pl %doc Changes README %changelog * Tue Jun 05 2007 Marius Feraru - 0.33-4.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 * Sat Mar 04 2006 Marius Feraru - 0.33-3.n0i.4 - automatic rebuild (perl 5.8.8) * Sun Jul 24 2005 Marius Feraru 0.33-2.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.33-1.n0i.2 - automatic rebuild (perl 5.8.6) * Tue Jan 04 2005 Marius Feraru 0:0.33-1.n0i.1 - version 0.33 - spec file (re?)created using N0i::CPAN::RPMizer/2004120601