%define upstream_name Net-MySQL %define upstream_version 0.11 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Pure Perl MySQL network protocol interface License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Digest::SHA1) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::Socket) BuildArch: noarch %description Net::MySQL is a Pure Perl client interface for the MySQL database. This module implements network protocol between server and client of MySQL, thus you don't need external MySQL client library like libmysqlclient for this module to work. It means this module enables you to connect to MySQL server from some operation systems which MySQL is not ported. How nifty! Since this module's final goal is to completely replace DBD::mysql, API is made similar to that of DBI. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/Net %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.110.0-2.mga3 + Revision: 370748 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Nov 08 2011 jquelin <jquelin> 0.110.0-1.mga2 + Revision: 165526 - update to 0.11 * Thu Nov 03 2011 jquelin <jquelin> 0.100.0-1.mga2 + Revision: 162244 - update to 0.10 + takashi <takashi> - update to 0.10 * Sat Jan 22 2011 jquelin <jquelin> 0.90.0-1.mga1 + Revision: 32247 - mageia rebuild - imported package perl-Net-MySQL