This repo contains software to build linux from scratch and package it into rpm files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

53 lines
2.0 KiB

  1. #TARBALL: http://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz
  2. #MD5SUM: 988dc82182121c7570e0cb8b4fcd5415;SOURCES/gdbm-1.18.1.tar.gz
  3. #-----------------------------------------------------------------------------
  4. Summary: The GDBM package contains the GNU Database Manager
  5. Name: gdbm
  6. Version: 1.18.1
  7. Release: 2
  8. License: GPLv3
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: http://ftp.gnu.org/gnu/gdbm/%{name}-%{version}.tar.gz
  12. Requires: filesystem
  13. %description
  14. The GDBM package contains the GNU Database Manager. It is a library of database
  15. functions that use extensible hashing and work similar to the standard UNIX dbm.
  16. The library provides primitives for storing key/data pairs, searching and
  17. retrieving the data by its key and deleting a key along with its data.
  18. #-----------------------------------------------------------------------------
  19. %prep
  20. %setup -q -n %{NAME}-%{VERSION}
  21. %build
  22. ./configure \
  23. --prefix=%{_prefix} \
  24. --disable-static \
  25. --enable-libgdbm-compat
  26. make %{?_smp_mflags}
  27. %install
  28. make DESTDIR=%{buildroot} install
  29. #-----------------------------------------------------------------------------
  30. # Copy license/copying file
  31. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  32. #-----------------------------------------------------------------------------
  33. # Create file list
  34. rm %{buildroot}%{_infodir}/dir
  35. find %{buildroot} -name '*.la' -delete
  36. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  37. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  38. sed -i '/man\/man/d' filelist.list
  39. sed -i '/\/usr\/share\/info/d' filelist.list
  40. #-----------------------------------------------------------------------------
  41. %files -f filelist.list
  42. %defattr(-,root,root)
  43. %{_infodir}/*
  44. %{_mandir}/man1/*
  45. %{_mandir}/man3/*
  46. #-----------------------------------------------------------------------------
  47. %changelog
  48. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.18.1-2
  49. * Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 1.18.1-1
  50. - Update for LFS-8.4
  51. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.14.1-1
  52. - Initial build. First version