source: projects/specs/trunk/g/gdbm1_8/gdbm1_8-vl.spec @ 12085

Revision 12085, 5.3 KB checked in by tomop, 5 years ago (diff)

gdbm1_8-1.8.0-25

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: gdbm1_8
7Version: 1.8.0
8Release: 25%{?_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
19Obsoletes: gdbm < 1.9.0
20Obsoletes: gdbm-devel < 1.9.0
21Provides: gdbm = %{version}-%{release}
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27Gdbm is a GNU database indexing library, including routines which use
28extensible hashing.  Gdbm works in a similar way to standard UNIX dbm
29routines.  Gdbm is useful for developers who write C applications and
30need access to a simple and efficient database or who are building C
31applications which will use such a database.
32
33If you're a C developer and your programs need access to simple
34database routines, you should install gdbm.  You'll also need to
35install gdbm-devel.
36
37%description -l ja
38gdbm は,拡張可能なハッシングを利用したルーチンが含まれた
39GNU データベースインデックスライブラリです.gdbm は標準的な
40UNIX の dbm ルーチンと同様に機能します.C アプリケーションを
41開発する際に簡単で効率的なデータベースへのアクセスが必要になった時,
42この gdbm は非常に便利です.
43
44あなたが C プログラマで,プログラムに簡単なデータベースルーチンへの
45アクセスが必要になった場合,gdbm を是非インストールして下さい.
46その際 gdbm-devel パッケージも同時にインストールする必要があります.
47
48%prep
49%setup -q -n gdbm-1.8.0
50%patch0 -p 1 -b .jbj
51%patch1 -p 1 -b .fhs
52%patch2 -p 1 -b .cflags
53%patch3 -p1 -b .offset
54%patch4 -p0 -b .config.sub
55
56%build
57libtoolize --force --copy
58aclocal
59autoheader
60autoconf
61%configure
62# We need to override libdir, which for whatever reason is set to $(prefix)/lib
63# instead of the value passed to configure above.
64make libdir=%{_libdir}
65
66%install
67rm -rf ${RPM_BUILD_ROOT}
68
69%makeinstall install-compat
70
71{ cd ${RPM_BUILD_ROOT}
72  ln -sf gdbm/gdbm.h .%{_oldincludedir}/gdbm.h
73  ln -sf libgdbm.so.2.0.0 .%{_libdir}/libgdbm.so
74  gzip -9nf .%{_infodir}/gdbm*
75  rm -f .%{_infodir}/dir
76}
77
78rm -f %{buildroot}%{_libdir}/libgdbm.so
79rm -f %{buildroot}%{_libdir}/libgdbm.la
80rm -f %{buildroot}%{_libdir}/libgdbm.a
81rm -f %{buildroot}%{_oldincludedir}/gdbm.h
82rm -rf %{buildroot}%{_includedir}/*
83rm -f %{buildroot}%{_infodir}/*.info*
84rm -f %{buildroot}%{_mandir}/man3/*
85
86%post -p /sbin/ldconfig
87
88%postun -p /sbin/ldconfig
89
90%files
91%defattr(-,root,root)
92%doc COPYING NEWS README
93%{_libdir}/libgdbm.so.*
94
95%clean
96rm -rf ${RPM_BUILD_ROOT}
97
98%changelog
99* Sun May 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.0-25
100- renamed to "gdbm1_8" for compatibility.
101
102* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-24
103- rebuild with VineSeed environment
104
105* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.8.0-23
106- rebuilt with rpm-4.8.1-3
107
108* Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.0-22
109- added patch4: gdbm-1.8.0-config.sub.patch (for x86_64)
110
111* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.0-21
112- rebuilt with new toolchain
113- fix Patch1
114
115* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.0-20vl5
116- applied new versioning policy, spec in utf-8
117
118* Thu Feb 9 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 1.8.0-20vl3
119- added compat32-* packages for x86_64 architecture support
120
121* Wed Jan 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-20vl2
122- added BuildRequires: libtool
123
124* Mon Apr 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-20vl1
125- rebuild with new toolchain
126- based on Rawhide 1.8.0-20
127
128* Sat Jul 14 2001 <sagami@vinelinux.org>
129- 1.8.0-10vl1
130- follow up with 1.8.0-10 which has a fix to build against new libtool
131
132* Sun Feb 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
133- 1.8.0-5vl1
134- based on 1.8.0-5 from Rawhide
135- added Japanese summary and description
136
137* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
138- automatic rebuild
139
140* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
141- FHS packaging.
142
143* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
144- handle compressed manpages
145
146* Tue Aug 10 1999 Jeff Johnson <jbj@redhat.com>
147- make sure created database header is initialized (#4457).
148
149* Tue Jun  1 1999 Jeff Johnson <jbj@redhat.com>
150- update to 1.8.0.
151- repackage to include /usr/include/gdbm/*dbm.h compatibility includes.
152
153* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
154- auto rebuild in the new build environment (release 19)
155
156* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
157- build against glibc 2.1
158
159* Thu May 07 1998 Prospector System <bugs@redhat.com>
160- translations modified for de, fr, tr
161
162* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
163- gdbm-devel moved to Development/Libraries
164
165* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
166- buildroot and built for Manhattan
167
168* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
169- spec file cleanups
170
171* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
172- built against glibc
Note: See TracBrowser for help on using the repository browser.