perl-DBI/perl-DBI.spec

185 lines
5.5 KiB
RPMSpec

#
# spec file for package perl-DBI (Version 1.56)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-DBI
BuildRequires: perl-Curses
Version: 1.56
Release: 1
Requires: perl = %{perl_version}
Requires: perl-PlRPC
Provides: perl_dbi DBI
Obsoletes: perl_dbi
Autoreqprov: on
Group: Development/Libraries/Perl
License: GNU General Public License (GPL)
URL: http://cpan.org/modules/by-module/DBI/
Summary: The Perl Database Interface
Source: DBI-%{version}.tar.bz2
Patch: %{name}-%{version}-dbis.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Perl Database Interface by Tim Bunce.
Authors:
--------
Tim Bunce <Tim.Bunce@pobox.com>
<dbi-users@isc.org>
%prep
%setup -q -n DBI-%{version}
%patch
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%check
make test
%install
%perl_make_install
%perl_process_packlist
rm $RPM_BUILD_ROOT/%{perl_vendorarch}/goferperf.pl
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes README
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Bundle
%{perl_vendorarch}/DBD
%{perl_vendorarch}/DBI
%{perl_vendorarch}/DBI.pm
%{perl_vendorarch}/Roadmap.pod
%{perl_vendorarch}/Win32
%{perl_vendorarch}/auto/DBI
%{perl_vendorarch}/TASKS.pod
%{_bindir}/*
/var/adm/perl-modules/%{name}
%changelog
* Mon Jun 11 2007 - anicka@suse.cz
- update to 1.56
* bugfixes, documentation fixes, test fixes
* Added DBI_GOFER_RANDOM env var that can be use to trigger random
failures and delays when executing gofer requests.
* Added more functionality to the (undocumented) Callback mechanism.
* Added $h->{ReadOnly} attribute.
* Added support for DBI Profile Path to contain refs to scalars
which will be de-ref'd for each profile sample.
* Added dbilogstrip utility to edit DBI logs for diff'ing (gets installed)
* Added details for SQLite 3.3 to NULL handling docs thanks to Alex Teslik.
* Added take_imp_data() to DBI::PurePerl.
* many gofer related changes
* Mon Feb 26 2007 - anicka@suse.cz
- update to 1.54
* Added new DBD::Gofer 'stateless proxy' driver and framework,
* and the DBI test suite is now also executed via DBD::Gofer,
* and DBD::Gofer+DBI::PurePerl, in addition to DBI::PurePerl.
* Added ability for trace() to support filehandle argument,
* including tracing into a string, thanks to Dean Arnold.
* Added ability for drivers to implement func() method
* so proxy drivers can proxy the func method itself.
* Added SQL_BIGINT type code
* Added $h->private_attribute_info method.
* Wed Dec 13 2006 - anicka@suse.cz
- update to 1.53
* Fixed checks for weaken to work with early 5.8.x versions
* Fixed DBD::Proxy handling of some methods, including commit
and rollback.
* Fixed to be more robust against drivers not handling multiple
result sets properly.
* Test fixes.
* Added array context support to execute_array and
execute_for_fetch methods which returns executed tuples
and rows affected.
* Added Tie::Cache::LRU example to docs
* Wed Sep 13 2006 - anicka@suse.cz
- update to 1.52
* fixed several memory leaks
* changes and additions to profiling
* Wed Jul 12 2006 - anicka@suse.cz
- update to 1.51
* many bugfixes, see upstream changelog
* Mon Mar 27 2006 - mls@suse.de
- set DBIS in a way compatible to the header file, fixes
use64bit issue [#155067]
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 03 2006 - anicka@suse.cz
- update to 1.50
* Mon Aug 01 2005 - cthiel@suse.de
- update to version 1.48
* Tue Jul 26 2005 - anicka@suse.cz
- add perl-PlRPC to Requires
* Thu Feb 17 2005 - mjancar@suse.cz
- update to 1.47
* Fri Aug 06 2004 - mjancar@suse.cz
- update to 1.43
* Thu Feb 26 2004 - mjancar@suse.cz
- update to 1.41
* Tue Oct 21 2003 - mjancar@suse.cz
- update to 1.38
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Tue Jul 15 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Mon Jun 16 2003 - mjancar@suse.cz
- fix filelist
* Thu Jun 05 2003 - mjancar@suse.cz
- fix test failing on 64bit architectures
* Wed Jun 04 2003 - mjancar@suse.cz
- update to 1.37
* Changed execute_array() return value from row
count to executed tuple count, and now the
ArrayTupleStatus attribute is mandatory.
- use $RPM_OPT_FLAGS
- don't package MANIFEST
* Tue May 20 2003 - mjancar@suse.cz
- remove unpackaged files
* Fri Dec 13 2002 - prehak@suse.cz
- update to version 1.32
* Tue Jul 09 2002 - prehak@suse.cz
- updated to version 1.28
* Tue Jul 02 2002 - mls@suse.de
- remove race in .packlist generation
* Tue Jan 22 2002 - rvasice@suse.cz
- update to version 1.20
* Tue Aug 14 2001 - rvasice@suse.cz
- update to version 1.19
- spec file cleanup
* Tue Feb 13 2001 - cihlar@suse.cz
- bzipped sources
- use %%{version}
- update to version 1.14
- added %%clean
- fixed file list
- added make test
* Tue Nov 07 2000 - grimmer@suse.de
- removed BuildRoot path via sed calls in spec file
* Tue Oct 31 2000 - grimmer@suse.de
- renamed from perl_dbi to perl-DBI
- added BuildRoot
* Wed Jul 05 2000 - grimmer@suse.de
- marked man pages as documentation
- added missing man pages from section 1
- added Group tag
- added "Provides: DBI"
* Wed May 24 2000 - ug@suse.de
- added to distribution