]> git.pld-linux.org Git - packages/gdbm.git/blob - gdbm.spec
- added gdbm-linking.patch to allow build on sparc multilib
[packages/gdbm.git] / gdbm.spec
1 Summary:        GNU database library for C
2 Summary(de):    GNU-Datenbank-Library für C
3 Summary(fr):    La librairie GNU de bases de données pout le langage C
4 Summary(pl):    Biblioteka GNU bazy danych dla jêzyka C
5 Summary(ru):    âÉÂÌÉÏÔÅËÁ ÂÁÚÙ ÄÁÎÎÙÈ GNU ÄÌÑ C
6 Summary(uk):    â¦Â̦ÏÔÅËÁ ÂÁÚÉ ÄÁÎÉÈ GNU ÄÌÑ C
7 Name:           gdbm
8 Version:        1.8.3
9 Release:        6
10 License:        GPL
11 Group:          Libraries
12 Source0:        ftp://ftp.gnu.org/pub/gnu/gdbm/%{name}-%{version}.tar.gz
13 # Source0-md5:  1d1b1d5c0245b1c00aff92da751e9aa1
14 Patch0:         %{name}-info.patch
15 Patch1:         %{name}-jbj.patch
16 Patch2:         %{name}-linking.patch
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
20 BuildRequires:  texinfo
21 Obsoletes:      libgdbm2
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 gdbm is a GNU database indexing library, including routines which use
26 extensible hashing. gdbm works in a similar way to standard UNIX dbm
27 routines. gdbm is useful for developers who write C applications and
28 need access to a simple and efficient database or who are building C
29 applications which will use such a database.
30
31 %description -l de
32 Dies ist eine Datenbank-Index-Library für Programmierer, die
33 C-Anwendungen schreiben und eine einfache und leistungsfähige
34 Datenbank benötigen oder diese in C-Anwendungen einsetzen möchten.
35
36 %description -l fr
37 Une librairie d'indexation de bases de données. Elle est utile pour
38 ceux qui désirent écrivent des applications en C et ont besion
39 d'accéder à une base de données simple et efficace ou de construire
40 une application en C qui l'utilise.
41
42 %description -l pl
43 W pakiecie znajduje siê biblioteka indeksowania bazy danych.
44 Biblioteka ta jest szczególnie u¿yteczna dla ludzi, którzy pisz±
45 oprogramowanie w C i potrzebuj± prostej i szybkiej bazy danych, lub
46 dla tych którzy pisz± programy w C z wykorzystaniem tej biblioteki.
47
48 %description -l tr
49 gdbm bir veri tabaný dizinleme kitaplýðýdýr. C uygulamalarý yazýp
50 basit ve etkin bir þekilde veri tabanýna ulaþmak isteyenler için
51 yararlý olacaktýr.
52
53 %description -l ru
54 üÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó ÉÎÄÅËÓÉÒÏ×ÁÎÎÏÊ ÂÁÚÏÊ ÄÁÎÎÙÈ. ðÏÌÅÚÎÁ ÄÌÑ
55 ÔÅÈ, ËÔÏ ÒÁÚÒÁÂÁÔÙ×ÁÅÔ ÐÒÏÇÒÁÍÍÙ ÎÁ C É ËÏÍÕ ÎÕÖÅΠÄÏÓÔÕРˠÐÒÏÓÔÏÊ É
56 ÜÆÆÅËÔÉ×ÎÏÊ ÂÁÚÅ ÄÁÎÎÙÈ ÌÉÂÏ ÔÒÅÂÕÅÔÓÑ ÎÁÐÉÓÁÔØ ÐÒÏÇÒÁÍÍÕ, ËÏÔÏÒÁÑ ÅÅ
57 ÉÓÐÏÌØÚÕÅÔ.
58
59 %description -l uk
60 ㊦Â̦ÏÔÅËÁ ÄÌÑ ÒÏÂÏÔÉ Ú ¦ÎÄÅËÓÏ×ÁÎÏÀ ÂÁÚÏÀ ÄÁÎÉÈ. ëÏÒÉÓÎÁ ÄÌÑ ÔÉÈ,
61 ÈÔÏ ÒÏÚÒÏÂÌѤ ÐÒÏÇÒÁÍÉ ÎÁ C ¦ ËÏÍÕ ÐÏÔÒ¦ÂÅΠÄÏÓÔÕРÄÏ ÐÒÏÓÔϧ ÔÁ
62 ÅÆÅËÔÉ×Îϧ ÂÁÚÉ ÄÁÎÉÈ ÁÂÏ ÐÏÔÒ¦ÂÎÏ ÎÁÐÉÓÁÔÉ ÐÒÏÇÒÁÍÕ, ÝÏ §§
63 ×ÉËÏÒÉÓÔÏ×Õ¤.
64
65 %package devel
66 Summary:        development libraries and header files for gdbm
67 Summary(de):    Entwicklungs-Libraries und Header-Dateien für gdbm
68 Summary(fr):    Bibliothèques de développement et en-têtes pour gdbm
69 Summary(pl):    Biblioteki i pliki nag³ówkowe dla gdbm
70 Summary(ru):    âÉÂÌÉÏÔÅËÁ É ÈÅÄÅÒÙ gdbm ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ×
71 Summary(tr):    gdbm için baþlýk dosyalarý ve geliþtirme kitaplýklarý
72 Summary(uk):    â¦Â̦ÏÔÅËÁ ÔÁ ÈÅÄÅÒÉ gdbm ÄÌÑ ÐÒÏÇÒÁͦÓÔ¦×
73 Group:          Development/Libraries
74 Requires:       %{name} = %{version}-%{release}
75 Obsoletes:      libgdbm2-devel
76
77 %description devel
78 These are the development libraries and header files for gdbm, the GNU
79 database system. These are required if you plan to do development
80 using the gdbm database.
81
82 %description devel -l de
83 Dies sind die Entwicklungs-Libraries und Header-Dateien für gdbm, das
84 GNU-Datenbanksystem. Sie sind darauf angewiesen, wenn Sie vorhaben,
85 die gdbm-Datenbank für Entwicklungsarbeiten zu benutzen.
86
87 %description devel -l fr
88 Ce sont les librairies de développement et les fichiers d'en-tête pour
89 gdbm, le système de base de données GNU. Ceci est nécessaire si vous
90 désirez développer en utilisant la base de données gdbm.
91
92 %description devel -l pl
93 W pakiecie tym znajduj± siê pliki nag³ówkowe i biblioteki dla systemu
94 bazy danych GNU.
95
96 %description devel -l tr
97 GNU veri tabaný sistemi gdbm ile program geliþtirmek için gereken
98 baþlýk dosyalarý ve kitaplýklar.
99
100 %description devel -l ru
101 üÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ× É ÈÅÄÅÒÙ gdbm, ÂÁÚÙ ÄÁÎÎÙÈ GNU. ïÎÉ
102 ÎÕÖÎÙ, ÅÓÌÉ ×Ù ÓÏÂÉÒÁÅÔÅÓØ ÒÁÚÒÁÂÁÔÙ×ÁÔØ ÐÒÏÇÒÁÍÍÙ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ
103 gdbm.
104
105 %description devel -l uk
106 ㊦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁͦÓԦנÔÁ ÈÅÄÅÒÉ gdbm, ÂÁÚÉ ÄÁÎÉÈ GNU. ÷ÏÎÉ
107 ÐÏÔÒ¦ÂΦ, ÑËÝÏ ×É ÚÂÉÒÁ¤ÔÅÓØ ÒÏÚÒÏÂÌÑÔÉ ÐÒÏÇÒÁÍÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ gdbm.
108
109 %package static
110 Summary:        Static gdbm library
111 Summary(pl):    Biblioteki statyczne gdbm
112 Summary(ru):    óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ gdbm
113 Summary(uk):    óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ gdbm
114 Group:          Development/Libraries
115 Requires:       %{name}-devel = %{version}-%{release}
116
117 %description static
118 Static gdbm library.
119
120 %description static -l pl
121 Biblioteka statyczna gdbm.
122
123 %description static -l ru
124 üÔÏ ÓÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ gdbm, ÂÁÚÙ ÄÁÎÎÙÈ GNU.
125
126 %description static -l uk
127 ãÅ ÓÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ gdbm, ÂÁÚÉ ÄÁÎÉÈ GNU.
128
129 %prep
130 %setup  -q
131 %patch0 -p1
132 %patch1 -p1
133 %patch2 -p1
134
135 %build
136 %{__libtoolize}
137 %{__aclocal}
138 %{__autoheader}
139 %{__autoconf}
140 %configure
141
142 %{__make}
143
144 %install
145 rm -rf $RPM_BUILD_ROOT
146
147 %{__make} install install-compat \
148         INSTALL_ROOT=$RPM_BUILD_ROOT \
149         BINOWN=`id -u` BINGRP=`id -g`
150
151 %clean
152 rm -rf $RPM_BUILD_ROOT
153
154 %post   -p /sbin/ldconfig
155 %postun -p /sbin/ldconfig
156
157 %post devel
158 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
159
160 %postun devel
161 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
162
163 %files
164 %defattr(644,root,root,755)
165 %doc ChangeLog NEWS README
166 %attr(755,root,root) %{_libdir}/lib*.so.*.*
167
168 %files devel
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_libdir}/lib*.so
171 %{_libdir}/lib*.la
172 %{_mandir}/man3/*
173 %{_includedir}/*
174 %{_infodir}/gdbm*
175
176 %files static
177 %defattr(644,root,root,755)
178 %{_libdir}/lib*.a
This page took 0.349982 seconds and 4 git commands to generate.