Name: perl-Class-DBI-Plugin Version: 0.03 Release: 48%{?dist} Summary: Abstract base class for Class::DBI plugins License: GPL+ or Artistic URL: https://metacpan.org/release/Class-DBI-Plugin Source0: https://cpan.metacpan.org/modules/by-module/Class/Class-DBI-Plugin-%{version}.tar.gz BuildArch: noarch # Install BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Module BuildRequires: perl(Class::DBI) >= 0.9 # Test BuildRequires: perl(base) BuildRequires: perl(DBD::SQLite) BuildRequires: perl(DBI) BuildRequires: perl(SQL::Abstract) BuildRequires: perl(Test::More) # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Class::DBI) >= 0.9 %description Class::DBI::Plugin is an abstract base class for Class::DBI plugins. Its purpose is to make writing plugins easier. Writers of plugins should be able to concentrate on the functionality their module provides, instead of having to deal with the symbol table hackery involved when writing a plugin module. Only three things must be remembered: * All methods to be exported are given the "Plugged" attribute. All other methods are not exported to the plugged-in class. * Method calls that are to be sent to the plugged-in class are put in the init() method. Examples of these are set_sql(), add_trigger() and so on. * The class parameter for the init() method and the "Plugged" methods is the plugged-in class, not the plugin class. %prep %setup -q -n Class-DBI-Plugin-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} -c %{buildroot} %check make test %files %doc Changes README %{perl_vendorlib}/Class/ %{_mandir}/man3/Class::DBI::Plugin.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.03-48 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.03-47 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.03-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.03-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.03-44 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.03-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Paul Howarth - 0.03-42 - Spec clean-up - Use author-independent source URL - Use %%{make_build} and %%{make_install} - Fix permissions verbosely * Tue Jul 28 2020 Fedora Release Engineering - 0.03-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.03-40 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.03-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.03-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.03-37 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.03-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.03-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.03-34 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.03-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.03-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.03-31 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.03-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.03-29 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.03-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.03-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.03-26 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 0.03-25 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.03-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.03-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 30 2013 Petr Pisar - 0.03-22 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.03-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.03-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 17 2012 Petr Pisar - 0.03-19 - Perl 5.16 rebuild * Tue Apr 10 2012 Paul Howarth - 0.03-18 - Don't generate license files; that's upstream's job - Drop perl(Pod::Perldoc) buildreq, no longer needed - One buildreq per line for readability - BR: perl(base), perl(DBI) and perl(ExtUtils::MakeMaker) - Don't need to remove empty directories from buildroot - Don't use macros for commands - Improve %%description - Use %%{_fixperms} macro rather than our own chmod incantation - Use DESTDIR rather than PERL_INSTALL_ROOT - Own directory %%{perl_vendorlib}/Class/ - Make %%files list more explicit - Package the README file * Mon Jan 23 2012 Tom Callaway - 0.03-17 - Fix build * Fri Jan 13 2012 Fedora Release Engineering - 0.03-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jul 21 2011 Petr Sabata - 0.03-15 - Perl mass rebuild * Tue Jul 19 2011 Petr Sabata - 0.03-14 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.03-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Marcela Maslanova - 0.03-12 - Rebuild to fix problems with vendorarch/lib (#661697) * Fri Apr 30 2010 Marcela Maslanova - 0.03-11 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.03-10 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.03-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.03-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 0.03-7 - Rebuild for perl 5.10 (again) * Thu Jan 24 2008 Tom "spot" Callaway 0.03-6 - rebuild for new perl * Fri Aug 24 2007 Tom "spot" Callaway 0.03-5 - license fix * Fri Sep 15 2006 Tom "spot" Callaway 0.03-4 - bump for fc6 * Fri Aug 26 2005 Paul Howarth 0.03-3 - remove redundant BR: perl - honor %%{?_smp_mflags} - add BR: perl(DBD::SQLite) perl(SQL::Abstract) for extra test cover - include license text * Fri Jul 8 2005 Tom "spot" Callaway 0.03-2 - cleanups * Wed Jul 6 2005 Tom "spot" Callaway 0.03-1 - Initial package for Fedora Extras