perl-DBD-MySQL/perl-DBD-MySQL.spec

98 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:11:54 -04:00
Name: perl-DBD-MySQL
2021-01-27 20:09:34 +08:00
Version: 4.050
2022-11-17 16:38:18 +08:00
Release: 4
2019-09-30 11:11:54 -04:00
Summary: Perl [DBI] driver for access to MySQL databases.
2022-06-25 08:35:15 +00:00
License: GPL-1.0-or-later or Artistic-1.0
2019-09-30 11:11:54 -04:00
URL: https://metacpan.org/release/DBD-mysql
2021-01-27 20:09:34 +08:00
Source0: https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-%{version}.tar.gz
2022-11-17 16:38:18 +08:00
Patch0: backport-DBD-mysql-4.050-Remove-a-useless-shebang-from-DBD-mysql.patch
2019-09-30 11:11:54 -04:00
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
2019-09-30 11:11:54 -04:00
BuildRequires: perl(DBI) >= 1.609
BuildRequires: perl(DBI::DBD)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Simple) >= 0.90
2021-01-27 20:09:34 +08:00
BuildRequires: perl(Devel::CheckLib) >= 1.09
2019-09-30 11:11:54 -04:00
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 -n DBD-mysql-%{version} -p1
2019-09-30 11:11:54 -04:00
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
2022-11-17 16:38:18 +08:00
* Thu Nov 17 2022 dillon chen <dillon.chen@gmail.com> - 4.050-4
- Patch0 remove a useless shebang
2022-06-25 08:35:15 +00:00
* Sat Jun 25 2022 Xinyi Gou <plerks@163.com> - 4.050-3
- Specify license version
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.050-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
2021-01-27 20:09:34 +08:00
* Thu Jan 14 2021 yanglongkang <yanglongkang@huawei.com> - 4.050-1
- update version 4.050
2020-08-10 15:21:43 +08:00
* Mon Aug 10 2020 volcanodragon <linfeilong@huawei.com> - 4.064-7
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update yaml file
2019-11-06 19:45:41 +08:00
* Tue Oct 15 2019 shenyangyang<shenyangyang4@huawei.com> - 4.064-6
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:delete unneeded build requires
2019-09-30 11:11:54 -04:00
* Sat Aug 31 2019 zoujing<zoujing13@huawei.com> - 4.064-5
- Type:enhancemnet
- ID:NA
- SUG:restart
2019-11-06 19:45:41 +08:00
- DESC:openEuler Debranding
2019-09-30 11:11:54 -04:00
* 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