⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tdb.spec

📁 Linux下的一个关系数据库源代码
💻 SPEC
字号:
%define name	tdb%define version	1.0.5%define release	1%define serial  1Summary: a trivial database systemName:	 %{name}Version: %{version}Release: %{release}Serial:	 %{serial}Copyright: GPLGroup:	Development/LibrariesURL:	 http://sourceforge.net/projects/tdb/Source:	 http://prdownloads.sourceforge.net/tdb/%{name}-%{version}.tar.gzBuildroot: /var/tmp/%{name}-%{version}Packager: Jonathon D Nelson <jnelson@securepipe.com>%changelog* Mon Dec 10 2001 Ben Woodard <ben@zork.net>- Bumped up the version number- changed email addrs.* Thu May 23 2001 Jonathon D Nelson <jnelson@securepipe.com>- Created redhat packages.%descriptionThis is a simple database API. It was inspired by the realisation thatin Samba we have several ad-hoc bits of code that essentiallyimplement small databases for sharing structures between parts ofSamba. As I was about to add another I realised that a genericdatabase module was called for to replace all the ad-hoc bits.I based the interface on gdbm. I couldn't use gdbm as we need to beable to have multiple writers to the databases at one time.(I == tridge@samba.org)This is the primary library.%package develSummary: a trivial database system development filesGroup: Development/LibrariesRequires: tdb%description develThis is a simple database API. It was inspired by the realisation thatin Samba we have several ad-hoc bits of code that essentiallyimplement small databases for sharing structures between parts ofSamba. As I was about to add another I realised that a genericdatabase module was called for to replace all the ad-hoc bits.I based the interface on gdbm. I couldn't use gdbm as we need to beable to have multiple writers to the databases at one time.(I == tridge@samba.org)These are the development files.%prep%setup%buildCFLAGS="$RPM_OPT_FLAGS" \./configure --prefix=/usrmake%installif [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT/ ; fimake DESTDIR=$RPM_BUILD_ROOT install%post	-p /sbin/ldconfig%postun	-p /sbin/ldconfig%cleanif [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT/; fi%files %defattr(-,root,root)%doc AUTHORS COPYING INSTALL NEWS README TODO ChangeLog/usr/lib/*.so.*%files devel%defattr(-,root,root)/usr/include/*/usr/lib/*.a/usr/lib/*.la/usr/man/man3/*

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -