|
|
ceddcc3 |
Name: perl-DBD-XBase
|
|
|
ceddcc3 |
Version: 0.241
|
|
|
cd80291 |
Release: 5%{?dist}
|
|
|
ceddcc3 |
Summary: Perl module for reading and writing the dbf files
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
Group: Development/Libraries
|
|
|
a8fd1d1 |
License: GPL+ or Artistic
|
|
|
ceddcc3 |
URL: http://search.cpan.org/dist/DBD-XBase/
|
|
|
ceddcc3 |
Source0: http://www.cpan.org/authors/id/J/JA/JANPAZ/DBD-XBase-%{version}.tar.gz
|
|
|
0fec116 |
Patch0: DBD-XBase-0.241-indexdump.PL.patch
|
|
|
75ce05f |
Patch1: DBD-XBase-0.241-dbfdump-rename.patch
|
|
|
ceddcc3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
BuildArch: noarch
|
|
|
ceddcc3 |
BuildRequires: perl(DBI)
|
|
|
ceddcc3 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%description
|
|
|
ceddcc3 |
This module can read and write XBase database files, known as dbf in
|
|
|
ceddcc3 |
dBase and FoxPro world. It also transparently reads memo fields from
|
|
|
ceddcc3 |
the dbt, fpt and smt files and works with index files (ndx, ntx, mdx, idx,
|
|
|
ceddcc3 |
cdx and SDBM). This module XBase.pm provides simple native interface
|
|
|
ceddcc3 |
to XBase files. For DBI compliant database access, see DBD::XBase and
|
|
|
ceddcc3 |
DBI modules and their man pages.
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%prep
|
|
|
ceddcc3 |
%setup -q -n DBD-XBase-%{version}
|
|
|
0fec116 |
%patch0 -p1
|
|
|
75ce05f |
%patch1 -p1
|
|
|
ceddcc3 |
chmod a-x eg/*table
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%build
|
|
|
ceddcc3 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
ceddcc3 |
make %{?_smp_mflags}
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%install
|
|
|
ceddcc3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ceddcc3 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
ceddcc3 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
ceddcc3 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
ceddcc3 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%check
|
|
|
ceddcc3 |
make test
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%clean
|
|
|
ceddcc3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%files
|
|
|
ceddcc3 |
%defattr(-,root,root,-)
|
|
|
ceddcc3 |
%doc Changes README ToDo driver_characteristics new-XBase
|
|
|
ceddcc3 |
%doc eg/
|
|
|
ceddcc3 |
%{_bindir}/*
|
|
|
ceddcc3 |
%{perl_vendorlib}/DBD/
|
|
|
ceddcc3 |
%{perl_vendorlib}/XBase*
|
|
|
ceddcc3 |
%{_mandir}/man1/*.1*
|
|
|
ceddcc3 |
%{_mandir}/man3/*.3*
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
%changelog
|
|
|
cd80291 |
* Fri Jun 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.241-5
|
|
|
cd80291 |
- Rebuild due to repodata corruption (#195611).
|
|
|
cd80291 |
|
|
|
75ce05f |
* Thu Mar 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.241-4
|
|
|
68dbf25 |
- dbfdump renamed to dbfdump.pl to avoid file conflict with shapelib (#181999).
|
|
|
75ce05f |
|
|
|
2e02d49 |
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.241-3
|
|
|
2e02d49 |
- Rebuild for FC5 (perl 5.8.8).
|
|
|
2e02d49 |
|
|
|
0fec116 |
* Fri Dec 16 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.241-2
|
|
|
0fec116 |
- Patch to remove the duplicate shebang line in bin/indexdump (#175895).
|
|
|
0fec116 |
|
|
|
ceddcc3 |
* Sat Nov 05 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.241-1
|
|
|
ceddcc3 |
- First build.
|