|
|
80afe38 |
Name: perl-Class-DBI-mysql
|
|
|
f86943c |
Version: 1.00
|
|
|
f70259d |
Release: 3%{?dist}
|
|
|
80afe38 |
Summary: Extensions to Class::DBI for MySQL
|
|
|
80afe38 |
Group: Development/Libraries
|
|
|
f70259d |
License: GPL+ or Artistic
|
|
|
80afe38 |
URL: http://search.cpan.org/dist/Class-DBI-mysql/
|
|
|
80afe38 |
Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-DBI-mysql-%{version}.tar.gz
|
|
|
80afe38 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
80afe38 |
|
|
|
80afe38 |
BuildArch: noarch
|
|
|
f70259d |
BuildRequires: perl(Class::DBI), perl(DBD::mysql), perl(Test::More)
|
|
|
80afe38 |
Requires: perl(Class::DBI), perl(DBD::mysql), perl(Time::Piece::MySQL)
|
|
|
80afe38 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
80afe38 |
|
|
|
80afe38 |
%description
|
|
|
80afe38 |
%{summary}.
|
|
|
80afe38 |
|
|
|
80afe38 |
%prep
|
|
|
80afe38 |
%setup -q -n Class-DBI-mysql-%{version}
|
|
|
80afe38 |
perldoc -t perlartistic > Artistic
|
|
|
80afe38 |
perldoc -t perlgpl > COPYING
|
|
|
80afe38 |
|
|
|
80afe38 |
%build
|
|
|
80afe38 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
80afe38 |
make %{?_smp_mflags}
|
|
|
80afe38 |
|
|
|
80afe38 |
%install
|
|
|
80afe38 |
rm -rf $RPM_BUILD_ROOT
|
|
|
80afe38 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
80afe38 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
80afe38 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
80afe38 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
80afe38 |
|
|
|
80afe38 |
%check
|
|
|
80afe38 |
# Needs a running mysql server.
|
|
|
80afe38 |
#make test
|
|
|
80afe38 |
|
|
|
80afe38 |
%clean
|
|
|
80afe38 |
rm -rf $RPM_BUILD_ROOT
|
|
|
80afe38 |
|
|
|
80afe38 |
%files
|
|
|
80afe38 |
%defattr(-,root,root,-)
|
|
|
80afe38 |
%doc Artistic COPYING Changes
|
|
|
80afe38 |
%{perl_vendorlib}/Class/DBI
|
|
|
80afe38 |
%{_mandir}/man3/*.3*
|
|
|
80afe38 |
|
|
|
80afe38 |
|
|
|
80afe38 |
%changelog
|
|
|
f70259d |
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.00-3
|
|
|
f70259d |
- license fix
|
|
|
f70259d |
|
|
|
d906328 |
* Thu Sep 14 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.00-2
|
|
|
d906328 |
- bump for fc-6
|
|
|
d906328 |
|
|
|
f86943c |
* Mon Jan 9 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.00-1
|
|
|
f86943c |
- bump to 1.00
|
|
|
f86943c |
|
|
|
80afe38 |
* Fri Sep 2 2005 Paul Howarth <paul@city-fan.org> 0.23-3
|
|
|
80afe38 |
- remove redundant BR: perl
|
|
|
80afe38 |
- honor %%{_smp_mflags}
|
|
|
80afe38 |
- include license text
|
|
|
80afe38 |
- add perl(DBD::mysql) and perl(Time::Piece::MySQL) deps
|
|
|
80afe38 |
|
|
|
80afe38 |
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.23-2
|
|
|
80afe38 |
- cleanups
|
|
|
80afe38 |
|
|
|
80afe38 |
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.23-1
|
|
|
80afe38 |
- Initial package for Fedora Extras
|