Summary: Czech laguage tools Name: perl-DBD-Xbase Version: 0.231 Release: 1 Group: Applications/Databases Packager: Milan Kerslager Source: DBD-XBase-%{version}.tar.gz URL: http://search.cpan.org/search?mode=module&query=xbase License: distributable Buildroot: /tmp/%{name}-root Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)" }') Requires: %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }') Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }') %description This module can read and write XBase database files, known as dbf in dBase and FoxPro world. It also reads memo fields from the dbt and fpt files, if needed. An alpha code of reading index support for ndx, ntx, mdx, idx and cdx is available for testing -- see the DBD::Index(3) man page. Module XBase provides simple native interface to XBase files. For DBI compliant database access, see the DBD::XBase and DBI modules and their man pages. %prep %setup -q -n DBD-XBase-%{version} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr make make test %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr eval `perl '-V:installarchlib'` mkdir -p $RPM_BUILD_ROOT/$installarchlib # make install wants to append to perllocal.pod which is politically # incorrect behaviour; let's disable it: it's RPM that is supposed to # keep track of installed software make install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT/usr -type f -print | \ sed "s@^$RPM_BUILD_ROOT@@g" | \ grep -v perllocal.pod | \ grep -v "\.packlist" > Xbase-%{version}-filelist if [ "$(cat Xbase-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit 1 fi %clean rm -rf $RPM_BUILD_ROOT %files -f Xbase-%{version}-filelist %defattr(-,root,root,-) %doc Changes README %changelog * Tue Nov 26 2002 Milan Kerslager - initial release for RH 8.0