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