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
13 Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
14 Patch0: %{name}-info.patch
15 Patch1: %{name}-DESTDIR.patch
16 Patch2: %{name}-jbj.patch
17 BuildRequires: autoconf
18 BuildRequires: libtool
19 BuildRequires: texinfo
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Gdbm is a GNU database indexing library, including routines which use
24 extensible hashing. Gdbm works in a similar way to standard UNIX dbm
25 routines. Gdbm is useful for developers who write C applications and
26 need access to a simple and efficient database or who are building C
27 applications which will use such a database.
30 Dies ist eine Datenbank-Index-Library für Programmierer, die
31 C-Anwendungen schreiben und eine einfache und leistungsfähige
32 Datenbank benötigen oder diese in C-Anwendungen einsetzen möchten.
35 Une librairie d'indexation de bases de données. Elle est utile pour
36 ceux qui désirent écrivent des applications en C et ont besion
37 d'accéder à une base de données simple et efficace ou de construire
38 une application en C qui l'utilise.
41 W pakiecie znajduje siê biblioteka indeksowania bazy danych.
42 Biblioteka ta jest szczególnie uzyteczna dla ludzi, którzy pisz±
43 oprogramowanie w C i potrzebuj± prostej i szybkiej bazy danych, lub
44 dla tych którzy pisz± programy w C z wykorzystaniem tej biblioteki.
47 gdbm bir veri tabaný dizinleme kitaplýðýdýr. C uygulamalarý yazýp
48 basit ve etkin bir þekilde veri tabanýna ulaþmak isteyenler için
52 Summary: development libraries and header files for gdbm
53 Summary(de): Entwicklungs-Libraries und Header-Dateien für gdbm
54 Summary(fr): Bibliothèques de développement et en-têtes pour gdbm
55 Summary(pl): Biblioteki i pliki nag³ówkowe dla gdbm
56 Summary(tr): gdbm için baþlýk dosyalarý ve geliþtirme kitaplýklarý
57 Group: Development/Libraries
58 Group(de): Entwicklung/Libraries
59 Group(fr): Development/Librairies
60 Group(pl): Programowanie/Biblioteki
61 Requires: %{name} = %{version}
64 These are the development libraries and header files for gdbm, the GNU
65 database system. These are required if you plan to do development
66 using the gdbm database.
68 %description -l de devel
69 Dies sind die Entwicklungs-Libraries und Header-Dateien für gdbm, das
70 GNU-Datenbanksystem. Sie sind darauf angewiesen, wenn Sie vorhaben,
71 die gdbm-Datenbank für Entwicklungsarbeiten zu benutzen.
73 %description -l fr devel
74 Ce sont les librairies de développement et les fichiers d'en-tête pour
75 gdbm, le système de base de données GNU. Ceci est nécessaire si vous
76 désirez développer en utilisant la base de données gdbm.
78 %description -l pl devel
79 W pakiecie tym znajduj± siê pliki nag³ówkowe i biblioteki dla GNU
82 %description -l tr devel
83 GNU veri tabaný sistemi gdbm ile program geliþtirmek için gereken
84 baþlýk dosyalarý ve kitaplýklar.
87 Summary: Static gdbm library
88 Summary(pl): Biblioteki statyczne gdbm
89 Group: Development/Libraries
90 Group(de): Entwicklung/Libraries
91 Group(fr): Development/Librairies
92 Group(pl): Programowanie/Biblioteki
93 Requires: %{name}-devel = %{version}
105 libtoolize --copy --force
111 %{__make} CFLAGS="%{rpmcflags}"
113 makeinfo gdbm.texinfo
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \
118 $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}}
120 %{__make} install install-compat \
122 exec_prefix=%{_exec_prefix} \
123 binprefix=%{_exec_prefix} \
124 manprefix=%{_prefix} \
126 includedir=%{_includedir} \
127 infodir=%{_infodir} \
128 man3dir=%{_mandir}/man3 \
129 DESTDIR=$RPM_BUILD_ROOT
131 %post -p /sbin/ldconfig
132 %postun -p /sbin/ldconfig
135 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
138 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
141 rm -rf $RPM_BUILD_ROOT
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/lib*.so.*.*
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/lib*.so
150 %attr(755,root,root) %{_libdir}/lib*.la
156 %defattr(644,root,root,755)