4 Summary: Disk based hash library
10 Source0: http://belnet.dl.sourceforge.net/sourceforge/dbh/%{name}_%{ver}-%{rel}.tgz
11 # Source0-md5: 11352e539a3e40f23d539a52f2153b95
12 URL: http://dbh.sourceforge.net
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Disk based hashes is a method to create multidimensional binary trees on disk.
17 This library permits the extension of database concept to a plethora of
18 electronic data, such as graphic information. With the multidimensional binary
19 tree it is possible to mathematically prove that access time to any
20 particular record is minimized (using the concept of critical points from
21 calculus), which provides the means to construct optimized databases for
22 particular applications.
25 Summary: Disk based hash library development files
27 Requires: %{name} = %{version}
30 Disk based hash library development files
33 Summary: Disk based hash static libraries
35 Requires: %{name}-devel = %{version}
38 Disk based hash static libraries
41 Summary: Disk based hash library examples
45 Disk based hash library examples
48 %setup -q -n %{name}_%{ver}-%{rel}
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
61 make install DESTDIR=$RPM_BUILD_ROOT
64 install -m 644 simple_hash.c $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
65 install -m 644 trafico.c $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
66 install -m 644 Makefile $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
76 %doc AUTHORS COPYING ChangeLog NEWS README TODO doc/*.html
77 %attr(755,root,root) %{_libdir}/*.so.*
80 %defattr(644,root,root,755)
84 %{_libdir}/pkgconfig/*.pc
87 %defattr(644,root,root,755)
91 %defattr(644,root,root,755)
92 %dir /usr/src/examples/%{name}-%{version}
93 /usr/src/examples/%{name}-%{version}/*