From 5d1eef739533f8544fc02eb6deadd91ba73b2424 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jul 04 2005 14:54:32 +0000 Subject: auto-import xbase-2.0.0-2 on branch devel from xbase-2.0.0-2.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..0d7f4d6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xbase-2.0.0.tar.gz diff --git a/sources b/sources index e69de29..a24c5b7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9b29362031716a12491beb9f8cc882f2 xbase-2.0.0.tar.gz diff --git a/xbase.spec b/xbase.spec new file mode 100644 index 0000000..a0a1ec5 --- /dev/null +++ b/xbase.spec @@ -0,0 +1,80 @@ +Name: xbase +Summary: XBase compatible database library and tools +Version: 2.0.0 +Release: 2%{?dist} +License: LGPL (binaries GPL) +Group: Development/Libraries +URL: http://linux.techass.com/projects/xdb/ +Source0: http://dl.sourceforge.net/xdb/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: doxygen + +%description +XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class library +originally by Gary Kunkel and others (see the AUTHORS file). + +XBase is useful for accessing data in legacy dBase 3 and 4 database files as +well as a general light-weight database engine. It includes support for +DBF (dBase version 3 and 4) data files, NDX and NTX indexes, and DBT +(dBase version 3 and 4). It supports file and record locking under *nix +OS's. + +%package devel +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. + +%prep +%setup -q + +%build +%configure --enable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install +rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%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 +%dir %{_includedir}/xbase +%{_includedir}/xbase/* +%{_bindir}/xbase-config +%{_libdir}/libxbase.a +%{_libdir}/libxbase.so + +%changelog +* Fri Jul 1 2005 Tom "spot" Callaway 2.0.0-2 +- add BuildRequires: doxygen +- remove latex docs (html is fine) + +* Thu Jun 16 2005 Tom "spot" Callaway 2.0.0-1 +- initial package for Fedora Extras