Compare commits

..

4 commits

Author SHA1 Message Date
Fedora Release Engineering
edc2cdfd48 dist-git conversion 2010-07-29 15:33:08 +00:00
Bill Nottingham
4c12a9e519 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:29:16 +00:00
547d5878d3 license fix 2007-08-27 18:57:15 +00:00
f9011e374b Initialize branch EL-5 for xbase 2007-07-02 15:42:27 +00:00
11 changed files with 86 additions and 316 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/xbase64-*.tar.gz
xbase-2.0.0.tar.gz

View file

@ -1,19 +0,0 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: xbase.spec
copy_upstream_release_description: false
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
allowed_committers: ['packit','all_admins']
dist_git_branches:
- fedora-rawhide

167
changelog
View file

@ -1,167 +0,0 @@
* Tue Jul 21 2026 Filipe Rosset <rosset.filipe@gmail.com> - 4.2.7-1
- update to 4.2.7
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Nov 6 2025 Tom Callaway <spot@fedoraproject.org> - 4.2.6-1
- so, funny story. turns out this thing is still being actively developed.
and... i just noticed. whoops. sorry.
- anyways, new achievement: Back From The Dead
- update to 4.2.6
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 3.1.2-32
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Feb 20 2017 Tom Callaway <spot@fedoraproject.org> - 3.1.2-15
- fix gcc7 ftbfs
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Feb 16 2016 Tom Callaway <spot@fedoraproject.org> - 3.1.2-13
- fix gcc6 ftbfs
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.1.2-10
- Rebuilt for GCC 5 C++11 ABI change
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-4
- Rebuilt for c++ ABI breakage
* Thu Jan 5 2012 Tom Callaway <spot@fedoraproject.org> - 3.1.2-3
- Fix gcc 4.7.0 compile
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 3.1.2-1
- update to 3.1.2
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Jun 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-13
- add ppc64 detection in configure (it's in the x86_64 patch)
* Thu Jun 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-12
- fix x86_64 detection in configure (FTBFS)
* Tue Mar 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 2.0.0-11
- Fix gcc4.3 patch to not polute global header namespace with
"using namespace std;"
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-10
- Autorebuild for GCC 4.3
* Fri Jan 25 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 2.0.0-9
- Fix building with gcc 4.3 (also fixes building of xbase using packages)
* Tue Oct 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-8
- fix multilib conflicts
* Fri Aug 17 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.0.0-7
- Update License tag for new Licensing Guidelines compliance
- Add patch by Bill Nottingham to fix building on ppc64 (bz 239131)
- Don't build and install a static version of the lib
- Put the utilities/tools in a -utils sub package (to make clear they are under
a different license)
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-6
- rebuild
* Sun Jun 4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-5
- fix header file
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-4
- bump for FC-5
* Sun Jul 10 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-3
- fix xbase-config --ld (bugzilla 162845)
* Fri Jul 1 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-2
- add BuildRequires: doxygen
- remove latex docs (html is fine)
* Thu Jun 16 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-1
- initial package for Fedora Extras

View file

@ -1 +1 @@
SHA512 (xbase64-4.3.0.tar.gz) = a65fb3bded0e4124fdc317d5b4c74233f352f33fcf54bfda0426141b068e9a9f456c720a581264e3bb0dde8897d972f7260557704a7d91bd6426a9be9154f2f8
9b29362031716a12491beb9f8cc882f2 xbase-2.0.0.tar.gz

View file

@ -0,0 +1,11 @@
--- xbase-2.0.0/xbase-config.in.BAD 2005-07-10 08:38:03.000000000 -0500
+++ xbase-2.0.0/xbase-config.in 2005-07-10 08:37:25.000000000 -0500
@@ -5,7 +5,7 @@
exec_prefix_set=no
CC="@CC@"
CXX="@CXX@"
-LD="@SHARED_LD@"
+LD="@LD@"
usage="\
Usage: xbase-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--cc] [--cxx] [--ld]"

View file

@ -0,0 +1,11 @@
--- xbase-2.0.0/xbase/ntx.h.BAD 2006-06-04 08:36:08.000000000 -0500
+++ xbase-2.0.0/xbase/ntx.h 2006-06-04 08:36:13.000000000 -0500
@@ -218,7 +218,7 @@
xbShort KeyExists( char * Key ) { return FindKey( Key, strlen( Key ), 0 ); }
xbShort KeyExists( xbDouble );
- xbShort xbNtx::AllocKeyBufs(void);
+ xbShort AllocKeyBufs(void);
virtual void GetExpression(char *buf, int len);
};

