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