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.
 
 
 
 

48 lines
1.9 KiB

  1. #TARBALL: https://sourceforge.net/projects/psmisc/files/psmisc/psmisc-23.2.tar.xz
  2. #MD5SUM: 0524258861f00be1a02d27d39d8e5e62;SOURCES/psmisc-23.2.tar.xz
  3. #-----------------------------------------------------------------------------
  4. Summary: The Psmisc package contains programs for displaying information about running processes.
  5. Name: psmisc
  6. Version: 23.2
  7. Release: 2
  8. License: GPLv2
  9. URL: Any
  10. Group: LFS/Base
  11. Source0: https://sourceforge.net/projects/psmisc/files/%{name}/%{name}-%{version}.tar.xz
  12. Requires: filesystem
  13. %description
  14. The Psmisc package contains programs for displaying information about running processes.
  15. #-----------------------------------------------------------------------------
  16. %prep
  17. %setup -q -n %{NAME}-%{VERSION}
  18. %build
  19. ./configure \
  20. --prefix=%{_prefix}
  21. make %{?_smp_mflags}
  22. %install
  23. make DESTDIR=%{buildroot} install
  24. install -vdm 755 %{buildroot}/bin
  25. mv -v %{buildroot}%{_bindir}/fuser %{buildroot}/bin
  26. mv -v %{buildroot}%{_bindir}/killall %{buildroot}/bin
  27. #-----------------------------------------------------------------------------
  28. # Copy license/copying file
  29. install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
  30. #-----------------------------------------------------------------------------
  31. # Create file list
  32. find %{buildroot} -name '*.la' -delete
  33. find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
  34. sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
  35. sed -i '/man\/man/d' filelist.list
  36. sed -i '/\/usr\/share\/info/d' filelist.list
  37. #-----------------------------------------------------------------------------
  38. %files -f filelist.list
  39. %defattr(-,root,root)
  40. %{_mandir}/man1/*
  41. #-----------------------------------------------------------------------------
  42. %changelog
  43. * Sun May 31 2020 Chris Cromer <chris@cromer.cl> 23.2-2
  44. * Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 23.2-1
  45. - Update for LFS-8.4
  46. * Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 23.1-1
  47. - Initial build. First version