Sun Jul 01 2001 Trond Eivind Glomsrød <teg@redhat.com> - Add perl and perl-DBI to BuildRequires Wed May 30 2001 Trond Eivind Glomsrød <teg@redhat.com> - Change Group to Applications/Databases Tue May 01 2001 Trond Eivind Glomsrød <teg@redhat.com> - 1.2216 - Add doc files - Minor cleanups
61 lines
1.6 KiB
RPMSpec
61 lines
1.6 KiB
RPMSpec
Summary: A MySQL interface for perl
|
|
Name: perl-DBD-MySQL
|
|
Version: 1.2216
|
|
Release: 3
|
|
License: distributable
|
|
Group: Applications/Databases
|
|
Source: Msql-Mysql-modules-%{version}.tar.gz
|
|
Url: http://www.cpan.org
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Requires: perl >= 5.6.0-3, perl-DBI >= 1.15
|
|
BuildRequires: mysql-devel >= 3.23.37,perl >= 5.6.0-3, perl-DBI >= 1.15
|
|
|
|
%description
|
|
An implementation of DBI for MySQL for Perl.
|
|
|
|
# Provide perl-specific find-{provides,requires}.
|
|
%define __find_provides /usr/lib/rpm/find-provides.perl
|
|
%define __find_requires /usr/lib/rpm/find-requires.perl
|
|
|
|
%prep
|
|
%setup -q -n Msql-Mysql-modules-%{version}
|
|
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL --mysql-install --nomsql-install --nomsql1-install --noprompt
|
|
make
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
eval `perl '-V:installarchlib'`
|
|
eval `perl '-V:installsitearch'`
|
|
mkdir -p $RPM_BUILD_ROOT/$installarchlib
|
|
make PREFIX=$RPM_BUILD_ROOT/usr install
|
|
rm -f $RPM_BUILD_ROOT/$installarchlib/perllocal.pod
|
|
rm -f $RPM_BUILD_ROOT/$installsitearch/auto/DBD/mysql/mysql.bs
|
|
rm -f $RPM_BUILD_ROOT/$installsitearch/auto/Msql-Mysql-modules/.packlist
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README ChangeLog
|
|
/usr/bin/*
|
|
/usr/lib/*
|
|
%{_mandir}/*/*
|
|
|
|
%changelog
|
|
* Sun Jul 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
- Add perl and perl-DBI to BuildRequires
|
|
|
|
* Wed May 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
- Change Group to Applications/Databases
|
|
|
|
* Tue May 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
- 1.2216
|
|
- Add doc files
|
|
- Minor cleanups
|
|
|
|
* Thu Nov 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
- First cut
|