X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gdbm18.spec;h=d482c4b3e4bf86fcd704ade9069e24a7f09bfd4d;hb=b35bc46826c8865b91792b48b145f07ccda5cada;hp=afb6126940f2a0ad2dfeda1fb322753fa45ea2b6;hpb=973564e877666dd9562ec3626365714cc8403ac4;p=packages%2Fgdbm18.git diff --git a/gdbm18.spec b/gdbm18.spec index afb6126..d482c4b 100644 --- a/gdbm18.spec +++ b/gdbm18.spec @@ -4,42 +4,47 @@ Summary(fr): La librairie GNU de bases de donn Summary(pl): GNU biblioteka bazy danych la jêzyka C Name: gdbm Version: 1.8.0 -Release: 1 -Copyright: GPL +Release: 4 +License: GPL Group: Libraries +Group(fr): Librairies Group(pl): Biblioteki -Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz +Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz Patch0: gdbm-info.patch Patch1: gdbm-DESTDIR.patch -BuildPrereq: libtool -BuildPrereq: autoconf -Buildroot: /tmp/%{name}-%{version}-root +Patch2: gdbm-jbj.patch +BuildRequires: libtool +BuildRequires: autoconf +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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. +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 +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. +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. +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. +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 @@ -48,14 +53,14 @@ Summary(fr): Biblioth 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(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} -Prereq: /sbin/install-info %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. +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 @@ -63,22 +68,23 @@ 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. +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. +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(fr): Development/Librairies Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} @@ -89,6 +95,7 @@ Static gdbm library. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build libtoolize --copy --force @@ -119,19 +126,17 @@ make install \ strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* -gzip -fn9 $RPM_BUILD_ROOT{%{_infodir}/gdbm*info*,%{_mandir}/man3/*} +gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/gdbm*info*,%{_mandir}/man3/*} %post -p /sbin/ldconfig %post devel -/sbin/install-info %{_infodir}/gdbm.info.gz /etc/info-dir +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun -p /sbin/ldconfig -%preun devel -if [ "$1" = "0" ]; then - /sbin/install-info --delete %{_infodir}/gdbm.info.gz /etc/info-dir -fi +%postun devel +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT