blob: 18431f5dcb95c76afbbfa852a56656d091a693b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
Name: which
Summary: Which, what, where?
Version: 0.1
Release: 1
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
%description
Shows the path of a file
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}/%{_bindir}/
install -m755 which %{buildroot}/%{_bindir}/
mkdir -p %{buildroot}/usr/share/license
cp LICENSE %{buildroot}/usr/share/license/%{name}
%files
%manifest which.manifest
%{_bindir}/which
/usr/share/license/%{name}
|