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