source: projects/specs/trunk/g/gdbm/gdbm-vl.spec @ 12546

Revision 12546, 10.2 KB checked in by tomop, 3 years ago (diff)

updated 28 packages

autoconf-2.71-1

automake-1.16.3-1

bison-3.7.5-1

e2fsprogs-1.46.1-1

findutils-4.8.0-1

galera-26.4.7-1

gawk-5.1.0-1

gdbm-1.19-1

gjs-1.66.2-1

gnome-initial-setup-3.36.4-2

grep-3.6-1

help2man-1.48.1-1

ipvsadm-1.31-1

less-563-1

libidn-1.36-1

make-4.3-1

mariadb-10.5.9-1

mozjs78-78.7.0-1

mpfr-4.1.0-1

nettle-3.7.1-1

parted-3.4-1

pcre2-10.36-1

polkit-0.118-1

strongswan-5.9.1-1

tar-1.34-1

trousers-0.3.15-1

wget-1.21-1

wireshark-3.4.3-1

Line 
1%bcond_with largefile
2
3%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
4
5Summary: A GNU set of database routines which use extensible hashing.
6Summary(ja): 拡張可能なハッシングを利用した GNU データベースルーチン
7Name: gdbm
8Version: 1.19
9Release: 1%{?_dist_release}
10Group: system
11Vendor: Project Vine
12Distribution: Vine Linux
13
14Source: https://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
15License: GPL
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: libtool gettext readline-devel
18
19%description
20Gdbm is a GNU database indexing library, including routines which use
21extensible hashing.  Gdbm works in a similar way to standard UNIX dbm
22routines.  Gdbm is useful for developers who write C applications and
23need access to a simple and efficient database or who are building C
24applications which will use such a database.
25
26If you're a C developer and your programs need access to simple
27database routines, you should install gdbm.  You'll also need to
28install gdbm-devel.
29
30%description -l ja
31gdbm は,拡張可能なハッシングを利用したルーチンが含まれた
32GNU データベースインデックスライブラリです.gdbm は標準的な
33UNIX の dbm ルーチンと同様に機能します.C アプリケーションを
34開発する際に簡単で効率的なデータベースへのアクセスが必要になった時,
35この gdbm は非常に便利です.
36
37あなたが C プログラマで,プログラムに簡単なデータベースルーチンへの
38アクセスが必要になった場合,gdbm を是非インストールして下さい.
39その際 gdbm-devel パッケージも同時にインストールする必要があります.
40
41
42%package -n compat32-%{name}
43Summary: A GNU set of database routines which use extensible hashing.
44Summary(ja): 拡張可能なハッシングを利用した GNU データベースルーチン
45Group: system,legacy
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
71%package devel
72Summary: Development libraries and header files for the gdbm library.
73Summary(ja): gdbm ライブラリ用の開発ライブラリとヘッダファイル
74Group: programming
75Requires: gdbm = %{version}
76Requires(pre): /sbin/install-info
77
78%description devel
79Gdbm-devel contains the development libraries and header files for
80gdbm, the GNU database system.  These libraries and header files are
81necessary if you plan to do development using the gdbm database.
82
83Install gdbm-devel if you are developing C programs which will use the
84gdbm database library.  You'll also need to install the gdbm package.
85
86%description devel -l ja
87gdbm-devel パッケージには,GNU データベースシステムである gdbm 用の
88開発ライブラリとヘッダファイルが納められています.これらのライブラリと
89ヘッダファイルは,gdbm データベースを使ったプログラムを開発する際に
90必要となるものです.
91
92gdbm データベースライブラリを使う C プログラムを開発する場合は
93この gdbm-devel パッケージをインストールして下さい.同時に
94gdbm パッケージもインストールする必要があります.
95
96
97%package -n compat32-%{name}-devel
98Summary: Development libraries and header files for the gdbm library.
99Summary(ja): gdbm ライブラリ用の開発ライブラリとヘッダファイル
100Group: programming,legacy
101Requires: gdbm = %{version}
102Requires: gdbm-devel = %{version}
103
104%description -n compat32-%{name}-devel
105Gdbm-devel contains the development libraries and header files for
106gdbm, the GNU database system.  These libraries and header files are
107necessary if you plan to do development using the gdbm database.
108
109Install gdbm-devel if you are developing C programs which will use the
110gdbm database library.  You'll also need to install the gdbm package.
111
112%description -n compat32-%{name}-devel -l ja
113gdbm-devel パッケージには,GNU データベースシステムである gdbm 用の
114開発ライブラリとヘッダファイルが納められています.これらのライブラリと
115ヘッダファイルは,gdbm データベースを使ったプログラムを開発する際に
116必要となるものです.
117
118gdbm データベースライブラリを使う C プログラムを開発する場合は
119この gdbm-devel パッケージをインストールして下さい.同時に
120gdbm パッケージもインストールする必要があります.
121
122
123%debug_package
124
125
126%prep
127%setup -q
128
129
130%build
131%configure \
132    --disable-static \
133%{!?with_largefile: --disable-largefile} \
134    --disable-rpath \
135    --enable-libgdbm-compat
136
137# get rid of rpath (as per https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath)
138# currently --disable-rpath doesn't work for gdbm_dump|load, gdbmtool and libgdbm_compat.so.4
139# https://puszcza.gnu.org.ua/bugs/index.php?359
140sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
141sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
142
143make %{?_smp_mflags}
144
145
146%install
147rm -rf %{buildroot}
148
149make DESTDIR=%{buildroot} install
150
151%find_lang %{name}
152
153# create symlinks for compatibility
154mkdir -p %{buildroot}/%{_includedir}/gdbm
155ln -sf ../gdbm.h %{buildroot}/%{_includedir}/gdbm/gdbm.h
156ln -sf ../ndbm.h %{buildroot}/%{_includedir}/gdbm/ndbm.h
157ln -sf ../dbm.h %{buildroot}/%{_includedir}/gdbm/dbm.h
158
159# Remove libtool archives
160find %{buildroot} -type f -name "*.la" -delete
161
162rm -f %{buildroot}/%{_infodir}/dir
163
164
165%check
166export LD_LIBRARY_PATH=`pwd`/src/.libs/:`pwd`/compat/.libs/
167make check
168
169
170%post -p /sbin/ldconfig
171%postun -p /sbin/ldconfig
172
173%post -n compat32-%{name} -p /sbin/ldconfig
174%postun -n compat32-%{name} -p /sbin/ldconfig
175
176%post devel
177/sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm).                   The GNU Database."
178
179%preun devel
180if [ $1 = 0 ]; then
181   /sbin/install-info --delete %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm).                   The GNU Database."
182fi
183
184
185%files -f %{name}.lang
186%license COPYING
187%doc NEWS README THANKS AUTHORS NOTE-WARNING
188%{_bindir}/gdbm*
189%{_mandir}/man1/gdbm*
190%{_libdir}/libgdbm.so.*
191%{_libdir}/libgdbm_compat.so.4*
192
193%files devel
194%defattr(-,root,root)
195%{_libdir}/libgdbm.so
196%{_libdir}/libgdbm_compat.so
197%{_includedir}/*
198%{_infodir}/*.info*
199%{_mandir}/man3/*
200
201%if %{build_compat32}
202%files -n compat32-%{name}
203%defattr(-,root,root)
204%{_libdir}/libgdbm.so.*
205%{_libdir}/libgdbm_compat.so.4*
206
207%files -n compat32-%{name}-devel
208%defattr(-,root,root)
209%{_libdir}/libgdbm.so
210%{_libdir}/libgdbm_compat.so
211%endif
212
213%clean
214rm -rf ${RPM_BUILD_ROOT}
215
216%changelog
217* Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.19-1
218- new upstream release.
219
220* Sat Aug 31 2019 Toshiaki Ara <ara_t@384.jp> 1.18.1-2
221- rebuild with readline-8.0 and ncurses-6.1
222
223* Sun May 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.1-1
224- new upstream release.
225- dropped all patches.
226
227* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-24
228- rebuild with VineSeed environment
229
230* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.8.0-23
231- rebuilt with rpm-4.8.1-3
232
233* Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.0-22
234- added patch4: gdbm-1.8.0-config.sub.patch (for x86_64)
235
236* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.0-21
237- rebuilt with new toolchain
238- fix Patch1
239
240* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.0-20vl5
241- applied new versioning policy, spec in utf-8
242
243* Thu Feb 9 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.8.0-20vl3
244- added compat32-* packages for x86_64 architecture support
245
246* Wed Jan 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-20vl2
247- added BuildRequires: libtool
248
249* Mon Apr 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-20vl1
250- rebuild with new toolchain
251- based on Rawhide 1.8.0-20
252
253* Sat Jul 14 2001 <sagami@vinelinux.org>
254- 1.8.0-10vl1
255- follow up with 1.8.0-10 which has a fix to build against new libtool
256
257* Sun Feb 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
258- 1.8.0-5vl1
259- based on 1.8.0-5 from Rawhide
260- added Japanese summary and description
261
262* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
263- automatic rebuild
264
265* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
266- FHS packaging.
267
268* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
269- handle compressed manpages
270
271* Tue Aug 10 1999 Jeff Johnson <jbj@redhat.com>
272- make sure created database header is initialized (#4457).
273
274* Tue Jun  1 1999 Jeff Johnson <jbj@redhat.com>
275- update to 1.8.0.
276- repackage to include /usr/include/gdbm/*dbm.h compatibility includes.
277
278* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
279- auto rebuild in the new build environment (release 19)
280
281* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
282- build against glibc 2.1
283
284* Thu May 07 1998 Prospector System <bugs@redhat.com>
285- translations modified for de, fr, tr
286
287* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
288- gdbm-devel moved to Development/Libraries
289
290* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
291- buildroot and built for Manhattan
292
293* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
294- spec file cleanups
295
296* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
297- built against glibc
Note: See TracBrowser for help on using the repository browser.