]> git.pld-linux.org Git - packages/gdbm.git/blobdiff - gdbm.spec
- reverting last change: removing new macros from %p{re,ost}{,un}
[packages/gdbm.git] / gdbm.spec
index 9148559797d042c987ddf4b8e31f39020dcb0e0c..5f8f08d93044b4733674f2272254a9e1092d056b 100644 (file)
--- a/gdbm.spec
+++ b/gdbm.spec
@@ -1,48 +1,53 @@
 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(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
+Release:       11
+License:       GPL
 Group:         Libraries
+Group(de):     Libraries
+Group(es):     Bibliotecas
+Group(fr):     Librairies
 Group(pl):     Biblioteki
-Source:                ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
-Patch0:                gdbm-info.patch
-Patch1:                gdbm-DESTDIR.patch
-Patch2:                gdbm-jbj.patch
-BuildRequires: libtool
+Source0:       ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
+Patch0:                %{name}-info.patch
+Patch1:                %{name}-DESTDIR.patch
+Patch2:                %{name}-jbj.patch
 BuildRequires: autoconf
-Buildroot:     /tmp/%{name}-%{version}-root
+BuildRequires: libtool
+BuildRequires: texinfo
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
+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
@@ -51,14 +56,15 @@ 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(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
 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.
+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
@@ -66,22 +72,24 @@ 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(de):     Entwicklung/Libraries
+Group(fr):     Development/Librairies
 Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
@@ -101,7 +109,7 @@ autoheader
 autoconf
 %configure
 
-make CFLAGS="$RPM_OPT_FLAGS"
+%{__make} CFLAGS="%{rpmcflags}"
 
 makeinfo gdbm.texinfo
 
@@ -110,7 +118,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \
           $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}}
 
-make install \
+%{__make} install install-compat \
        prefix=%{_prefix} \
        exec_prefix=%{_exec_prefix} \
        binprefix=%{_exec_prefix} \
@@ -121,19 +129,14 @@ make install \
        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   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %post devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
-
-%postun -p /sbin/ldconfig
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.044265 seconds and 4 git commands to generate.