%define upstream_name Tie-DBI %define upstream_version 1.08 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Tie hashes to DBI relational databases License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/Tie/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(DBD::SQLite) BuildRequires: perl(DBI) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildArch: noarch %description This module allows you to tie Perl associative arrays (hashes) to SQL databases using the DBI interface. The tied hash is associated with a table in a local or networked database. One column becomes the hash key. Each row of the table becomes an associative array, from which individual fields can be set or retrieved. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build CFLAGS="%{optflags}" %check # test require a real database %install %make_install %files %doc Changes META.json META.yml MYMETA.yml %{perl_vendorlib}/Tie %{_mandir}/*/* %changelog * Mon Mar 21 2022 umeabot <umeabot> 1.80.0-3.mga9 + Revision: 1812231 - Mageia 9 Mass Rebuild * Wed Feb 19 2020 umeabot <umeabot> 1.80.0-2.mga8 + Revision: 1543462 - Mageia 8 Mass Rebuild * Mon Jan 20 2020 tv <tv> 1.80.0-1.mga8 + Revision: 1481683 - update to 1.08 + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 1.60.0-8.mga7 + Revision: 1272364 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 1.60.0-7.mga6 + Revision: 1035197 - Rebuild for perl 5.22.2 * Mon Feb 08 2016 umeabot <umeabot> 1.60.0-6.mga6 + Revision: 944768 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.60.0-5.mga5 + Revision: 743612 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.60.0-4.mga5 + Revision: 686682 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 1.60.0-3.mga4 + Revision: 525634 - Mageia 4 Mass Rebuild * Sat Jun 01 2013 takashi <takashi> 1.60.0-2.mga4 + Revision: 433900 - Update to 1.06 * Sun Jan 13 2013 umeabot <umeabot> 1.50.0-2.mga3 + Revision: 374296 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 21 2011 jquelin <jquelin> 1.50.0-1.mga1 + Revision: 28333 - fix make command - mageia rebuild - cleaning spec file - imported package perl-Tie-DBI * Wed Apr 14 2010 Guillaume Rousse <guillomovitch@mandriva.org> 1.50.0-1mdv2010.1 + Revision: 534935 - new version * Thu Apr 01 2010 Jérôme Quelin <jquelin@mandriva.org> 1.40.0-1mdv2010.1 + Revision: 530666 - update to 1.04 * Tue Mar 30 2010 Jérôme Quelin <jquelin@mandriva.org> 1.30.0-1mdv2010.1 + Revision: 529784 - update to 1.03 * Sat Aug 01 2009 Jérôme Quelin <jquelin@mandriva.org> 1.20.0-1mdv2010.0 + Revision: 405719 - rebuild using %%perl_convert_version * Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 1.02-4mdv2009.0 + Revision: 224400 - rebuild * Thu Mar 06 2008 Oden Eriksson <oeriksson@mandriva.com> 1.02-3mdv2008.1 + Revision: 180611 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Mon Jul 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.02-2mdv2008.0 + Revision: 47043 - rebuild * Wed May 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.02-1mdv2007.0 - New release 1.02 * Mon Mar 06 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.01-2mdk - %%mkrel - spec cleanup - rpmbuildupdate aware - fix directory ownership - better summary and description * Tue Mar 08 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.01-1mdk - 1.01 * Mon Nov 29 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.94-1mdk - 0.94 * Thu Jun 03 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.93-1mdk - 0.93 - drop redundant buildrequires and requires - cosmetics