1f29c4
Name:           perl-DBD-SQLite
1f29c4
Version:        1.39
98b28b
Release:        3%{?dist}
1f29c4
Summary:        SQLite DBI Driver
1f29c4
Group:          Development/Libraries
1f29c4
License:        GPL+ or Artistic
1f29c4
URL:            http://search.cpan.org/dist/DBD-SQLite/
1f29c4
Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-%{version}.tar.gz
1f29c4
patch0:         perl-DBD-SQLite-bz543982.patch
1f29c4
# if sqlite >= 3.1.3 then
1f29c4
#   perl-DBD-SQLite uses the external library
1f29c4
# else
1f29c4
#   perl-DBD-SQLite is self-contained (uses the sqlite local copy)
1f29c4
BuildRequires:  sqlite-devel
1f29c4
BuildRequires:  perl
1f29c4
BuildRequires:  perl(constant)
1f29c4
BuildRequires:  perl(DynaLoader)
1f29c4
BuildRequires:  perl(ExtUtils::MakeMaker)
1f29c4
# Prevent bug #443495
1f29c4
BuildRequires:  perl(DBI) >= 1.607
1f29c4
BuildRequires:  perl(strict)
1f29c4
BuildRequires:  perl(warnings)
1f29c4
# Tests only
1f29c4
BuildRequires:  perl(Carp)
1f29c4
BuildRequires:  perl(Data::Dumper)
1f29c4
BuildRequires:  perl(Encode)
1f29c4
BuildRequires:  perl(Exporter)
1f29c4
BuildRequires:  perl(File::Spec) >= 0.82
1f29c4
BuildRequires:  perl(File::Spec::Functions)
1f29c4
BuildRequires:  perl(File::Temp)
1f29c4
BuildRequires:  perl(locale)
1f29c4
BuildRequires:  perl(Test::Builder)
1f29c4
BuildRequires:  perl(Test::More) >= 0.42
1f29c4
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
1f29c4
1f29c4
%{?perl_default_filter}
1f29c4
1f29c4
%description
1f29c4
SQLite is a public domain RDBMS database engine that you can find at
1f29c4
http://www.hwaci.com/sw/sqlite/.
1f29c4
1f29c4
This module provides a SQLite RDBMS module that uses the system SQLite 
1f29c4
libraries.
1f29c4
1f29c4
%prep
1f29c4
%setup -q -n DBD-SQLite-%{version}
1f29c4
%patch0 -p1 -b .bz543982
1f29c4
1f29c4
%build
1f29c4
CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor
1f29c4
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
1f29c4
1f29c4
%install
1f29c4
make pure_install DESTDIR=%{buildroot}
1f29c4
find %{buildroot} -type f \( -name .packlist -o \
1f29c4
     -name '*.bs' -size 0 \) -exec rm -f {} ';'
