043e5e6
Name:           perl-DBD-ODBC
bd684a2
Version:        1.52
bd684a2
Release:        1%{?dist}
043e5e6
Summary:        ODBC Driver for DBI
043e5e6
License:        GPL+ or Artistic
043e5e6
Group:          Development/Libraries
043e5e6
URL:            http://search.cpan.org/dist/DBD-ODBC/
043e5e6
Source0:        http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{version}.tar.gz
043e5e6
BuildRequires:  perl
043e5e6
BuildRequires:  perl(Config)
043e5e6
BuildRequires:  perl(Data::Dumper)
043e5e6
BuildRequires:  perl(DBI)
043e5e6
BuildRequires:  perl(ExtUtils::MakeMaker)
043e5e6
BuildRequires:  perl(Test::Pod)
043e5e6
BuildRequires:  perl(Test::Pod::Coverage)
043e5e6
BuildRequires:  unixODBC-devel
043e5e6
Requires:       perl(DBI)
043e5e6
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
043e5e6
Requires:       unixODBC
650b607
Patch0:         Changes.patch
043e5e6
043e5e6
043e5e6
%description
043e5e6
This module is needed to access ODBC databases from within Perl. The
043e5e6
module uses the unixODBC manager to connect to the database.
043e5e6
043e5e6
%prep
043e5e6
%setup -q -n DBD-ODBC-%{version}
650b607
%patch0 -p1
043e5e6
043e5e6
%build
3943b93
PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL -u INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
043e5e6
make %{?_smp_mflags}
043e5e6
043e5e6
%install
043e5e6
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
043e5e6
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
043e5e6
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
043e5e6
%{_fixperms} $RPM_BUILD_ROOT/*
043e5e6
043e5e6
%check
043e5e6
make test
043e5e6
043e5e6
%files
043e5e6
%doc Changes FAQ README TO_DO
043e5e6
%{perl_vendorarch}/auto/*
043e5e6
%{perl_vendorarch}/DBD*
043e5e6
%{_mandir}/man3/*
043e5e6
043e5e6
%changelog
bd684a2
* Mon Apr 20 2015 Jan Holcapek <holcapek@gmail.com> - 1.52-1
bd684a2
- Updated to upstream version 1.52.
bd684a2
96e2cbb
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.50-5
96e2cbb
- Perl 5.20 rebuild
96e2cbb
592bcd6
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-4
592bcd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
592bcd6
3943b93
* Mon Aug 4 2014 Jan Holcapek <holcapek@gmail.com> 1.50-3
3943b93
- Enabled Unicode support.
3943b93
- Fixed release in changelog.
3943b93
2defd47
* Mon Jul 28 2014 Jan Holcapek <holcapek@gmail.com> 1.50-1
2defd47
- Updated to upstream version 1.50.
2defd47
33e2a5a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.48-2
33e2a5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
33e2a5a
3d62549
* Thu Mar 6 2014 Jan Holcapek <holcapek@gmail.com> 1.48-1
3d62549
- Updated to upstream version 1.48.
3d62549
650b607
* Mon Feb 24 2014 Jan Holcapek <holcapek@gmail.com> 1.47-2
650b607
- Fix formatting of Changes, which confused RPM dependency
650b607
  solver find-requires.sh so that it made the RPM require 'perl(the)'
650b607
8b7289a
* Fri Feb 21 2014 Jan Holcapek <holcapek@gmail.com> 1.47-1
8b7289a
- Updated to upstream version 1.47.
8b7289a
043e5e6
* Fri Nov 22 2013 Jan Holcapek <holcapek@gmail.com> 1.45-1
043e5e6
- Initial import (#1028521).
043e5e6
043e5e6
* Fri Nov 08 2013 Jan Holcapek <holcapek@gmail.com> 1.45-1
043e5e6
- Specfile autogenerated by cpanspec 1.78.