Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix
tinycdb
tinycdb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tinycdb.spec of Package tinycdb
# norootforbuild Name: tinycdb Version: 0.76 Release: 0 # Group: Development/Libraries/C and C++ License: Public Domain # BuildRoot: %{_tmppath}/%{name}-%{version}-build # URL: http://www.corpit.ru/mjt/tinycdb.html Source: http://www.corpit.ru/mjt/tinycdb/tinycdb_%{version}.tar.gz # Summary: TinyCDB - a Constant DataBase %description TinyCDB is a very fast and simple package for creating and reading constant data bases, a data structure introduced by Dan J. Bernstein in his cdb package. It may be used to speed up searches in a sequence of (key,value) pairs with very big number of records. Example usage is indexing a big list of users - where a search will require linear reading of a large /etc/passwd file, and for many other tasks. It's usage/API is similar to ones found in BerkeleyDB, gdbm and traditional *nix dbm/ndbm libraries, and is compatible in great extent to cdb-0.75 package by Dan Bernstein. CDB is a constant database, that is, it cannot be updated at a runtime, only rebuilt. Rebuilding is atomic operation and is very fast - much faster than of many other similar packages. Once created, CDB may be queried, and a query takes very little time to complete. %package devel Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Summary: Development files for TinyCDB %description devel Development files for TinyCDB %debug_package %prep %setup %build %{__make} CFLAGS="%{optflags}" \ clean all staticlib sharedlib cdb-shared nss %install %makeinstall \ prefix="%{_prefix}" mandir="%{_mandir}" \ libdir="%{_libdir}" syslibdir="/%{_lib}" \ Sysconfdir="%{_sysconfdir}" install-all \ install-nss install-piclib install-sharedlib %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc NEWS ChangeLog %{_bindir}/cdb %{_libdir}/libcdb.so.1 /%{_lib}/libnss_cdb.so.2 %{_mandir}/man1/cdb.1.gz %{_sysconfdir}/cdb-Makefile %files devel %defattr(-,root,root,-) %{_includedir}/cdb.h %{_libdir}/libcdb.a %{_libdir}/libcdb.so %{_libdir}/libcdb_pic.a %{_mandir}/man3/cdb.3.gz %{_mandir}/man5/cdb.5.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor