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