perl-DBI/perl-DBI.spec
cvsdist 9f34f3401b auto-import changelog data from perl-DBI-1.18-1.src.rpm
Sat Jun 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
- 1.18
2004-09-09 10:05:23 +00:00

76 lines
1.9 KiB
RPMSpec

Summary: A database access API for perl
Name: perl-DBI
Version: 1.18
Release: 1
Copyright: distributable
Group: Applications/Databases
Source: DBI-%{version}.tar.gz
Url: http://www.cpan.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: perl >= 5.6.0-3
%description
DBI is a database access Application Programming Interface (API) for
the Perl Language. The DBI API Specification defines a set of
functions, variables and conventions that provide a consistent
database interface independent of the actual database being used.
# 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 DBI-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
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/DBI/.packlist
rm -f $RPM_BUILD_ROOT/$installsitearch/auto/DBI/DBI.bs
%files
%defattr(-,root,root)
%doc Changes README ToDo
/usr/bin/*
/usr/lib/perl5/*
%{_mandir}/*/*
%changelog
* Sat Jun 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
- 1.18
* Wed May 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
- 1.16
- change group to Applications/Databases from Applications/CPAN
* Tue May 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
- 1.15
* Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
- Cleanups
* Thu Nov 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
- build for main distribution
- use %%{_tmppath}
- change name of specfile
- don't use a find script to generate file lists
- general cleanup
- add descriptive summary and description
* Mon Aug 14 2000 Tim Powers <timp@redhat.com>
- Spec file was autogenerated.