From: Anas Nashif Date: Tue, 27 Nov 2012 15:11:48 +0000 (-0800) Subject: add packaging X-Git-Tag: submit/trunk/20130325.083910~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed821cbde7eb0b31774f53321b9af45a4d48d769;p=platform%2Fupstream%2Fwhich.git add packaging --- 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}/*