75 lines
2.3 KiB
RPMSpec
75 lines
2.3 KiB
RPMSpec
|
|
Name: perl-DBD-MySQL
|
||
|
|
Version: 4.046
|
||
|
|
Release: 5
|
||
|
|
Summary: Perl [DBI] driver for access to MySQL databases.
|
||
|
|
License: GPL+ or Artistic
|
||
|
|
URL: https://metacpan.org/release/DBD-mysql
|
||
|
|
Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-%{version}.tar.gz
|
||
|
|
|
||
|
|
Patch0: 0000-DBD-mysql-4.043-Fix-build-failures-for-MariaDB-10.2.patch
|
||
|
|
BuildRequires: coreutils findutils gcc mariadb-connector-c mariadb-connector-c-devel openssl-devel perl-devel
|
||
|
|
BuildRequires: perl-generators perl-interpreter zlib-devel perl perl-macros perl-interpreter perl-File-Path
|
||
|
|
BuildRequires: perl-PathTools perl-Getopt-Long perl-libs perl-ExtUtils-MakeMaker perl-Data-Dumper git
|
||
|
|
BuildRequires: perl(DBI) >= 1.609
|
||
|
|
BuildRequires: perl(DBI::DBD)
|
||
|
|
BuildRequires: perl(Devel::CheckLib) >= 1.09
|
||
|
|
BuildRequires: perl(Test::Deep)
|
||
|
|
BuildRequires: perl(Test::Simple) >= 0.90
|
||
|
|
Requires: perl-libs
|
||
|
|
Provides: perl-DBD-mysql = %{version}-%{release}
|
||
|
|
|
||
|
|
%{?perl_default_filter}
|
||
|
|
|
||
|
|
%description
|
||
|
|
DBD::mysql is the Perl5 Database Interface driver for the MySQL database. In other words: DBD::mysql is an
|
||
|
|
interface between the Perl programming language and the MySQL programming API that comes with the MySQL
|
||
|
|
relational database management system. Most functions provided by this programming API are supported. Some
|
||
|
|
rarely used functions are missing, mainly because no-one ever requested them.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Including man files for perl-DBD-MySQL
|
||
|
|
Requires: man
|
||
|
|
|
||
|
|
%description help
|
||
|
|
This contains man files for the using of perl-DBD-MySQL.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -Sgit -n DBD-mysql-%{version}
|
||
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
||
|
|
make %{?_smp_mflags}
|
||
|
|
|
||
|
|
%install
|
||
|
|
make pure_install DESTDIR=%{buildroot}
|
||
|
|
%{_fixperms} %{buildroot}/*
|
||
|
|
|
||
|
|
%check
|
||
|
|
make test
|
||
|
|
|
||
|
|
%files
|
||
|
|
%license LICENSE
|
||
|
|
%doc Changes README.md
|
||
|
|
%{perl_vendorarch}/*
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/man3/*.3*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Sat Aug 31 2019 zoujing<zoujing13@huawei.com> - 4.064-5
|
||
|
|
- Type:enhancemnet
|
||
|
|
- ID:NA
|
||
|
|
- SUG:restart
|
||
|
|
- DESCi:openEuler Debranding
|
||
|
|
|
||
|
|
* Wed Aug 21 2019 renxudong<renxudong1@huawei.com> - 4.064-4.1
|
||
|
|
- Type:enhancement
|
||
|
|
- ID:NA
|
||
|
|
- SUG:NA
|
||
|
|
- DESC:revise patch name
|
||
|
|
|
||
|
|
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 4.046-4
|
||
|
|
- Package init
|
||
|
|
|