which/which.spec

57 lines
1.1 KiB
RPMSpec

Name: which
Version: 2.21
Release: 1mamba
Summary: A utility to show the full path of commands
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://savannah.gnu.org/projects/which/
Source: https://ftp.gnu.org/gnu/which/which-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires(post): %{__install_info}
Requires(preun): %{__install_info}
%description
A utility to show the full path of commands.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_infodir}/dir
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info %{name}.info
:
%preun
%uninstall_info %{name}.info
:
%files
%defattr(-,root,root)
%{_bindir}/which
%{_infodir}/which.info*
%{_mandir}/man1/which.1*
%doc AUTHORS COPYING
%changelog
* Thu Dec 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21-1mamba
- package created using the webbuild interface