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): GNU biblioteka bazy danych la jêzyka C Name: gdbm Version: 1.8.0 Release: 3 Copyright: GPL Group: Libraries Group(pl): Biblioteki Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz Patch0: gdbm-info.patch Patch1: gdbm-DESTDIR.patch BuildRequires: libtool BuildRequires: autoconf Buildroot: /tmp/%{name}-%{version}-root %description This is a database indexing library. It is useful for those who need to write C applications and need access to a simple and efficient database or build C applications which use it. %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 uzyteczna 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. %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ı Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} Prereq: /usr/sbin/fix-info-dir %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 -l de devel 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 -l fr devel 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 -l pl devel W pakiecie tym znajduj± siê pliki nag³ówkowe i biblioteki dla GNU systemu bazy danych. %description -l tr devel GNU veri tabanı sistemi gdbm ile program geliştirmek için gereken başlık dosyaları ve kitaplıklar. %package static Summary: Static gdbm library Summary(pl): Biblioteki statyczne gdbm Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static Static gdbm library. %prep %setup -q %patch0 -p1 %patch1 -p1 %build libtoolize --copy --force aclocal autoheader autoconf %configure make CFLAGS="$RPM_OPT_FLAGS" makeinfo gdbm.texinfo %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \ $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}} make install \ prefix=%{_prefix} \ exec_prefix=%{_exec_prefix} \ binprefix=%{_exec_prefix} \ manprefix=%{_prefix} \ libdir=%{_libdir} \ includedir=%{_includedir} \ infodir=%{_infodir} \ man3dir=%{_mandir}/man3 \ DESTDIR=$RPM_BUILD_ROOT strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* gzip -fn9 $RPM_BUILD_ROOT{%{_infodir}/gdbm*info*,%{_mandir}/man3/*} %post -p /sbin/ldconfig %post devel /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun -p /sbin/ldconfig %postun devel /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %{_mandir}/man3/* %{_includedir}/* %{_infodir}/gdbm* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a