%define name @PACKAGE_NAME@ %define version @PACKAGE_VERSION@ %define disturl http://qdbm.sourceforge.net/ %define homeurl http://qdbm.sourceforge.net/ %define _topdir @MYCWD@/rpm-tmp Summary: Quick Database Manager Name: %{name} Version: %{version} Release: 1 Source: %{disturl}%{name}-%{version}.tar.gz Copyright: LGPL Group: Development/Libraries Packager: Mikio Hirabayashi Distribution: Private Vendor: Private Url: %{homeurl} %description QDBM is an embeded database library compatible with GDBM and NDBM. It features hash database and B+ tree database and is developed referring to GDBM for the purpose of the following three points: higher processing speed, smaller size of a database file, and simpler API. This package includes APIs for C, C++, and Java. APIs for Perl and Ruby, and CGI scripts should be installed with a source package. %prep rm -rf $RPM_BUILD_ROOT %setup -q %build ( cd . ; ./configure ; make ) ( cd plus ; ./configure ; make ) ( cd java ; ./configure ; make ) %install rm -rf $RPM_BUILD_ROOT ( cd . ; make DESTDIR=$RPM_BUILD_ROOT install-strip ) ( cd plus ; make DESTDIR=$RPM_BUILD_ROOT install-strip ) ( cd java ; make DESTDIR=$RPM_BUILD_ROOT install ) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/local/include/depot.h /usr/local/include/curia.h /usr/local/include/relic.h /usr/local/include/hovel.h /usr/local/include/cabin.h /usr/local/include/villa.h /usr/local/include/vista.h /usr/local/include/odeum.h /usr/local/lib/libqdbm.a /usr/local/lib/libqdbm.so.1.0.0 /usr/local/lib/libqdbm.so.1 /usr/local/lib/libqdbm.so /usr/local/bin/dpmgr /usr/local/bin/dptest /usr/local/bin/dptsv /usr/local/bin/crmgr /usr/local/bin/crtest /usr/local/bin/crtsv /usr/local/bin/rlmgr /usr/local/bin/rltest /usr/local/bin/hvmgr /usr/local/bin/hvtest /usr/local/bin/cbtest /usr/local/bin/cbcodec /usr/local/bin/vlmgr /usr/local/bin/vltest /usr/local/bin/vltsv /usr/local/bin/odmgr /usr/local/bin/odtest /usr/local/bin/odidx /usr/local/man/man3/qdbm.3 /usr/local/man/man3/depot.3 /usr/local/man/man3/dpopen.3 /usr/local/man/man3/curia.3 /usr/local/man/man3/cropen.3 /usr/local/man/man3/relic.3 /usr/local/man/man3/hovel.3 /usr/local/man/man3/cabin.3 /usr/local/man/man3/villa.3 /usr/local/man/man3/vlopen.3 /usr/local/man/man3/vista.3 /usr/local/man/man3/odeum.3 /usr/local/man/man3/odopen.3 /usr/local/share/qdbm/spex.html /usr/local/share/qdbm/spex-ja.html /usr/local/share/qdbm/COPYING /usr/local/share/qdbm/ChangeLog /usr/local/share/qdbm/THANKS /usr/local/include/xqdbm.h /usr/local/include/xadbm.h /usr/local/include/xdepot.h /usr/local/include/xcuria.h /usr/local/include/xvilla.h /usr/local/lib/libxqdbm.a /usr/local/bin/xdptest /usr/local/bin/xcrtest /usr/local/bin/xvltest /usr/local/share/qdbm/plus/xspex.html /usr/local/share/qdbm/plus/xspex-ja.html /usr/local/share/qdbm/plus/xapidoc/ /usr/local/lib/qdbm.jar /usr/local/lib/libjqdbm.so.1.0.0 /usr/local/lib/libjqdbm.so.1 /usr/local/lib/libjqdbm.so /usr/local/share/qdbm/java/jspex.html /usr/local/share/qdbm/java/jspex-ja.html /usr/local/share/qdbm/java/japidoc/