diff options
Diffstat (limited to 'packaging/which.spec')
-rw-r--r-- | packaging/which.spec | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packaging/which.spec b/packaging/which.spec new file mode 100644 index 0000000..d41a64e --- /dev/null +++ b/packaging/which.spec @@ -0,0 +1,34 @@ +Name: which +Version: 2.17 +Release: 0 +License: GPL-2.0 +Summary: Displays where a particular program in your path is located +Url: http://savannah.gnu.org/projects/which +Group: Applications/System +Source0: http://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.gz +Source1001: which.manifest +BuildRequires: readline-devel + +%description +The which command shows the full pathname of a specified program, if +the specified program is in your PATH. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +%configure + +make %{?_smp_mflags} + +%install +%make_install + +%docs_package + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%license COPYING +%{_bindir}/* |