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