summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/which.manifest5
-rw-r--r--packaging/which.spec34
2 files changed, 39 insertions, 0 deletions
diff --git a/packaging/which.manifest b/packaging/which.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/which.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
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}/*