SPECS/gdbm/gdbm.spec
cdd26197
 Summary:        The GNU Database Manager
 Name:           gdbm
7a8c9cec
 Version:        1.23
932e3ca8
 Release:        2%{?dist}
cdd26197
 License:        GPLv3+
 URL:            http://www.gnu.org/software/gdbm
 Group:          Applications/Databases
 Vendor:         VMware, Inc.
 Distribution:   Photon
932e3ca8
 
 Source0: http://ftp.gnu.org/gnu/gdbm/%{name}-%{version}.tar.gz
 %define sha512 %{name}=918080cb0225b221c11eb7339634a95e00c526072395f7a3d46ccf42ef020dea7c4c5bec34aff2c4f16033e1fff6583252b7e978f68b8d7f8736b0e025838e10
ec6e48bc
 
f4d17450
 %description
 This is a disk file format database which stores key/data-pairs in
 single files. The actual data of any record being stored is indexed
 by a unique key, which can be retrieved in less time than if it was
 stored in a text file.
ec6e48bc
 
40184939
 %package lang
cdd26197
 Summary:        Additional language files for gdbm
 Group:          Applications/Databases
 Requires:       %{name} = %{version}-%{release}
40184939
 %description lang
 These are the additional language files of gdbm
 
cdd26197
 %package        devel
 Summary:        Header and development files for gdbm
 Requires:       %{name} = %{version}-%{release}
 %description    devel
 It contains the libraries and header files to create applications.
 
f4d17450
 %prep
55cbc1cb
 %autosetup -p1
ec6e48bc
 
f4d17450
 %build
2b41bfb6
 %configure \
cdd26197
     --enable-libgdbm-compat \
     --disable-silent-rules
932e3ca8
 
 %make_build
ec6e48bc
 
f4d17450
 %install
55cbc1cb
 %make_install %{?_smp_mflags}
 
f4d17450
 find %{buildroot}%{_libdir} -name '*.la' -delete
 rm -rf %{buildroot}%{_infodir}
 %find_lang %{name}
78547c01
 
f4d17450
 %check
78547c01
 make %{?_smp_mflags} check
 
55cbc1cb
 %ldconfig_scriptlets
ec6e48bc
 
40184939
 %files
f4d17450
 %defattr(-,root,root)
 %{_bindir}/*
 %{_libdir}/*.so.*
cdd26197
 %{_mandir}/man1/*
ec6e48bc
 
40184939
 %files lang -f %{name}.lang
 %defattr(-,root,root)
 
cdd26197
 %files devel
 %defattr(-,root,root)
 %{_libdir}/*.so
 %{_libdir}/*.a
 %{_includedir}/*
 %{_mandir}/man3/*
 
f4d17450
 %changelog
932e3ca8
 * Wed Dec 21 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.23-2
 - Bump version as a part of readline upgrade
7a8c9cec
 * Tue Aug 30 2022 Susant Sahani <ssahani@vmware.com> 1.23-1
 - Version Bump
55cbc1cb
 * Thu Dec 02 2021 Susant Sahani <ssahani@vmware.com> 1.22-1
 - Version Bump
 * Thu Feb 11 2021 Tapas Kundu <tkundu@vmware.com> 1.19-1
 - Update to 1.19
 * Tue Jan 12 2021 Alexey Makhalov <amakhalov@vmware.com> 1.18.1-2
 - GCC-10 support
 * Mon Aug 24 2020 Keerthana K <keerthanak@vmware.com> 1.18.1-1
 - Update to version 1.18.1
 * Fri Nov 09 2018 Alexey Makhalov <amakhalov@vmware.com> 1.18-2
 - Cross compilation support
 * Fri Sep 14 2018 Keerthana K <keerthanak@vmware.com> 1.18-1
 - Update to version 1.18
 * Fri Jun 23 2017 Xiaolin Li <xiaolinl@vmware.com> 1.13-3
 - Add devel package.
 * Tue May 02 2017 Anish Swaminathan <anishs@vmware.com> 1.13-2
 - Add lang package.
 * Wed Apr 05 2017 Danut Moraru <dmoraru@vmware.com> 1.13-1
 - Upgrade gdbm to 1.13
 * Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.11-2
 - GA - Bump release of all rpms
 * Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.11-1
 - Initial build. First version