From ed821cbde7eb0b31774f53321b9af45a4d48d769 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 27 Nov 2012 07:11:48 -0800 Subject: [PATCH] add packaging --- packaging/which.spec | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 packaging/which.spec diff --git a/packaging/which.spec b/packaging/which.spec new file mode 100644 index 0000000..cb1991a --- /dev/null +++ b/packaging/which.spec @@ -0,0 +1,31 @@ +Summary: Displays where a particular program in your path is located +Name: which +Version: 2.20 +Release: 4 +License: GPLv3 +Group: Applications/System +Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.gz +Url: http://www.xs4all.nl/~carlo17/which/ +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 + +%build +%configure + +make %{?_smp_mflags} + +%install +%make_install + +%docs_package + +%files +%defattr(-,root,root) +%license COPYING +%{_bindir}/* -- 2.34.1