X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gdbm.spec;h=fb28e780cd29d3db6d537ed680501ea2c9993395;hb=refs%2Ftags%2Fauto%2Fac%2Fgdbm-1_8_3-3;hp=6991a1cce238f44c38bd5aa216de452609a1dfe2;hpb=4997fcfb2ceca4a5cb64df27859425d62b68e830;p=packages%2Fgdbm.git diff --git a/gdbm.spec b/gdbm.spec index 6991a1c..fb28e78 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -1,199 +1,176 @@ 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 +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.7.3 -Release: 22 -Copyright: GPL +Version: 1.8.3 +Release: 3 +License: GPL Group: Libraries -Group(pl): Biblioteki -Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz -Patch0: gdbm-shlib.patch -Patch1: gdbm-info.patch -Patch2: gdbm-configure.patch -Buildroot: /tmp/%{name}-%{version}-root +Source0: ftp://ftp.gnu.org/pub/gnu/gdbm/%{name}-%{version}.tar.gz +# Source0-md5: 1d1b1d5c0245b1c00aff92da751e9aa1 +Patch0: %{name}-info.patch +Patch1: %{name}-jbj.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: texinfo +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Obsoletes: libgdbm2 %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 u¿yteczna 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. + +%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(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 -Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} -Prereq: /sbin/install-info +Obsoletes: libgdbm2-devel %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 +%description devel -l de 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 devel -l fr +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 devel -l pl +W pakiecie tym znajduj± siê pliki nag³ówkowe i biblioteki dla systemu +bazy danych GNU. -%description -l tr devel -GNU veri tabaný sistemi gdbm ile program geliþtirmek için gereken baþlýk -dosyalarý ve kitaplýklar. +%description devel -l tr +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 -Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static 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 +%setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %build -mkdir shared -aclocal -autoheader -automake --add-missing || : -autoconf +%{__libtoolize} +%{__aclocal} +%{__autoheader} +%{__autoconf} %configure -make CFLAGS="$RPM_OPT_FLAGS" -make CFLAGS="$RPM_OPT_FLAGS" shared - -makeinfo gdbm.texinfo +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/usr/{lib,include,info,man/man3} - -make install prefix=$RPM_BUILD_ROOT/usr - -ln -sf libgdbm.so.2.0.0 $RPM_BUILD_ROOT/usr/lib/libgdbm.so -strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*.so.*.* +%{__make} install install-compat \ + INSTALL_ROOT=$RPM_BUILD_ROOT \ + BINOWN=`id -u` BINGRP=`id -g` -gzip -fn9 $RPM_BUILD_ROOT/usr/{info/gdbm*info*,man/man3/*} - -%post -p /sbin/ldconfig - -%post devel -/sbin/install-info %{_infodir}/gdbm.info.gz /etc/info-dir +%clean +rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%preun devel -if [ "$1" = "0" ]; then - /sbin/install-info --delete %{_infodir}/gdbm.info.gz /etc/info-dir -fi +%post devel +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 -%clean -rm -rf $RPM_BUILD_ROOT +%postun devel +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %files %defattr(644,root,root,755) -%attr(755,root,root) /usr/lib/lib*.so.*.* +%doc ChangeLog NEWS README +%attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) -%attr(755,root,root) /usr/lib/lib*.so +%attr(755,root,root) %{_libdir}/lib*.so +%{_libdir}/lib*.la %{_mandir}/man3/* -/usr/include/* +%{_includedir}/* %{_infodir}/gdbm* %files static %defattr(644,root,root,755) -/usr/lib/lib*.a - -%changelog -* Thu Apr 29 1999 Artur Frysiak - [1.7.3-22] -- used %%configure macro -- added gdbm-configure.patch - -* Sun Mar 14 1999 Tomasz K³oczko - [1.7.3-21] -- added --strip-unneeded parameter on striping shared libraries, -- removed man group from man pages. - -* Mon Jan 04 1999 Tomasz K³oczko - [1.7.3-20] -- standarized {un}registering info pages (added gdbm-info.patch), -- added gzipping man pages. - -* Sun Nov 22 1998 Tomasz K³oczko - [1.7.3-19] -- removed "Prereq: /sbin/install-info" from static, -- fixed --entry text on {un}registering info page for ed in %post - %preun in devel. - -* Wed Sep 30 1998 Wojtek ¦lusarczyk -- build against glibc-2.1, -- translation modified for pl. - -* Sun Aug 30 1998 Tomasz K³oczko - [1.7.3-18] -- added -q %setup parameter, -- changed Buildroot to /tmp/%%{name}-%%{version}-root, -- added using %%{name} and %%{version} in Source, -- added static subpackage, -- changed dependencies to "Requires: %%{name} = %%{version}" in devel - subpackage, -- added stripping shared libraries, -- added %attr and %defattr macros in %files (allows build package from - non-root account). - -* Thu May 07 1998 Prospector System -- translations modified for de, fr, tr - -* Thu Apr 30 1998 Cristian Gafton -- gdbm-devel moved to Development/Libraries - -* Wed Apr 08 1998 Cristian Gafton -- buildroot and built for Manhattan - -* Tue Oct 14 1997 Donnie Barnes -- spec file cleanups - -* Thu Jun 12 1997 Erik Troan -- built against glibc +%{_libdir}/lib*.a