X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gdbm.spec;h=fb28e780cd29d3db6d537ed680501ea2c9993395;hb=8041d07e6d4b534ad59a022a9815d80abf89d98f;hp=ebb7127f3165ba129ac533d785e73f1011454c2f;hpb=1f9d8e493abc8e1a12abd86ee258225f4db93e7a;p=packages%2Fgdbm.git diff --git a/gdbm.spec b/gdbm.spec index ebb7127..fb28e78 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -2,25 +2,28 @@ 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): Biblioteka GNU bazy danych dla jêzyka C +Summary(ru): âÉÂÌÉÏÔÅËÁ ÂÁÚÙ ÄÁÎÎÙÈ GNU ÄÌÑ C +Summary(uk): â¦Â̦ÏÔÅËÁ ÂÁÚÉ ÄÁÎÉÈ GNU ÄÌÑ C Name: gdbm -Version: 1.8.0 -Release: 12 +Version: 1.8.3 +Release: 3 License: GPL Group: Libraries -Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz +Source0: ftp://ftp.gnu.org/pub/gnu/gdbm/%{name}-%{version}.tar.gz +# Source0-md5: 1d1b1d5c0245b1c00aff92da751e9aa1 Patch0: %{name}-info.patch -Patch1: %{name}-DESTDIR.patch -Patch2: %{name}-jbj.patch +Patch1: %{name}-jbj.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: texinfo BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Obsoletes: libgdbm2 %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 +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. @@ -46,14 +49,29 @@ gdbm bir veri taban basit ve etkin bir þekilde veri tabanýna ulaþmak isteyenler için yararlý olacaktýr. +%description -l ru +üÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó ÉÎÄÅËÓÉÒÏ×ÁÎÎÏÊ ÂÁÚÏÊ ÄÁÎÎÙÈ. ðÏÌÅÚÎÁ ÄÌÑ +ÔÅÈ, ËÔÏ ÒÁÚÒÁÂÁÔÙ×ÁÅÔ ÐÒÏÇÒÁÍÍÙ ÎÁ C É ËÏÍÕ ÎÕÖÅÎ ÄÏÓÔÕÐ Ë ÐÒÏÓÔÏÊ É +ÜÆÆÅËÔÉ×ÎÏÊ ÂÁÚÅ ÄÁÎÎÙÈ ÌÉÂÏ ÔÒÅÂÕÅÔÓÑ ÎÁÐÉÓÁÔØ ÐÒÏÇÒÁÍÍÕ, ËÏÔÏÒÁÑ ÅÅ +ÉÓÐÏÌØÚÕÅÔ. + +%description -l uk +㊦Â̦ÏÔÅËÁ ÄÌÑ ÒÏÂÏÔÉ Ú ¦ÎÄÅËÓÏ×ÁÎÏÀ ÂÁÚÏÀ ÄÁÎÉÈ. ëÏÒÉÓÎÁ ÄÌÑ ÔÉÈ, +ÈÔÏ ÒÏÚÒÏÂÌѤ ÐÒÏÇÒÁÍÉ ÎÁ C ¦ ËÏÍÕ ÐÏÔÒ¦ÂÅÎ ÄÏÓÔÕÐ ÄÏ ÐÒÏÓÔϧ ÔÁ +ÅÆÅËÔÉ×Îϧ ÂÁÚÉ ÄÁÎÉÈ ÁÂÏ ÐÏÔÒ¦ÂÎÏ ÎÁÐÉÓÁÔÉ ÐÒÏÇÒÁÍÕ, ÝÏ §§ +×ÉËÏÒÉÓÔÏ×Õ¤. + %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ý +Summary(ru): âÉÂÌÉÏÔÅËÁ É ÈÅÄÅÒÙ gdbm ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ× +Summary(uk): â¦Â̦ÏÔÅËÁ ÔÁ ÈÅÄÅÒÉ gdbm ÄÌÑ ÐÒÏÇÒÁͦÓÔ¦× Group: Development/Libraries Requires: %{name} = %{version} +Obsoletes: libgdbm2-devel %description devel These are the development libraries and header files for gdbm, the GNU @@ -78,9 +96,20 @@ bazy danych GNU. GNU veri tabaný sistemi gdbm ile program geliþtirmek için gereken baþlýk dosyalarý ve kitaplýklar. +%description devel -l ru +üÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ× É ÈÅÄÅÒÙ gdbm, ÂÁÚÙ ÄÁÎÎÙÈ GNU. ïÎÉ +ÎÕÖÎÙ, ÅÓÌÉ ×Ù ÓÏÂÉÒÁÅÔÅÓØ ÒÁÚÒÁÂÁÔÙ×ÁÔØ ÐÒÏÇÒÁÍÍÙ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ +gdbm. + +%description devel -l uk +㊦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁͦÓÔ¦× ÔÁ ÈÅÄÅÒÉ gdbm, ÂÁÚÉ ÄÁÎÉÈ GNU. ÷ÏÎÉ +ÐÏÔÒ¦ÂΦ, ÑËÝÏ ×É ÚÂÉÒÁ¤ÔÅÓØ ÒÏÚÒÏÂÌÑÔÉ ÐÒÏÇÒÁÍÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ gdbm. + %package static Summary: Static gdbm library Summary(pl): Biblioteki statyczne gdbm +Summary(uk): óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ gdbm +Summary(ru): óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ gdbm Group: Development/Libraries Requires: %{name}-devel = %{version} @@ -90,38 +119,32 @@ Static gdbm library. %description static -l pl Biblioteka statyczna gdbm. +%description static -l ru +üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ gdbm, ÂÁÚÙ ÄÁÎÎÙÈ GNU. + +%description static -l uk +ãÅ ÓÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ gdbm, ÂÁÚÉ ÄÁÎÉÈ GNU. + %prep %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %build -libtoolize --copy --force -aclocal -autoheader -autoconf +%{__libtoolize} +%{__aclocal} +%{__autoheader} +%{__autoconf} %configure -%{__make} CFLAGS="%{rpmcflags}" - -makeinfo gdbm.texinfo +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \ - $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}} %{__make} install install-compat \ - prefix=%{_prefix} \ - exec_prefix=%{_exec_prefix} \ - binprefix=%{_exec_prefix} \ - manprefix=%{_prefix} \ - libdir=%{_libdir} \ - includedir=%{_includedir} \ - infodir=%{_infodir} \ - man3dir=%{_mandir}/man3 \ - DESTDIR=$RPM_BUILD_ROOT + INSTALL_ROOT=$RPM_BUILD_ROOT \ + BINOWN=`id -u` BINGRP=`id -g` %clean rm -rf $RPM_BUILD_ROOT @@ -137,12 +160,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc ChangeLog NEWS README %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 +%{_libdir}/lib*.la %{_mandir}/man3/* %{_includedir}/* %{_infodir}/gdbm*