1 Summary: GNU database library for C
2 Summary(de): GNU-Datenbank-Library für C
3 Summary(fr): La librairie GNU de bases de données pout le langage C.
4 Summary(pl): GNU biblioteka bazy danych la jêzyka C
11 Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
12 Patch0: gdbm-shlib.patch
13 Patch1: gdbm-info.patch
14 Patch2: gdbm-configure.patch
15 Patch3: gdbm-DESTDIR.patch
16 Buildroot: /tmp/%{name}-%{version}-root
19 This is a database indexing library. It is useful for those who need
20 to write C applications and need access to a simple and efficient
21 database or build C applications which use it.
24 Dies ist eine Datenbank-Index-Library für Programmierer, die
25 C-Anwendungen schreiben und eine einfache und leistungsfähige
26 Datenbank benötigen oder diese in C-Anwendungen einsetzen möchten.
29 Une librairie d'indexation de bases de données. Elle est utile pour ceux
30 qui désirent écrivent des applications en C et ont besion d'accéder à
31 une base de données simple et efficace ou de construire une application
35 W pakiecie znajduje siê biblioteka indeksowania bazy danych. Biblioteka
36 ta jest szczególnie uzyteczna dla ludzi, którzy pisz± oprogramowanie w C
37 i potrzebuj± prostej i szybkiej bazy danych, lub dla tych którzy pisz±
38 programy w C z wykorzystaniem tej biblioteki.
41 gdbm bir veri tabaný dizinleme kitaplýðýdýr. C uygulamalarý yazýp basit ve
42 etkin bir þekilde veri tabanýna ulaþmak isteyenler için yararlý olacaktýr.
45 Summary: development libraries and header files for gdbm
46 Summary(de): Entwicklungs-Libraries und Header-Dateien für gdbm
47 Summary(fr): Bibliothèques de développement et en-têtes pour gdbm
48 Summary(pl): Biblioteki i pliki nag³ówkowe dla gdbm
49 Summary(tr): gdbm için baþlýk dosyalarý ve geliþtirme kitaplýklarý
50 Group: Development/Libraries
51 Group(pl): Programowanie/Biblioteki
52 Requires: %{name} = %{version}
53 Prereq: /sbin/install-info
56 These are the development libraries and header files for gdbm, the
57 GNU database system. These are required if you plan to do
58 development using the gdbm database.
60 %description -l de devel
61 Dies sind die Entwicklungs-Libraries und Header-Dateien für gdbm, das
62 GNU-Datenbanksystem. Sie sind darauf angewiesen, wenn Sie vorhaben,
63 die gdbm-Datenbank für Entwicklungsarbeiten zu benutzen.
65 %description -l fr devel
66 Ce sont les librairies de développement et les fichiers d'en-tête pour gdbm,
67 le système de base de données GNU. Ceci est nécessaire si vous désirez
68 développer en utilisant la base de données gdbm.
70 %description -l pl devel
71 W pakiecie tym znajduj± siê pliki nag³ówkowe i biblioteki dla GNU
74 %description -l tr devel
75 GNU veri tabaný sistemi gdbm ile program geliþtirmek için gereken baþlýk
76 dosyalarý ve kitaplýklar.
79 Summary: Static gdbm library
80 Summary(pl): Biblioteki statyczne gdbm
81 Group: Development/Libraries
82 Group(pl): Programowanie/Biblioteki
83 Requires: %{name}-devel = %{version}
99 automake --add-missing || :
103 make CFLAGS="$RPM_OPT_FLAGS"
104 make CFLAGS="$RPM_OPT_FLAGS" shared
106 makeinfo gdbm.texinfo
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \
111 $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}}
115 exec_prefix=%{_exec_prefix} \
116 binprefix=%{_exec_prefix} \
117 manprefix=%{_prefix} \
119 includedir=%{_includedir} \
120 infodir=%{_infodir} \
121 man3dir=%{_mandir}/man3 \
122 DESTDIR=$RPM_BUILD_ROOT
124 ln -sf libgdbm.so.2.0.0 $RPM_BUILD_ROOT%{_libdir}/libgdbm.so
126 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
128 gzip -fn9 $RPM_BUILD_ROOT{%{_infodir}/gdbm*info*,%{_mandir}/man3/*}
130 %post -p /sbin/ldconfig
133 /sbin/install-info %{_infodir}/gdbm.info.gz /etc/info-dir
135 %postun -p /sbin/ldconfig
138 if [ "$1" = "0" ]; then
139 /sbin/install-info --delete %{_infodir}/gdbm.info.gz /etc/info-dir
143 rm -rf $RPM_BUILD_ROOT
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_libdir}/lib*.so.*.*
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/lib*.so
157 %defattr(644,root,root,755)
161 * Thu Apr 29 1999 Artur Frysiak <wiget@pld.org.pl>
163 - used %%configure macro
164 - added gdbm-configure.patch
166 * Sun Mar 14 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
168 - added --strip-unneeded parameter on striping shared libraries,
169 - removed man group from man pages.
171 * Mon Jan 04 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
173 - standarized {un}registering info pages (added gdbm-info.patch),
174 - added gzipping man pages.
176 * Sun Nov 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
178 - removed "Prereq: /sbin/install-info" from static,
179 - fixed --entry text on {un}registering info page for ed in %post
182 * Wed Sep 30 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
183 - build against glibc-2.1,
184 - translation modified for pl.
186 * Sun Aug 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
188 - added -q %setup parameter,
189 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
190 - added using %%{name} and %%{version} in Source,
191 - added static subpackage,
192 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
194 - added stripping shared libraries,
195 - added %attr and %defattr macros in %files (allows build package from
198 * Thu May 07 1998 Prospector System <bugs@redhat.com>
199 - translations modified for de, fr, tr
201 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
202 - gdbm-devel moved to Development/Libraries
204 * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
205 - buildroot and built for Manhattan
207 * Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
210 * Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
211 - built against glibc