Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix
nmdb-bindings
nmdb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nmdb.spec of Package nmdb-bindings
# norootforbuild Name: nmdb Version: 0.21 Release: 0 # License: Open Software License 3.0, BOLA (Public Domain) Group: Productivity/Networking/Other # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: db-devel libevent #qdbm-devel # we have no distro which supports sctp so far %define nmdb_use_sctp 0 %define nmdb_use_tipc 1 %if 0%{?suse_version} <= 1000 # doesnt work on 10.0 %define nmdb_use_tipc 0 %endif # Url: http://auriga.wearlab.de/~alb/nmdb/ Source: http://auriga.wearlab.de/~alb/nmdb/files/%{version}/nmdb-%{version}.tar.bz2 Patch: nmdb-0.21_manpath+optflags.patch # Summary: A multiprotocol network database manager %description nmdb is a network database (dbm-style) for controlled networks that can use different protocols to to communicate with its clients. It supports TIPC, TCP, UDP and SCTP. It consists of an in-memory cache that saves (key, value) pairs, and a persistent backend that stores the pairs on disk. Both work combined, but the use of the backend is optional, so you can use the server only for cache queries, pretty much like memcached. A library is provided to interact with the database and the cache in a very simple way. Python, D, NewLISP, Ruby, Bigloo Scheme, and Haskell bindings are also available and come with the distribution (although except for the Python bindings, the rest are not widely tested). Authors: -------- Alberto Bertogli <albertito@gmail.com> %package devel Group: Development/Libraries/C and C++ Requires: %{name} = %{version} # Summary: A multiprotocol network database manager %description devel nmdb is a network database (dbm-style) for controlled networks that can use different protocols to to communicate with its clients. It supports TIPC, TCP, UDP and SCTP. It consists of an in-memory cache that saves (key, value) pairs, and a persistent backend that stores the pairs on disk. Both work combined, but the use of the backend is optional, so you can use the server only for cache queries, pretty much like memcached. A library is provided to interact with the database and the cache in a very simple way. Python, D, NewLISP, Ruby, Bigloo Scheme, and Haskell bindings are also available and come with the distribution (although except for the Python bindings, the rest are not widely tested). This package holds the development files. Authors: -------- Alberto Bertogli <albertito@gmail.com> %debug_package %prep %setup %patch %{__cp} libnmdb/LICENSE LICENSE.libnmdb %{__cp} nmdb/LICENSE LICENSE.nmdb %suse_update_libdir */Makefile %build %define nmdb_opts ENABLE_TCP=1 ENABLE_UDP=1 ENABLE_TIPC=%{nmdb_use_tipc} ENABLE_SCTP=%{nmdb_use_sctp} OPTFLAGS="%{optflags}" make BACKEND=bdb %{nmdb_opts} PREFIX=%{_prefix} %install make BACKEND=bdb %{nmdb_opts} install PREFIX=%{buildroot}%{_prefix} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/nmdb %{_libdir}/libnmdb.so %{_mandir}/man1/nmdb.1* %doc doc/* LICENSE LICENSE.libnmdb LICENSE.nmdb README UPGRADING %files devel %defattr(-,root,root,-) %{_includedir}/nmdb.h %{_libdir}/libnmdb.a %{_mandir}/man3/libnmdb.3* %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