1f29c4
%{_fixperms} %{buildroot}/*
1f29c4
1f29c4
%check
1f29c4
make test
1f29c4
1f29c4
%files
1f29c4
%doc Changes README
1f29c4
%{perl_vendorarch}/auto/*
1f29c4
%{perl_vendorarch}/DBD/
1f29c4
%{_mandir}/man3/*.3pm*
1f29c4
1f29c4
%changelog
98b28b
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.39-3
98b28b
- Mass rebuild 2014-01-24
98b28b
98b28b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.39-2
98b28b
- Mass rebuild 2013-12-27
98b28b
1f29c4
* Mon Jun 10 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.39-1
1f29c4
- 1.39 bump
1f29c4
- Use DESTDIR rather than PERL_INSTALL_ROOT
1f29c4
- Update source URL
1f29c4
1f29c4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-4
1f29c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1f29c4
1f29c4
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-3
1f29c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1f29c4
1f29c4
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 1.37-2
1f29c4
- Perl 5.16 rebuild
1f29c4
1f29c4
* Tue Jun 12 2012 Petr Šabata <contyk@redhat.com> - 1.37-1
1f29c4
- 1.37 bump (sqlite3.7.11 and various bugfixes)
1f29c4
- Drop command macros
1f29c4
- Fix dependencies
1f29c4
1f29c4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.35-2
1f29c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1f29c4
1f29c4
* Tue Nov 29 2011 Petr Šabata <contyk@redhat.com> - 1.35-1
1f29c4
- 1.35 bump
1f29c4
1f29c4
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.33-2
1f29c4
- Perl mass rebuild
1f29c4
1f29c4
* Mon May 30 2011 Petr Sabata <contyk@redhat.com> - 1.33-1
1f29c4
- 1.33 bump
1f29c4
- BuildRoot and defattr cleanup
1f29c4
- Dropping the FTS3 tests patch; included upstream
1f29c4
1f29c4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.31-3
1f29c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1f29c4
1f29c4
* Wed Sep 29 2010 jkeating - 1.31-2
1f29c4
- Rebuilt for gcc bug 634757
1f29c4
1f29c4
* Wed Sep 15 2010 Petr Sabata <psabata@redhat.com> - 1.31-1
1f29c4
- New release, v1.31
1f29c4
- Significant FTS3 changes -- might break compatibility with pre-1.30 applications using FTS3
1f29c4
- New FTS3 tests patch by Paul Howarth
1f29c4
1f29c4
* Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 1.29-4
1f29c4
- fix testsuite to run with the latest sqlite (bugs.debian.org/591111)
1f29c4
1f29c4
* Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 1.29-3
1f29c4
- rebuild
1f29c4
1f29c4
* Mon Jun 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.29-2
1f29c4
- fix description/summary
1f29c4
1f29c4
* Thu Jun 10 2010 Petr Sabata <psabata@redhat.com> - 1.29-1
1f29c4
- Update to the latest release
1f29c4
1f29c4
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-4
1f29c4
- Mass rebuild with perl-5.12.0
1f29c4
1f29c4
* Mon Jan 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.27-3
1f29c4
- 543982 change Makefile.PL to compile with system sqlite
1f29c4
1f29c4
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.27-2
1f29c4
- rebuild against perl 5.10.1
1f29c4
1f29c4
* Wed Nov 25 2009 Stepan Kasal <skasal@redhat.com> 1.27-1
1f29c4
- new upstream version
1f29c4
1f29c4
* Fri Sep 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.25-4
1f29c4
- Filtering errant private provides
1f29c4
1f29c4
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
1f29c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1f29c4
1f29c4
* Wed Jun 10 2009 Stepan Kasal <skasal@redhat.com> 1.25-2
1f29c4
- rebuild against DBI 1.609
1f29c4
1f29c4
* Fri May 29 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.25-1
1f29c4
- 1.25 needed for DBIx::Class 0.08103
1f29c4
- auto-update to 1.25 (by cpan-spec-update 0.01)
1f29c4
- added a new br on perl(File::Spec) (version 0.82)
1f29c4
- altered br on perl(Test::More) (0 => 0.42)
1f29c4
- added a new br on perl(DBI) (version 1.57)
1f29c4
1f29c4
* Mon Apr 20 2009 Marcela Maslanova <mmaslano@redhat.com> 1.23-1
1f29c4
- update to the latest version
1f29c4
1f29c4
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-9
1f29c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1f29c4
1f29c4
* Mon Jun  2 2008 Marcela Maslanova <mmaslano@redhat.com> 1.14-8
1f29c4
1f29c4
* Wed Mar 19 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.14-7
1f29c4
- reenable tests
1f29c4
1f29c4
* Tue Mar 18 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.14-6
1f29c4
- apply sanity patches derived from RT#32100
1f29c4
1f29c4
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14-5.1
1f29c4
- Rebuild for perl 5.10 (again)
1f29c4
1f29c4
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.14-4.1
1f29c4
- Autorebuild for GCC 4.3
1f29c4
1f29c4
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.14-3.1
1f29c4
- tests disabled, due to x86_64 failures
1f29c4
1f29c4
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.14-3
1f29c4
- rebuild for new perl
1f29c4
1f29c4
* Wed Dec 19 2007 Steven Pritchard <steve@kspei.com> 1.14-2
1f29c4
- Fix find option order.
1f29c4
- Use fixperms macro instead of our own chmod incantation.
1f29c4
1f29c4
* Mon Dec 10 2007 Robin Norwood <rnorwood@redhat.com> - 1.14-1
1f29c4
- Update to latest upstream version: 1.14
1f29c4
- Remove patch - no longer needed.
1f29c4
1f29c4
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-2.1
1f29c4
- correct license tag
1f29c4
- add BR: perl(ExtUtils::MakeMaker)
1f29c4
1f29c4
* Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-2
1f29c4
- Rebuild for FC6.
1f29c4
1f29c4
* Tue Apr 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.12-1
1f29c4
- Update to 1.12.
1f29c4
1f29c4
* Wed Apr  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-4
1f29c4
- Patch to build with system sqlite 3.3.x (#183530).
1f29c4
- Patch to avoid type information segv (#187873).
1f29c4
1f29c4
* Thu Mar  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-3
1f29c4
- DBD::SQLite fails to build with the current FC-5 sqlite version (3.3.3);
1f29c4
  see bugzilla entry #183530.
1f29c4
  Forcing package rebuild with the included version of sqlite (3.2.7).
1f29c4
1f29c4
* Sat Feb 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-2
1f29c4
- Rebuild for FC5 (perl 5.8.8).
1f29c4
1f29c4
* Fri Dec  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.11-1
1f29c4
- Update to 1.11.
1f29c4
1f29c4
* Fri Dec  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.10-1
1f29c4
- Update to 1.10.
1f29c4
1f29c4
* Fri Jul 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-2
1f29c4
- Build requirement added: sqlite-devel.
1f29c4
- Doc file added: Changes.
1f29c4
1f29c4
* Fri Jul 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-1
1f29c4
- Update to 1.09.
1f29c4
- This new version can use an external SQLite library (>= 3.1.3).
1f29c4
1f29c4
* Sun Jun 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-2
1f29c4
- temporary maintainership.
1f29c4
1f29c4
* Sat Jun 11 2005 Michael A. Peters <mpeters@mac.com> 1.08-1.1
1f29c4
- minor changes for initial cvs checkin (removed tabs, better url in
1f29c4
- url tag and description tag)
1f29c4
1f29c4
* Tue Apr 12 2005 Michael A. Peters <mpeters@mac.com> 1.08-1
1f29c4
- created initial spec file from Fedora spectemplate-perl.spec