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