summaryrefslogtreecommitdiff
path: root/packaging/which.spec
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-05-20 09:42:47 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-05-20 09:42:47 +0900
commite7179814de126f94bc10ab3ea2d9f903ddc720da (patch)
tree4f0d6527a310b0b12c16a3448a4341a6bf3c2555 /packaging/which.spec
parent1a6845fe87f1460429b2ee184b2e6725f5dd86e6 (diff)
downloadwhich-accepted/tizen_6.5_base_tool.tar.gz
which-accepted/tizen_6.5_base_tool.tar.bz2
which-accepted/tizen_6.5_base_tool.zip
[Model] ALL [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] GPL license problem ( "Which 2.19" is GPL3 ) [Cause & Measure] Bump to which 2.17 [Checking Method] Which binary test [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I709c131be758040b14db87038b213637c4c44a1d Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'packaging/which.spec')
-rw-r--r--packaging/which.spec34
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}/*