%define name dbh %define version 4.5.0 %define release 1 Summary: Disk based hash library Name: %{name} Version: %{version} Release: %{release} Copyright: LGPL Group: Database Source: dbh-%{version}.tar.gz Buildroot: /var/tmp/%{name}-root Requires: gcc Packager: Edscott Wilson Garcia %description Disk based hashes is a method to create multidimensional binary trees on disk. This library permits the extension of database concept to a plethora of electronic data, such as graphic information. With the multidimensional binary tree it is possible to mathematically prove that access time to any particular record is minimized (using the concept of critical points from calculus), which provides the means to construct optimized databases for particular applications. %prep %setup -q %build %configure make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO examples/*.c examples/Makefile* doc/*.html %{_includedir}/* %{_libdir}/* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig