|
|
ceddcc3 |
Name: perl-DBD-XBase
|
|
|
e57fc6e |
Version: 1.08
|
|
|
e57fc6e |
Release: 1%{?dist}
|
|
|
ceddcc3 |
Summary: Perl module for reading and writing the dbf files
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
Group: Development/Libraries
|
|
|
4a51d4d |
License: GPL+ or Artistic
|
|
|
023bcc6 |
URL: http://www.adelton.com/perl/DBD-XBase/
|
|
|
023bcc6 |
Source0: http://www.adelton.com/perl/DBD-XBase/DBD-XBase-%{version}.tar.gz
|
|
|
0fec116 |
Patch0: DBD-XBase-0.241-indexdump.PL.patch
|
|
|
ceddcc3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ceddcc3 |
|
|
|
ceddcc3 |
BuildArch: noarch
|
|
|
61e746c |
BuildRequires: perl-generators
|
|
|
ceddcc3 |
BuildRequires: perl(DBI)
|
|
|
4a51d4d |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
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
|
|
|
ceddcc3 |
chmod a-x eg/*table
|
|
|
ceddcc3 |
|
|
|
023bcc6 |
# We want to distribute dbfdump.pl, not dbfdump
|
|
|
023bcc6 |
find . -type f | xargs %{__perl} -i.theorig -pe 's/(?
|
|
|
023bcc6 |
find . -type f -name '*.theorig' | %{__perl} -pe 's/\.theorig$//' | while read i ; do touch -r $i.theorig $i ; done
|
|
|
023bcc6 |
find . -type f -name '*.theorig' -exec rm -f {} ';'
|
|
|
023bcc6 |
mv bin/dbfdump.PL bin/dbfdump.pl.PL
|
|
|
023bcc6 |
|
|
|
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
|
|
|
e57fc6e |
* Mon Jan 16 2017 Jan Pazdziora <jpazdziora@redhat.com> - 1.08-1
|
|
|
e57fc6e |
- 1413565 - Rebase to 1.08.
|
|
|
e57fc6e |
|
|
|
b2d9617 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-2
|
|
|
b2d9617 |
- Perl 5.24 rebuild
|
|
|
b2d9617 |
|
|
|
95de209 |
* Wed May 04 2016 Jan Pazdziora <jpazdziora@redhat.com> - 1.07-1
|
|
|
95de209 |
- 1332734 - Rebase to 1.07.
|
|
|
95de209 |
|
|
|
d0d4588 |
* Mon Mar 14 2016 Jan Pazdziora <jpazdziora@redhat.com> - 1.06-1
|
|
|
d0d4588 |
- 1317494 - Rebase to 1.06.
|
|
|
d0d4588 |
|
|
|
5d1faa2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.05-12
|
|
|
5d1faa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5d1faa2 |
|
|
|
3387429 |
* Thu Jun 25 2015 Jan Pazdziora <jpazdziora@redhat.com> - 1.05-1
|
|
|
3387429 |
- 1230561 - Rebase to 1.05.
|
|
|
3387429 |
|
|
|
3387429 |
- Rebase to 1.03.
|
|
|
98d8a66 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-11
|
|
|
98d8a66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
98d8a66 |
|
|
|
5a7755c |
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-10
|
|
|
5a7755c |
- Perl 5.22 rebuild
|
|
|
5a7755c |
|
|
|
8596e9c |
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-9
|
|
|
8596e9c |
- Perl 5.20 rebuild
|
|
|
8596e9c |
|
|
|
46d63d4 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-8
|
|
|
46d63d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
46d63d4 |
|
|
|
878ffa0 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-7
|
|
|
878ffa0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
878ffa0 |
|
|
|
28acfa7 |
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 1.03-6
|
|
|
28acfa7 |
- Perl 5.18 rebuild
|
|
|
28acfa7 |
|
|
|
fa09598 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-5
|
|
|
fa09598 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fa09598 |
|
|
|
4d920a7 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-4
|
|
|
4d920a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4d920a7 |
|
|
|
1319168 |
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 1.03-3
|
|
|
1319168 |
- Perl 5.16 rebuild
|
|
|
1319168 |
|
|
|
7a97aca |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-2
|
|
|
7a97aca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7a97aca |
|
|
|
023bcc6 |
* Tue Aug 2 2011 Jan Pazdziora <jpazdziora@redhat.com> - 1.03-1
|
|
|
023bcc6 |
- Rebase to 1.03.
|
|
|
023bcc6 |
|
|
|
f4a9021 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.241-14
|
|
|
f4a9021 |
- Perl mass rebuild
|
|
|
f4a9021 |
|
|
|
e055954 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.241-13
|
|
|
e055954 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e055954 |
|
|
|
a5ae0dc |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.241-12
|
|
|
a5ae0dc |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
a5ae0dc |
|
|
|
837eaab |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.241-11
|
|
|
837eaab |
- Mass rebuild with perl-5.12.0
|
|
|
837eaab |
|
|
|
6402286 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.241-10
|
|
|
6402286 |
- rebuild against perl 5.10.1
|
|
|
6402286 |
|
|
|
6e3e434 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.241-9
|
|
|
6e3e434 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6e3e434 |
|
|
|
a0fd5e6 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.241-8
|
|
|
a0fd5e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a0fd5e6 |
|
|
|
25c9658 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.241-7
|
|
|
25c9658 |
- Rebuild for perl 5.10 (again)
|
|
|
25c9658 |
|
|
|
831fb54 |
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.241-6
|
|
|
831fb54 |
- rebuild for new perl
|
|
|
831fb54 |
|
|
|
4a51d4d |
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.241-5.1
|
|
|
4a51d4d |
- correct license tag
|
|
|
4a51d4d |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
4a51d4d |
|
|
|
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.
|