2024-01-06 04:20:40 +01:00
|
|
|
Name: libgdbm
|
2024-01-06 04:20:42 +01:00
|
|
|
Version: 1.23
|
2024-01-06 04:20:41 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:20:40 +01:00
|
|
|
Summary: A set of database routines that use extensible hashing
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:20:42 +01:00
|
|
|
URL: https://www.gnu.org.ua/software/gdbm/
|
2024-01-06 04:20:40 +01:00
|
|
|
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
|
|
|
|
Patch: %{name}-1.8.3-Makefile.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:20:41 +01:00
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libreadline-devel
|
2024-01-06 04:20:40 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 04:20:41 +01:00
|
|
|
Requires(post):%{__install_info}
|
2024-01-06 04:20:40 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
%package -n libgdbm_compat
|
|
|
|
Summary: Legacy libgdbm compatibility library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgdbm_compat
|
|
|
|
GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
|
|
|
|
This package contains the legacy libgdbm compatibily library.
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Devel package for libgdbm
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:20:41 +01:00
|
|
|
Requires: libgdbm_compat = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:20:40 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Databases
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n gdbm-%{version}
|
|
|
|
#%patch -p1
|
|
|
|
# Fix permissions
|
|
|
|
chmod 644 ChangeLog COPYING NEWS README
|
2024-01-06 04:20:41 +01:00
|
|
|
# Fix with gcc 10
|
2024-01-06 04:20:42 +01:00
|
|
|
#sed -r -i '/^char.*parseopt_program_(doc|args)/d' src/parseopt.c
|
2024-01-06 04:20:40 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:20:41 +01:00
|
|
|
%configure \
|
|
|
|
--enable-libgdbm-compat
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
%find_lang gdbm
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
%install_info gdbm.info
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
%uninstall_info gdbm.info
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f gdbm.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgdbm.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
%files -n libgdbm_compat
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgdbm_compat.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/gdbm.h
|
2024-01-06 04:20:41 +01:00
|
|
|
%{_includedir}/dbm.h
|
|
|
|
%{_includedir}/ndbm.h
|
2024-01-06 04:20:40 +01:00
|
|
|
%{_libdir}/libgdbm.a
|
|
|
|
%{_libdir}/libgdbm.la
|
|
|
|
%{_libdir}/libgdbm.so
|
2024-01-06 04:20:41 +01:00
|
|
|
%{_libdir}/libgdbm_compat.a
|
|
|
|
%{_libdir}/libgdbm_compat.la
|
|
|
|
%{_libdir}/libgdbm_compat.so
|
2024-01-06 04:20:40 +01:00
|
|
|
%{_infodir}/gdbm.*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gdbm_dump
|
|
|
|
%{_bindir}/gdbm_load
|
|
|
|
%{_bindir}/gdbmtool
|
|
|
|
%{_mandir}/man1/gdbm_dump.1*
|
|
|
|
%{_mandir}/man1/gdbm_load.1*
|
|
|
|
%{_mandir}/man1/gdbmtool.1*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:20:42 +01:00
|
|
|
* Sun Jul 10 2022 Automatic Build System <autodist@mambasoft.it> 1.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
* Tue Jan 05 2021 Automatic Build System <autodist@mambasoft.it> 1.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
* Tue Dec 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-3mamba
|
|
|
|
- rebuilt with --enable-libgdbm-compat
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
* Wed Nov 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-2mamba
|
|
|
|
- gcc 10 fix
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
* Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:41 +01:00
|
|
|
* Thu Sep 20 2018 Automatic Build System <autodist@mambasoft.it> 1.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
* Mon Aug 13 2018 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 05 2018 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 24 2018 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
* Tue Apr 04 2017 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
* Wed Jun 22 2016 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:40 +01:00
|
|
|
* Sun Dec 29 2013 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 15 2012 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 25 2008 Aleph0 <aleph0@openmamba.org> 1.8.3-5mamba
|
|
|
|
- fix permissions of documentation files
|
|
|
|
|
|
|
|
* Tue Jul 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-4mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Wed Nov 16 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.8.3-3qilnx
|
|
|
|
- install/uninstall info pages
|
|
|
|
- man and info pages moved to the devel package
|
|
|
|
|
|
|
|
* Wed Mar 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.8.3-2qilnx
|
|
|
|
- specfile updates and fixes
|
|
|
|
- patched Makefile to permit package creation by non-root packagers
|
|
|
|
- added `make install-compat'
|
|
|
|
|
|
|
|
* Wed Nov 05 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-1qilnx
|
|
|
|
- first build
|