From 37e9b341969f4f05fb4de28f4f64955382c7cd7b Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 10:04:26 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20perl-DB?= =?UTF-8?q?I-1.14-10.src.rpm=20Tue=20Feb=2027=202001=20Trond=20Eivind=20Gl?= =?UTF-8?q?omsr=F8d=20=20-=20Cleanups=20Thu=20Nov=2030=202?= =?UTF-8?q?000=20Trond=20Eivind=20Glomsr=F8d=20=20-=20buil?= =?UTF-8?q?d=20for=20main=20distribution=20-=20use=20%{=5Ftmppath}=20-=20c?= =?UTF-8?q?hange=20name=20of=20specfile=20-=20don't=20use=20a=20find=20scr?= =?UTF-8?q?ipt=20to=20generate=20file=20lists=20-=20general=20cleanup=20-?= =?UTF-8?q?=20add=20descriptive=20summary=20and=20description=20Mon=20Aug?= =?UTF-8?q?=2014=202000=20Tim=20Powers=20=20-=20Spec=20fi?= =?UTF-8?q?le=20was=20autogenerated.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + perl-DBI.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+) create mode 100644 perl-DBI.spec diff --git a/.cvsignore b/.cvsignore index e69de29..2c8c35f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +DBI-1.14.tar.gz diff --git a/perl-DBI.spec b/perl-DBI.spec new file mode 100644 index 0000000..8e8910c --- /dev/null +++ b/perl-DBI.spec @@ -0,0 +1,69 @@ +Summary: A database access API for perl +Name: perl-DBI +Version: 1.14 +Release: 10 +Copyright: distributable +Group: Applications/CPAN +Source: DBI-1.14.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) +/usr/lib/perl5/site_perl/5.6.0/*/*.pm +/usr/lib/perl5/site_perl/5.6.0/*/auto/DBI +/usr/lib/perl5/site_perl/5.6.0/*/DBD +/usr/lib/perl5/site_perl/5.6.0/*/DBI +/usr/lib/perl5/site_perl/5.6.0/*/Bundle/DBI.pm +/usr/lib/perl5/site_perl/5.6.0/*/Win32/* +/usr/bin/* +%{_mandir}/*/* + +%changelog +* Tue Feb 27 2001 Trond Eivind Glomsrød +- Cleanups + +* Thu Nov 30 2000 Trond Eivind Glomsrød +- 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 +- Spec file was autogenerated. diff --git a/sources b/sources index e69de29..430b4c4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a2d1dbf5cd083e08861bc596e3892bdb DBI-1.14.tar.gz