--- /dev/null
+Name: which
+Version: 2.21
+Release: 0
+Summary: Displays where a particular program in your path is located
+License: GPLv3.0+
+Url: https://carlowood.github.io/which/
+Source0: https://mirrors.ustc.edu.cn/gnu/%{name}/%{name}-%{version}.tar.gz
+Source1: https://mirrors.ustc.edu.cn/gnu/%{name}/%{name}-%{version}.tar.gz.sig
+
+%description
+The which command shows the full pathname of a specified program, if
+the specified program is in your PATH.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
+
+%files
+%defattr(-,root,root)
+%{_bindir}/which
+%license COPYING
+%doc EXAMPLES README README.alias AUTHORS NEWS
+%{_infodir}/which.info*
+%{_mandir}/man1/which.1*
+
+%changelog