View file

@ -1,11 +0,0 @@
--- xbase64-4.2.7/build/linux64/CMakeLists.txt 2026-07-20 23:51:46.699282028 -0300
+++ xbase64-4.2.7/build/linux64/CMakeLists.txt 2026-07-20 23:51:46.702611613 -0300
@@ -954,7 +954,7 @@ install (FILES ${PROJECT_PARENT_DIR}/doc
${PROJECT_PARENT_DIR}/docs/man/xb_tblinfo.1.gz
${PROJECT_PARENT_DIR}/docs/man/xb_undelall.1.gz
- DESTINATION man/man1)
+ DESTINATION share/man/man1)
ENDIF( NOT WIN32 )

View file

@ -1,17 +0,0 @@
--- xbase64-4.2.7/build/linux64/CMakeLists.txt 2026-07-20 23:51:46.699282028 -0300
+++ xbase64-4.2.7/build/linux64/CMakeLists.txt 2026-07-20 23:51:46.701203821 -0300
@@ -964,9 +964,9 @@ SET_TARGET_PROPERTIES( ${XB_LIBNAME} PRO
IF( WIN32 )
install (TARGETS ${XB_LIBNAME} DESTINATION bin)
ELSE( WIN32 )
- IF( EXISTS /usr/local/lib64 )
- install (TARGETS ${XB_LIBNAME} DESTINATION lib64/${CMAKE_PROJECT_NAME})
- ELSE( EXISTS /usr/local/lib64 )
- install (TARGETS ${XB_LIBNAME} DESTINATION lib/${CMAKE_PROJECT_NAME})
- ENDIF( EXISTS /usr/local/lib64 )
+ IF( EXISTS /usr/lib64 )
+ install (TARGETS ${XB_LIBNAME} DESTINATION lib64)
+ ELSE( EXISTS /usr/lib64 )
+ install (TARGETS ${XB_LIBNAME} DESTINATION lib)
+ ENDIF( EXISTS /usr/lib64 )
ENDIF( WIN32 )

View file

@ -1,12 +0,0 @@
diff -up xbase64-4.3.0/build/linux64/CMakeLists.txt.fix-parent-dir xbase64-4.3.0/build/linux64/CMakeLists.txt
--- xbase64-4.3.0/build/linux64/CMakeLists.txt.fix-parent-dir 2026-08-27 11:18:54.599925948 -0400
+++ xbase64-4.3.0/build/linux64/CMakeLists.txt 2026-08-27 11:18:25.544357986 -0400
@@ -310,7 +310,7 @@ ENDIF( XB_NDX_SUPPORT OR XB_MDX_SUPPORT
# Set directories
# PROJECT_PARENT_DIR is two nodes higher
-get_filename_component( PROJECT_PARENT_DIR ${PROJECT_BINARY_DIR} DIRECTORY )
+get_filename_component( PROJECT_PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY )
get_filename_component( PROJECT_PARENT_DIR ${PROJECT_PARENT_DIR} DIRECTORY )
# MESSAGE( "PROJECT_PARENT_DIR = " ${PROJECT_PARENT_DIR} )

View file

@ -1,12 +0,0 @@
diff -up xbase64-4.3.0/build/linux64/CMakeLists.txt.sover xbase64-4.3.0/build/linux64/CMakeLists.txt
--- xbase64-4.3.0/build/linux64/CMakeLists.txt.sover 2026-08-27 11:15:44.246099986 -0400
+++ xbase64-4.3.0/build/linux64/CMakeLists.txt 2026-08-27 11:16:16.316351601 -0400
@@ -970,7 +970,7 @@ install (FILES ${PROJECT_PARENT_DIR}/doc
ENDIF( NOT WIN32 )
-SET_TARGET_PROPERTIES( ${XB_LIBNAME} PROPERTIES VERSION 4.3.0 SOVERSION 0 )
+SET_TARGET_PROPERTIES( ${XB_LIBNAME} PROPERTIES VERSION ${xbase_VERSION_MAJOR}.${xbase_VERSION_MINOR}.${xbase_VERSION_PATCH} SOVERSION ${xbase_VERSION_MAJOR} )
IF( WIN32 )
install (TARGETS ${XB_LIBNAME} DESTINATION bin)

View file

@ -1,21 +1,15 @@
Name: xbase
Summary: XBase compatible database library
Version: 4.3.0
Release: %autorelease
License: LGPL-3.0-or-later
Summary: XBase compatible database library and tools
Version: 2.0.0
Release: 6%{?dist}
License: LGPLv2+ and GPLv2+
Group: Development/Libraries
URL: http://linux.techass.com/projects/xdb/
Source0: http://downloads.sourceforge.net/xdb/%{name}64-%{version}.tar.gz
Patch0: xbase-4.3.0-fix-sover.patch
Patch1: xbase-4.3.0-fix-parent-dir.patch
Patch2: xbase-4.2.7-no-local-no-namespace.patch
Patch3: xbase-4.2.7-fix-mandir.patch
BuildRequires: cmake
Source0: http://dl.sourceforge.net/xdb/%{name}-%{version}.tar.gz
Patch0: xbase-2.0.0-fixconfig.patch
Patch1: xbase-2.0.0-fixheader.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: make
Provides: xbase64 = %{version}-%{release}
%description
XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library
@ -28,83 +22,75 @@ DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT
OS's.
%package devel
Summary: XBase development libraries and headers
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: xbase64-devel = %{version}-%{release}
Summary: XBase development libraries and headers
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Headers and libraries for compiling programs that use the XBase library.
%package utils
Summary: XBase utilities / tools
License: GPL-3.0-or-later
Provides: xbase64-utils = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
This package contains various utilities for working with X-Base files:
checkndx (check an NDX file), copydbf (copy a DBF file structure), deletall
(mark all records for deletion), dumphdr (print an X-Base file header),
dumprecs (dump records for an X-Base file), packdbf (pack a database file),
reindex (rebuild an index), undelall (undeletes all deleted records in a file),
zap (remove all records from a DBF file).
%prep
%autosetup -n %{name}64-%{version} -p1
chmod -x NEWS README docs/html/*
%setup -q
%patch0 -p1
%patch1 -p1
%build
%cmake -S build/linux64
%cmake_build
%configure --enable-static
make %{?_smp_mflags}
%install
%cmake_install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
# Fix files for multilib
touch -r COPYING docs/html/*.html
%clean
rm -rf $RPM_BUILD_ROOT
pushd $RPM_BUILD_ROOT%{_libdir}
ln -s libxbase64.so.%{version} libxbase.so.%{version}
ln -s libxbase64.so.4 libxbase.so.4
ln -s libxbase64.so libxbase.so
popd
%post -p /sbin/ldconfig
pushd $RPM_BUILD_ROOT%{_includedir}
ln -s Xbase64 xbase
popd
%check
export TZ=UTC
%ctest -j1
%postun -p /sbin/ldconfig
%files
%license COPYING
%doc NEWS README
%{_libdir}/libxbase*.so.*
%defattr(-, root, root, 0755)
%doc NEWS README TODO AUTHORS COPYING ChangeLog
%{_bindir}/checkndx
%{_bindir}/copydbf
%{_bindir}/dbfxtrct
%{_bindir}/deletall
%{_bindir}/dumphdr
%{_bindir}/dumprecs
%{_bindir}/packdbf
%{_bindir}/reindex
%{_bindir}/undelall
%{_bindir}/zap
%{_bindir}/dbfutil1
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root, 0755)
%doc docs/html
%{_includedir}/xbase*
%{_includedir}/Xbase64
%{_libdir}/libxbase*.so
%files utils
%{_bindir}/xb_cfg_check
%{_bindir}/xb_clearix
%{_bindir}/xb_copydbf
%{_bindir}/xb_dbfutil
%{_bindir}/xb_deletall
%{_bindir}/xb_dumpdbt
%{_bindir}/xb_dumprecs
%{_bindir}/xb_dumptag
%{_bindir}/xb_execsql
%{_bindir}/xb_import
%{_bindir}/xb_pack
%{_bindir}/xb_reindex
%{_bindir}/xb_tblinfo
%{_bindir}/xb_undelall
%{_mandir}/man1/xb_*.1*
%dir %{_includedir}/xbase
%{_includedir}/xbase/*
%{_bindir}/xbase-config
%{_libdir}/libxbase.a
%{_libdir}/libxbase.so
%changelog
%autochangelog
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-6
- rebuild
* Sun Jun 4 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-5
- fix header file
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-4
- bump for FC-5
* Sun Jul 10 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-3
- fix xbase-config --ld (bugzilla 162845)
* Fri Jul 1 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-2
- add BuildRequires: doxygen
- remove latex docs (html is fine)
* Thu Jun 16 2005 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.0-1
- initial package for Fedora Extras