source: projects/specs/branches/6/g/gdbm/gdbm-vl.spec @ 3525

Revision 3525, 9.4 KB checked in by owa, 13 years ago (diff)

rebuilt

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2%{expand: %%global _includedir %{_includedir}/gdbm}
3
4Summary: A GNU set of database routines which use extensible hashing.
5Summary(ja): 拡張可能なハッシングを利用した GNU データベースルーチン
6Name: gdbm
7Version: 1.8.0
8Release: 23%{?_dist_release}
9Source: ftp://ftp.gnu.org/gnu/gdbm-%{version}.tar.gz
10Patch0: gdbm-1.8.0-jbj.patch
11Patch1: gdbm-1.8.0-fhs.patch
12Patch2: gdbm-1.8.0-cflags.patch
13Patch3: gdbm-1.8.0-64offset.patch
14Patch4: gdbm-1.8.0-config.sub.patch
15License: GPL
16Group: System Environment/Libraries
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: libtool
19
20%description
21Gdbm is a GNU database indexing library, including routines which use
22extensible hashing.  Gdbm works in a similar way to standard UNIX dbm
23routines.  Gdbm is useful for developers who write C applications and
24need access to a simple and efficient database or who are building C
25applications which will use such a database.
26
27If you're a C developer and your programs need access to simple
28database routines, you should install gdbm.  You'll also need to
29install gdbm-devel.
30
31%description -l ja
32gdbm は,拡張可能なハッシングを利用したルーチンが含まれた
33GNU データベースインデックスライブラリです.gdbm は標準的な
34UNIX の dbm ルーチンと同様に機能します.C アプリケーションを
35開発する際に簡単で効率的なデータベースへのアクセスが必要になった時,
36この gdbm は非常に便利です.
37
38あなたが C プログラマで,プログラムに簡単なデータベースルーチンへの
39アクセスが必要になった場合,gdbm を是非インストールして下さい.
40その際 gdbm-devel パッケージも同時にインストールする必要があります.
41
42%package -n compat32-%{name}
43Summary: A GNU set of database routines which use extensible hashing.
44Summary(ja): 拡張可能なハッシングを利用した GNU データベースルーチン
45Group: System Environment/Libraries
46Requires: gdbm = %{version}
47
48%description -n compat32-%{name}
49Gdbm is a GNU database indexing library, including routines which use
50extensible hashing.  Gdbm works in a similar way to standard UNIX dbm
51routines.  Gdbm is useful for developers who write C applications and
52need access to a simple and efficient database or who are building C
53applications which will use such a database.
54
55If you're a C developer and your programs need access to simple
56database routines, you should install gdbm.  You'll also need to
57install gdbm-devel.
58
59%description -n compat32-%{name} -l ja
60gdbm は,拡張可能なハッシングを利用したルーチンが含まれた
61GNU データベースインデックスライブラリです.gdbm は標準的な
62UNIX の dbm ルーチンと同様に機能します.C アプリケーションを
63開発する際に簡単で効率的なデータベースへのアクセスが必要になった時,
64この gdbm は非常に便利です.
65
66あなたが C プログラマで,プログラムに簡単なデータベースルーチンへの
67アクセスが必要になった場合,gdbm を是非インストールして下さい.
68その際 gdbm-devel パッケージも同時にインストールする必要があります.
69
70%package devel
71Summary: Development libraries and header files for the gdbm library.
72Summary(ja): gdbm ライブラリ用の開発ライブラリとヘッダファイル
73Group: Development/Libraries
74Requires: gdbm = %{version}
75Prereq: /sbin/install-info
76
77%description devel
78Gdbm-devel contains the development libraries and header files for
79gdbm, the GNU database system.  These libraries and header files are
80necessary if you plan to do development using the gdbm database.
81
82Install gdbm-devel if you are developing C programs which will use the
83gdbm database library.  You'll also need to install the gdbm package.
84
85%description devel -l ja
86gdbm-devel パッケージには,GNU データベースシステムである gdbm 用の
87開発ライブラリとヘッダファイルが納められています.これらのライブラリと
88ヘッダファイルは,gdbm データベースを使ったプログラムを開発する際に
89必要となるものです.
90
91gdbm データベースライブラリを使う C プログラムを開発する場合は
92この gdbm-devel パッケージをインストールして下さい.同時に
93gdbm パッケージもインストールする必要があります.
94
95%package -n compat32-%{name}-devel
96Summary: Development libraries and header files for the gdbm library.
97Summary(ja): gdbm ライブラリ用の開発ライブラリとヘッダファイル
98Group: Development/Libraries
99Requires: gdbm = %{version}
100Requires: gdbm-devel = %{version}
101
102%description -n compat32-%{name}-devel
103Gdbm-devel contains the development libraries and header files for
104gdbm, the GNU database system.  These libraries and header files are
105necessary if you plan to do development using the gdbm database.
106
107Install gdbm-devel if you are developing C programs which will use the
108gdbm database library.  You'll also need to install the gdbm package.
109
110%description -n compat32-%{name}-devel -l ja
111gdbm-devel パッケージには,GNU データベースシステムである gdbm 用の
112開発ライブラリとヘッダファイルが納められています.これらのライブラリと
113ヘッダファイルは,gdbm データベースを使ったプログラムを開発する際に
114必要となるものです.
115
116gdbm データベースライブラリを使う C プログラムを開発する場合は
117この gdbm-devel パッケージをインストールして下さい.同時に
118gdbm パッケージもインストールする必要があります.
119
120%prep
121%setup -q
122%patch0 -p 1 -b .jbj
123%patch1 -p 1 -b .fhs
124%patch2 -p 1 -b .cflags
125%patch3 -p1 -b .offset
126%patch4 -p0 -b .config.sub
127
128%build
129libtoolize --force --copy
130aclocal
131autoheader
132autoconf
133%configure
134# We need to override libdir, which for whatever reason is set to $(prefix)/lib
135# instead of the value passed to configure above.
136make libdir=%{_libdir}
137
138%install
139rm -rf ${RPM_BUILD_ROOT}
140
141%makeinstall install-compat
142
143{ cd ${RPM_BUILD_ROOT}
144  ln -sf gdbm/gdbm.h .%{_oldincludedir}/gdbm.h
145  ln -sf libgdbm.so.2.0.0 .%{_libdir}/libgdbm.so
146  gzip -9nf .%{_infodir}/gdbm*
147  rm -f .%{_infodir}/dir
148}
149
150%post -p /sbin/ldconfig
151
152%postun -p /sbin/ldconfig
153
154%post -n compat32-%{name} -p /sbin/ldconfig
155
156%postun -n compat32-%{name} -p /sbin/ldconfig
157
158%post devel
159/sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm).                   The GNU Database."
160
161%preun devel
162if [ $1 = 0 ]; then
163   /sbin/install-info --delete %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm).                   The GNU Database."
164fi
165
166%files
167%defattr(-,root,root)
168%doc COPYING NEWS README
169%{_libdir}/libgdbm.so.*
170
171%files devel
172%defattr(-,root,root)
173%{_libdir}/libgdbm.so
174%{_libdir}/libgdbm.la
175%{_libdir}/libgdbm.a
176%{_oldincludedir}/gdbm.h
177%{_includedir}
178%{_infodir}/*.info*
179%{_mandir}/man3/*
180
181%if %{build_compat32}
182%files -n compat32-%{name}
183%defattr(-,root,root)
184%{_libdir}/libgdbm.so.*
185
186%files -n compat32-%{name}-devel
187%defattr(-,root,root)
188%{_libdir}/libgdbm.so
189%{_libdir}/libgdbm.la
190%{_libdir}/libgdbm.a
191%endif
192
193%clean
194rm -rf ${RPM_BUILD_ROOT}
195
196%changelog
197* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.8.0-23
198- rebuilt with rpm-4.8.1-3
199
200* Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.0-22
201- added patch4: gdbm-1.8.0-config.sub.patch (for x86_64)
202
203* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.0-21
204- rebuilt with new toolchain
205- fix Patch1
206
207* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.0-20vl5
208- applied new versioning policy, spec in utf-8
209
210* Thu Feb 9 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.8.0-20vl3
211- added compat32-* packages for x86_64 architecture support
212
213* Wed Jan 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-20vl2
214- added BuildRequires: libtool
215
216* Sun Apr 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-20vl1
217- rebuild with new toolchain
218- based on Rawhide 1.8.0-20
219
220* Sat Jul 14 2001 <sagami@vinelinux.org>
221- 1.8.0-10vl1
222- follow up with 1.8.0-10 which has a fix to build against new libtool
223
224* Sun Feb 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
225- 1.8.0-5vl1
226- based on 1.8.0-5 from Rawhide
227- added Japanese summary and description
228
229* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
230- automatic rebuild
231
232* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
233- FHS packaging.
234
235* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
236- handle compressed manpages
237
238* Tue Aug 10 1999 Jeff Johnson <jbj@redhat.com>
239- make sure created database header is initialized (#4457).
240
241* Tue Jun  1 1999 Jeff Johnson <jbj@redhat.com>
242- update to 1.8.0.
243- repackage to include /usr/include/gdbm/*dbm.h compatibility includes.
244
245* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
246- auto rebuild in the new build environment (release 19)
247
248* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
249- build against glibc 2.1
250
251* Thu May 07 1998 Prospector System <bugs@redhat.com>
252- translations modified for de, fr, tr
253
254* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
255- gdbm-devel moved to Development/Libraries
256
257* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
258- buildroot and built for Manhattan
259
260* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
261- spec file cleanups
262
263* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
264- built against glibc
Note: See TracBrowser for help on using the repository browser.