# $Revision: 1.65 $, $Date: 2004/01/23 12:15:18 $ Summary: GNU database library for C Summary(de): GNU-Datenbank-Library für C Summary(fr): La librairie GNU de bases de données pout le langage C Summary(pl): Biblioteka GNU bazy danych dla jêzyka C Summary(ru): âÉÂÌÉÏÔÅËÁ ÂÁÚÙ ÄÁÎÎÙÈ GNU ÄÌÑ C Summary(uk): â¦Â̦ÏÔÅËÁ ÂÁÚÉ ÄÁÎÉÈ GNU ÄÌÑ C Name: gdbm Version: 1.8.3 Release: 3 License: GPL Group: Libraries Source0: ftp://ftp.gnu.org/pub/gnu/gdbm/%{name}-%{version}.tar.gz # Source0-md5: 1d1b1d5c0245b1c00aff92da751e9aa1 Patch0: %{name}-info.patch Patch1: %{name}-jbj.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: texinfo BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: libgdbm2 %description gdbm is a GNU database indexing library, including routines which use extensible hashing. gdbm works in a similar way to standard UNIX dbm routines. gdbm is useful for developers who write C applications and need access to a simple and efficient database or who are building C applications which will use such a database. %description -l de Dies ist eine Datenbank-Index-Library für Programmierer, die C-Anwendungen schreiben und eine einfache und leistungsfähige Datenbank benötigen oder diese in C-Anwendungen einsetzen möchten. %description -l fr Une librairie d'indexation de bases de données. Elle est utile pour ceux qui désirent écrivent des applications en C et ont besion d'accéder à une base de données simple et efficace ou de construire une application en C qui l'utilise. %description -l pl W pakiecie znajduje siê biblioteka indeksowania bazy danych. Biblioteka ta jest szczególnie u¿yteczna dla ludzi, którzy pisz± oprogramowanie w C i potrzebuj± prostej i szybkiej bazy danych, lub dla tych którzy pisz± programy w C z wykorzystaniem tej biblioteki. %description -l tr gdbm bir veri tabaný dizinleme kitaplýðýdýr. C uygulamalarý yazýp basit ve etkin bir þekilde veri tabanýna ulaþmak isteyenler için yararlý olacaktýr. %description -l ru üÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó ÉÎÄÅËÓÉÒÏ×ÁÎÎÏÊ ÂÁÚÏÊ ÄÁÎÎÙÈ. ðÏÌÅÚÎÁ ÄÌÑ ÔÅÈ, ËÔÏ ÒÁÚÒÁÂÁÔÙ×ÁÅÔ ÐÒÏÇÒÁÍÍÙ ÎÁ C É ËÏÍÕ ÎÕÖÅÎ ÄÏÓÔÕÐ Ë ÐÒÏÓÔÏÊ É ÜÆÆÅËÔÉ×ÎÏÊ ÂÁÚÅ ÄÁÎÎÙÈ ÌÉÂÏ ÔÒÅÂÕÅÔÓÑ ÎÁÐÉÓÁÔØ ÐÒÏÇÒÁÍÍÕ, ËÏÔÏÒÁÑ ÅÅ ÉÓÐÏÌØÚÕÅÔ. %description -l uk ㊦Â̦ÏÔÅËÁ ÄÌÑ ÒÏÂÏÔÉ Ú ¦ÎÄÅËÓÏ×ÁÎÏÀ ÂÁÚÏÀ ÄÁÎÉÈ. ëÏÒÉÓÎÁ ÄÌÑ ÔÉÈ, ÈÔÏ ÒÏÚÒÏÂÌѤ ÐÒÏÇÒÁÍÉ ÎÁ C ¦ ËÏÍÕ ÐÏÔÒ¦ÂÅÎ ÄÏÓÔÕÐ ÄÏ ÐÒÏÓÔϧ ÔÁ ÅÆÅËÔÉ×Îϧ ÂÁÚÉ ÄÁÎÉÈ ÁÂÏ ÐÏÔÒ¦ÂÎÏ ÎÁÐÉÓÁÔÉ ÐÒÏÇÒÁÍÕ, ÝÏ §§ ×ÉËÏÒÉÓÔÏ×Õ¤. %package devel Summary: development libraries and header files for gdbm Summary(de): Entwicklungs-Libraries und Header-Dateien für gdbm Summary(fr): Bibliothèques de développement et en-têtes pour gdbm Summary(pl): Biblioteki i pliki nag³ówkowe dla gdbm Summary(tr): gdbm için baþlýk dosyalarý ve geliþtirme kitaplýklarý Summary(ru): âÉÂÌÉÏÔÅËÁ É ÈÅÄÅÒÙ gdbm ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ× Summary(uk): â¦Â̦ÏÔÅËÁ ÔÁ ÈÅÄÅÒÉ gdbm ÄÌÑ ÐÒÏÇÒÁͦÓÔ¦× Group: Development/Libraries Requires: %{name} = %{version} Obsoletes: libgdbm2-devel %description devel These are the development libraries and header files for gdbm, the GNU database system. These are required if you plan to do development using the gdbm database. %description devel -l de Dies sind die Entwicklungs-Libraries und Header-Dateien für gdbm, das GNU-Datenbanksystem. Sie sind darauf angewiesen, wenn Sie vorhaben, die gdbm-Datenbank für Entwicklungsarbeiten zu benutzen. %description devel -l fr Ce sont les librairies de développement et les fichiers d'en-tête pour gdbm, le système de base de données GNU. Ceci est nécessaire si vous désirez développer en utilisant la base de données gdbm. %description devel -l pl W pakiecie tym znajduj± siê pliki nag³ówkowe i biblioteki dla systemu bazy danych GNU. %description devel -l tr GNU veri tabaný sistemi gdbm ile program geliþtirmek için gereken baþlýk dosyalarý ve kitaplýklar. %description devel -l ru üÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ× É ÈÅÄÅÒÙ gdbm, ÂÁÚÙ ÄÁÎÎÙÈ GNU. ïÎÉ ÎÕÖÎÙ, ÅÓÌÉ ×Ù ÓÏÂÉÒÁÅÔÅÓØ ÒÁÚÒÁÂÁÔÙ×ÁÔØ ÐÒÏÇÒÁÍÍÙ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ gdbm. %description devel -l uk ㊦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁͦÓÔ¦× ÔÁ ÈÅÄÅÒÉ gdbm, ÂÁÚÉ ÄÁÎÉÈ GNU. ÷ÏÎÉ ÐÏÔÒ¦ÂΦ, ÑËÝÏ ×É ÚÂÉÒÁ¤ÔÅÓØ ÒÏÚÒÏÂÌÑÔÉ ÐÒÏÇÒÁÍÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ gdbm. %package static Summary: Static gdbm library Summary(pl): Biblioteki statyczne gdbm Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ gdbm Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ gdbm Group: Development/Libraries Requires: %{name}-devel = %{version} %description static Static gdbm library. %description static -l pl Biblioteka statyczna gdbm. %description static -l ru üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ gdbm, ÂÁÚÙ ÄÁÎÎÙÈ GNU. %description static -l uk ãÅ ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ gdbm, ÂÁÚÉ ÄÁÎÉÈ GNU. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install install-compat \ INSTALL_ROOT=$RPM_BUILD_ROOT \ BINOWN=`id -u` BINGRP=`id -g` %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun devel [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %files %defattr(644,root,root,755) %doc ChangeLog NEWS README %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_mandir}/man3/* %{_includedir}/* %{_infodir}/gdbm* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld-linux.org> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log: gdbm.spec,v $ Revision 1.65 2004/01/23 12:15:18 jajcus - Release: 3 (to rebuild on AMD64 and _tag_) Revision 1.64 2003/08/28 08:20:31 ankry - cosmetics Revision 1.63 2003/08/23 23:41:39 mmazur - rel 2 for ac Revision 1.62 2003/05/25 11:00:51 malekith - massive attack, adding Source-md5 Revision 1.61 2003/05/25 05:47:44 misi3k - massive attack s/pld.org.pl/pld-linux.org/ Revision 1.60 2002/12/24 17:12:31 qboosh - updated to 1.8.3 (warning: SONAME has changed) - removed obsolete DESTDIR patch and hacks - added some docs Revision 1.59 2002/12/24 00:26:01 qboosh - updated Source0 URL Revision 1.58 2002/11/25 14:13:03 ankry - massive attack: no need for 755 for *.la Revision 1.57 2002/10/09 13:14:23 kloczek - use more macros, some cosmetics, added missing "rm -f missing" and use new %doc Revision 1.56 2002/06/23 20:32:24 kloczek - perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/" Revision 1.55 2002/05/21 23:13:07 kloczek perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \ s/^automake -a -c -f/\%\{__automake\}/; \ s/^autoconf/\%\{__autoconf\}/" Revision 1.54 2002/05/19 18:58:52 kloczek - release 16, - merge tramnslations from KSI, - change Obsoletes s/libgdbm1/libgdbm2/. Revision 1.53 2002/04/25 20:34:20 mmazur - fixed broken *.la file; rel 15; STBR Revision 1.52 2002/04/25 16:21:30 arturs fixed a small typo Revision 1.51 2002/03/18 23:39:04 marcus - added Obsoletes libgdbm1 for upgrading from mdk - rel.14. Revision 1.50 2002/02/23 02:06:17 kloczek - adapterized. Revision 1.49 2002/02/22 23:28:56 kloczek - removed all Group fields translations (our rpm now can handle translating Group field using gettext). Revision 1.48 2002/01/18 02:13:01 kloczek perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/" Revision 1.47 2001/10/30 00:59:49 kloczek - release 12. Revision 1.46 2001/09/26 10:33:46 qboosh - adapterized, typos, BuildRequires: automake Revision 1.45 2001/07/26 05:42:07 saq - reverting last change: removing new macros from %p{re,ost}{,un} Revision 1.43 2001/07/09 10:39:06 kloczek - release 11: rebuild in new ac 2.50 anviroment. Revision 1.42 2001/06/23 07:37:10 kloczek - release 10: added texinfo to BuildRequires. Revision 1.41 2001/04/30 16:05:18 kloczek - added using %%{rpmcflags} macro. Revision 1.40 2001/01/25 20:03:23 misiek Massive attack. We use -O0 instead -O flags while debug enabled. Revision 1.39 2000/12/23 00:48:44 michuz - changed %%{!?debug:...}%%{?debug...} to %%{?debug:...}%%{!?debug...} (now it's more C like) Revision 1.38 2000/11/13 09:36:39 wrobell - added compatybility headers Revision 1.37 2000/10/25 06:02:38 kloczek - release 6: use nae rpm automation. Revision 1.36 2000/07/11 08:12:20 kloczek - release 5. Revision 1.35 2000/06/09 07:22:50 kloczek - added using %%{__make} macro. Revision 1.34 2000/05/24 16:50:45 zagrodzki - changed [ -x ... ] && to [ ! -x ... ] || Revision 1.33 2000/05/18 21:48:36 kloczek - spec adapterized. Revision 1.32 2000/05/09 01:09:59 kloczek - bump to release 4 (to allow upgrade from RH 6.2), - spec adapterized. Revision 1.31 2000/05/01 20:11:40 zagrodzki - removed Prereq: /usr/sbin/fix-info-dir - fix-info-dir in %pre/post is executed only when info is already installed Revision 1.30 2000/04/01 11:14:26 zagrodzki - changed all BuildRoot definitons - removed all applnkdir defs - changed some prereqs/requires - removed duplicate empty lines Revision 1.29 2000/03/28 16:54:17 baggins - translated kloczkish into english Revision 1.28 1999/11/09 14:11:38 kloczek - release 3, - added jbj patch from rawhide (make sure created database header is initialized). Revision 1.27 1999/09/24 10:45:02 pius - moved running of /usr/sbin/fix-info-dir to %%postun - release up Revision 1.26 1999/09/19 09:05:40 pius - new {un}registering procedure for info pages with using /usr/sbin/fix-info-dir, - standarization to "* text: (link). description" index info entries format. Revision 1.25 1999/07/22 13:20:33 kloczek - release 2. Revision 1.24 1999/07/20 12:48:06 wiget - switch to rpm 3.0.2 Revision 1.23 1999/07/12 23:05:56 kloczek - added using CVS keywords in %changelog (for automating them). * Thu May 20 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl> [1.8.0-1] - spec based on version from RH, - rewrited by me and Artur Frysiak <wiget@pld.org.pl>, - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.