Name: perl-Class-DBI-AsForm
Version: 2.42
Release: 12%{?dist}
Summary: Produce HTML form elements for database columns
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Class-DBI-AsForm
Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-DBI-AsForm-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Class::DBI), perl(HTML::Element), perl(Class::DBI::Plugin::Type)
BuildRequires: perl(DBD::SQLite), perl(Test::Pod), perl(Test::Pod::Coverage), perl(Test::More)
Requires: perl(Class::DBI)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Patch0: perl-Class-DBI-AsForm-fix01test.patch
%description
%{summary}.
%prep
%setup -q -n Class-DBI-AsForm-%{version}
%patch0 -p1
perldoc -t perlartistic > Artistic
perldoc -t perlgpl > COPYING
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Artistic COPYING Changes
%{perl_vendorlib}/Class/DBI
%{_mandir}/man3/*.3*
%changelog
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.42-12
- 661697 rebuild for fixing problems with vendorach/lib
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.42-11
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.42-10
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.42-7
- Rebuild for perl 5.10 (again)
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.42-6
- rebuild for new perl
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.42-5
- license fix
* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.42-4
- fix broken test
* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.42-3
- fix missing BR
* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.42-2
- bump for fc-6
* Thu Jan 5 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.42-1
- bump to 2.42
* Wed Sep 7 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.41-3
- remove redundant BR: perl
- honor %%{_smp_mflags}
- include license text
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.41-2
- cleanups
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.41-1
- Initial package for Fedora Extras