]> git.pld-linux.org Git - packages/gdbm18.git/blob - gdbm18.spec
- md5
[packages/gdbm18.git] / gdbm18.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.0
9 Release:        16
10 License:        GPL
11 Group:          Libraries
12 Source0:        ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
13 # Source0-md5:  cd543862287f55ad66e62cc9d82cc906
14 Patch0:         %{name}-info.patch
15 Patch1:         %{name}-DESTDIR.patch
16 Patch2:         %{name}-jbj.patch
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
20 BuildRequires:  texinfo
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes:      libgdbm2
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(tr):    gdbm için baþlýk dosyalarý ve geliþtirme kitaplýklarý
71 Summary(ru):    âÉÂÌÉÏÔÅËÁ É ÈÅÄÅÒÙ gdbm ÄÌÑ ÒÁÚÒÁÂÏÔÞÉËÏ×
72 Summary(uk):    â¦Â̦ÏÔÅËÁ ÔÁ ÈÅÄÅÒÉ gdbm ÄÌÑ ÐÒÏÇÒÁͦÓÔ¦×
73 Group:          Development/Libraries
74 Requires:       %{name} = %{version}
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(uk):    óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ gdbm
113 Summary(ru):    óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ gdbm
114 Group:          Development/Libraries
115 Requires:       %{name}-devel = %{version}
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 --copy --force
137 aclocal
138 autoheader
139 autoconf
140 %configure
141
142 %{__make} CFLAGS="%{rpmcflags}"
143
144 makeinfo gdbm.texinfo
145
146 cat .libs/libgdbm.lai|sed -e 's/\/usr\/local\/lib/\/usr\/lib/'>libgdbm.lai.tmp
147 mv libgdbm.lai.tmp .libs/libgdbm.lai
148
149 %install
150 rm -rf $RPM_BUILD_ROOT
151 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \
152            $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}}
153
154 %{__make} install install-compat \
155         prefix=%{_prefix} \
156         exec_prefix=%{_exec_prefix} \
157         binprefix=%{_exec_prefix} \
158         manprefix=%{_prefix} \
159         libdir=%{_libdir} \
160         includedir=%{_includedir} \
161         infodir=%{_infodir} \
162         man3dir=%{_mandir}/man3 \
163         DESTDIR=$RPM_BUILD_ROOT
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %post   -p /sbin/ldconfig
169 %postun -p /sbin/ldconfig
170
171 %post devel
172 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
173
174 %postun devel
175 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
176
177 %files
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/lib*.so.*.*
180
181 %files devel
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_libdir}/lib*.so
184 %attr(755,root,root) %{_libdir}/lib*.la
185 %{_mandir}/man3/*
186 %{_includedir}/*
187 %{_infodir}/gdbm*
188
189 %files static
190 %defattr(644,root,root,755)
191 %{_libdir}/lib*.a
This page took 0.09354 seconds and 3 git commands to generate.