]> git.pld-linux.org Git - packages/gdbm.git/blame_incremental - gdbm.spec
- updated gettext BR
[packages/gdbm.git] / gdbm.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without gdbmexport # gdbmexport compatibility tool
4#
5Summary: GNU database library for C
6Summary(de.UTF-8): GNU-Datenbank-Library für C
7Summary(fr.UTF-8): La librairie GNU de bases de données pout le langage C
8Summary(pl.UTF-8): Biblioteka GNU bazy danych dla języka C
9Summary(ru.UTF-8): Библиотека базы данных GNU для C
10Summary(uk.UTF-8): Бібліотека бази даних GNU для C
11Name: gdbm
12Version: 1.11
13Release: 1
14License: GPL v3+
15Group: Libraries
16Source0: http://ftp.gnu.org/gnu/gdbm/%{name}-%{version}.tar.gz
17# Source0-md5: 72c832680cf0999caedbe5b265c8c1bd
18Patch0: %{name}-info.patch
19Patch1: %{name}-link-compat.patch
20BuildRequires: autoconf >= 2.63
21BuildRequires: automake >= 1:1.11
22%{?with_gdbmexport:BuildRequires: gdbm18-devel >= 1.8.3}
23BuildRequires: gettext-tools
24BuildRequires: libtool
25BuildRequires: texinfo
26Obsoletes: libgdbm2
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30gdbm is a GNU database indexing library, including routines which use
31extensible hashing. gdbm works in a similar way to standard UNIX dbm
32routines. gdbm is useful for developers who write C applications and
33need access to a simple and efficient database or who are building C
34applications which will use such a database.
35
36%description -l de.UTF-8
37Dies ist eine Datenbank-Index-Library für Programmierer, die
38C-Anwendungen schreiben und eine einfache und leistungsfähige
39Datenbank benötigen oder diese in C-Anwendungen einsetzen möchten.
40
41%description -l fr.UTF-8
42Une librairie d'indexation de bases de données. Elle est utile pour
43ceux qui désirent écrivent des applications en C et ont besion
44d'accéder à une base de données simple et efficace ou de construire
45une application en C qui l'utilise.
46
47%description -l pl.UTF-8
48W pakiecie znajduje się biblioteka indeksowania bazy danych.
49Biblioteka ta jest szczególnie użyteczna dla ludzi, którzy piszą
50oprogramowanie w C i potrzebują prostej i szybkiej bazy danych, lub
51dla tych którzy piszą programy w C z wykorzystaniem tej biblioteki.
52
53%description -l tr.UTF-8
54gdbm bir veri tabanı dizinleme kitaplığıdır. C uygulamaları yazıp
55basit ve etkin bir şekilde veri tabanına ulaşmak isteyenler için
56yararlı olacaktır.
57
58%description -l ru.UTF-8
59Это библиотека для работы с индексированной базой данных. Полезна для
60тех, кто разрабатывает программы на C и кому нужен доступ к простой и
61эффективной базе данных либо требуется написать программу, которая ее
62использует.
63
64%description -l uk.UTF-8
65Це бібліотека для роботи з індексованою базою даних. Корисна для тих,
66хто розробляє програми на C і кому потрібен доступ до простої та
67ефективної бази даних або потрібно написати програму, що її
68використовує.
69
70%package devel
71Summary: development libraries and header files for gdbm
72Summary(de.UTF-8): Entwicklungs-Libraries und Header-Dateien für gdbm
73Summary(fr.UTF-8): Bibliothèques de développement et en-têtes pour gdbm
74Summary(pl.UTF-8): Biblioteki i pliki nagłówkowe dla gdbm
75Summary(ru.UTF-8): Библиотека и хедеры gdbm для разработчиков
76Summary(tr.UTF-8): gdbm için başlık dosyaları ve geliştirme kitaplıkları
77Summary(uk.UTF-8): Бібліотека та хедери gdbm для програмістів
78Group: Development/Libraries
79Requires: %{name} = %{version}-%{release}
80Obsoletes: libgdbm2-devel
81
82%description devel
83These are the development libraries and header files for gdbm, the GNU
84database system. These are required if you plan to do development
85using the gdbm database.
86
87%description devel -l de.UTF-8
88Dies sind die Entwicklungs-Libraries und Header-Dateien für gdbm, das
89GNU-Datenbanksystem. Sie sind darauf angewiesen, wenn Sie vorhaben,
90die gdbm-Datenbank für Entwicklungsarbeiten zu benutzen.
91
92%description devel -l fr.UTF-8
93Ce sont les librairies de développement et les fichiers d'en-tête pour
94gdbm, le système de base de données GNU. Ceci est nécessaire si vous
95désirez développer en utilisant la base de données gdbm.
96
97%description devel -l pl.UTF-8
98W pakiecie tym znajdują się pliki nagłówkowe i biblioteki dla systemu
99bazy danych GNU.
100
101%description devel -l tr.UTF-8
102GNU veri tabanı sistemi gdbm ile program geliştirmek için gereken
103başlık dosyaları ve kitaplıklar.
104
105%description devel -l ru.UTF-8
106Это библиотека для разработчиков и хедеры gdbm, базы данных GNU. Они
107нужны, если вы собираетесь разрабатывать программы с использованием
108gdbm.
109
110%description devel -l uk.UTF-8
111Це бібліотека для програмістів та хедери gdbm, бази даних GNU. Вони
112потрібні, якщо ви збираєтесь розробляти програми з використанням gdbm.
113
114%package static
115Summary: Static gdbm library
116Summary(pl.UTF-8): Biblioteki statyczne gdbm
117Summary(ru.UTF-8): Статическая библиотека gdbm
118Summary(uk.UTF-8): Статична бібліотека gdbm
119Group: Development/Libraries
120Requires: %{name}-devel = %{version}-%{release}
121
122%description static
123Static gdbm library.
124
125%description static -l pl.UTF-8
126Biblioteka statyczna gdbm.
127
128%description static -l ru.UTF-8
129Это статическая библиотека gdbm, базы данных GNU.
130
131%description static -l uk.UTF-8
132Це статична бібліотека gdbm, бази даних GNU.
133
134%package export
135Summary: gdbmexport utility to export old GDBM 1.8.x databases
136Summary(pl.UTF-8): Narzędzie gdbmexport pozwalające wyeksportować stare bazy GDBM 1.8.x
137Group: Applications/File
138Requires: gdbm18 >= 1.8.3
139
140%description export
141gdbmexport utility to export old GDBM 1.8.x databases in order to load
142them in new GDBM format.
143
144%description export -l pl.UTF-8
145Narzędzie gdbmexport pozwalające wyeksportować stare bazy GDBM 1.8.x w
146celu wczytania do nowego formatu GDBM.
147
148%prep
149%setup -q
150%patch0 -p1
151%patch1 -p1
152
153%build
154%{__libtoolize}
155%{__aclocal}
156%{__autoheader}
157%{__autoconf}
158%{__automake}
159%configure \
160 --enable-libgdbm-compat \
161 --disable-silent-rules \
162%if %{with gdbmexport}
163 --enable-gdbm-export \
164 --with-gdbm183-includedir=%{_includedir}/gdbm-1.8 \
165 --with-gdbm183-library="-lgdbm-1.8"
166%endif
167
168%{__make}
169
170%install
171rm -rf $RPM_BUILD_ROOT
172
173%{__make} install \
174 DESTDIR=$RPM_BUILD_ROOT
175
176%find_lang %{name}
177
178%clean
179rm -rf $RPM_BUILD_ROOT
180
181%post -p /sbin/ldconfig
182%postun -p /sbin/ldconfig
183
184%post devel -p /sbin/postshell
185-/usr/sbin/fix-info-dir -c %{_infodir}
186
187%postun devel -p /sbin/postshell
188-/usr/sbin/fix-info-dir -c %{_infodir}
189
190%files -f %{name}.lang
191%defattr(644,root,root,755)
192%doc AUTHORS ChangeLog NEWS NOTE-WARNING README
193%attr(755,root,root) %{_bindir}/gdbm_dump
194%attr(755,root,root) %{_bindir}/gdbm_load
195%attr(755,root,root) %{_bindir}/gdbmtool
196%attr(755,root,root) %{_libdir}/libgdbm.so.*.*.*
197%attr(755,root,root) %ghost %{_libdir}/libgdbm.so.4
198%attr(755,root,root) %{_libdir}/libgdbm_compat.so.*.*.*
199%attr(755,root,root) %ghost %{_libdir}/libgdbm_compat.so.4
200%{_mandir}/man1/gdbm_dump.1*
201%{_mandir}/man1/gdbm_load.1*
202%{_mandir}/man1/gdbmtool.1*
203
204%files devel
205%defattr(644,root,root,755)
206%attr(755,root,root) %{_libdir}/libgdbm.so
207%attr(755,root,root) %{_libdir}/libgdbm_compat.so
208%{_libdir}/libgdbm.la
209%{_libdir}/libgdbm_compat.la
210%{_includedir}/dbm.h
211%{_includedir}/gdbm.h
212%{_includedir}/ndbm.h
213%{_mandir}/man3/gdbm.3*
214%{_infodir}/gdbm.info*
215
216%files static
217%defattr(644,root,root,755)
218%{_libdir}/libgdbm.a
219%{_libdir}/libgdbm_compat.a
220
221%if %{with gdbmexport}
222%files export
223%defattr(644,root,root,755)
224%attr(755,root,root) %{_bindir}/gdbmexport
225%endif
This page took 0.030625 seconds and 4 git commands to generate.