which/which.spec

59 lines
1.2 KiB
RPMSpec
Raw Normal View History

Name: which
Version: 2.22
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.
%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
* Sun Jan 26 2025 Automatic Build System <autodist@openmamba.org> 2.22-1mamba
- automatic version update by autodist
* Thu Dec 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.21-1mamba
- package created using the webbuild interface