]> git.pld-linux.org Git - packages/gdbm.git/blob - gdbm.spec
- release 11: rebuild in new ac 2.50 anviroment.
[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):    GNU biblioteka bazy danych la 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 Source0:        ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-info.patch
16 Patch1:         %{name}-DESTDIR.patch
17 Patch2:         %{name}-jbj.patch
18 BuildRequires:  autoconf
19 BuildRequires:  libtool
20 BuildRequires:  texinfo
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 uzyteczna 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 %package devel
53 Summary:        development libraries and header files for gdbm
54 Summary(de):    Entwicklungs-Libraries und Header-Dateien für gdbm 
55 Summary(fr):    Bibliothèques de développement et en-têtes pour gdbm
56 Summary(pl):    Biblioteki i pliki nag³ówkowe dla gdbm
57 Summary(tr):    gdbm için baþlýk dosyalarý ve geliþtirme kitaplýklarý
58 Group:          Development/Libraries
59 Group(de):      Entwicklung/Libraries
60 Group(fr):      Development/Librairies
61 Group(pl):      Programowanie/Biblioteki
62 Requires:       %{name} = %{version}
63
64 %description devel
65 These are the development libraries and header files for gdbm, the GNU
66 database system. These are required if you plan to do development
67 using the gdbm database.
68
69 %description -l de devel
70 Dies sind die Entwicklungs-Libraries und Header-Dateien für gdbm, das
71 GNU-Datenbanksystem. Sie sind darauf angewiesen, wenn Sie vorhaben,
72 die gdbm-Datenbank für Entwicklungsarbeiten zu benutzen.
73
74 %description -l fr devel
75 Ce sont les librairies de développement et les fichiers d'en-tête pour
76 gdbm, le système de base de données GNU. Ceci est nécessaire si vous
77 désirez développer en utilisant la base de données gdbm.
78
79 %description -l pl devel
80 W pakiecie tym znajduj± siê pliki nag³ówkowe i biblioteki dla GNU
81 systemu bazy danych.
82
83 %description -l tr devel
84 GNU veri tabaný sistemi gdbm ile program geliþtirmek için gereken
85 baþlýk dosyalarý ve kitaplýklar.
86
87 %package static
88 Summary:        Static gdbm library
89 Summary(pl):    Biblioteki statyczne gdbm
90 Group:          Development/Libraries
91 Group(de):      Entwicklung/Libraries
92 Group(fr):      Development/Librairies
93 Group(pl):      Programowanie/Biblioteki
94 Requires:       %{name}-devel = %{version}
95
96 %description static
97 Static gdbm library.
98
99 %prep
100 %setup  -q
101 %patch0 -p1
102 %patch1 -p1
103 %patch2 -p1
104
105 %build
106 libtoolize --copy --force
107 aclocal
108 autoheader
109 autoconf
110 %configure
111
112 %{__make} CFLAGS="%{rpmcflags}"
113
114 makeinfo gdbm.texinfo
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} \
119            $RPM_BUILD_ROOT{%{_mandir}/man3,%{_infodir}}
120
121 %{__make} install install-compat \
122         prefix=%{_prefix} \
123         exec_prefix=%{_exec_prefix} \
124         binprefix=%{_exec_prefix} \
125         manprefix=%{_prefix} \
126         libdir=%{_libdir} \
127         includedir=%{_includedir} \
128         infodir=%{_infodir} \
129         man3dir=%{_mandir}/man3 \
130         DESTDIR=$RPM_BUILD_ROOT
131
132 %post   -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
134
135 %post devel
136 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
137
138 %postun devel
139 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
140
141 %clean
142 rm -rf $RPM_BUILD_ROOT
143
144 %files
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/lib*.so.*.*
147
148 %files devel
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/lib*.so
151 %attr(755,root,root) %{_libdir}/lib*.la
152 %{_mandir}/man3/*
153 %{_includedir}/*
154 %{_infodir}/gdbm*
155
156 %files static
157 %defattr(644,root,root,755)
158 %{_libdir}/lib*.a
This page took 0.074314 seconds and 4 git commands to generate.