add packaging
authorAnas Nashif <anas.nashif@intel.com>
Tue, 27 Nov 2012 15:11:48 +0000 (07:11 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Tue, 27 Nov 2012 15:11:48 +0000 (07:11 -0800)
packaging/which.spec [new file with mode: 0644]

diff --git a/packaging/which.spec b/packaging/which.spec
new file mode 100644 (file)
index 0000000..cb1991a
--- /dev/null
@@ -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}/*