package created using the webbuild interface [release 2.21-1mamba;Thu Dec 14 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:15:11 +01:00
parent 13a09142d1
commit f4f3c0abb5
2 changed files with 58 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# which
A utility to show the full path of commands.

56
which.spec Normal file
View File

@ -0,0 +1,56 @@
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