-
Notifications
You must be signed in to change notification settings - Fork 28
/
wake.spec.in
47 lines (40 loc) · 1.21 KB
/
wake.spec.in
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name: wake
Version: @VERSION@
Release: 1
Summary: flexible build orchestration tool and language
License: Apache-2; MIT; TFL; WTFPL; CC0
URL: https://github.com/sifive/wake
Vendor: SiFive, Inc.
Source0: https://github.com/sifive/wake/releases/%{name}_%{version}.tar.xz
Requires: fuse dash squashfuse iproute
Prefix: /usr
BuildRequires: fuse-devel dash sqlite-devel gmp-devel ncurses-devel pkgconfig git gcc gcc-c++ re2-devel
%description
Wake is a build orchestration tool and language.
If you have a build whose steps cannot be adequately expressed in
make/tup/bazel/etc, you probably need wake.
If you don't want to waste time rebuilding things that don't need it,
or that your colleagues already built, you might appreciate wake.
%global debug_package %{nil}
%prep
%setup -q
%build
make all
%install
make DESTDIR=%{buildroot}/usr install
mkdir -p %{buildroot}/var/cache/wake
%files
/usr/bin/wake
/usr/bin/wakebox
/usr/bin/wake-log-viewer
/usr/bin/wake-rsc
/usr/bin/wake-rsc-migration
/usr/bin/wake-rsc-tool
/usr/bin/wake-format
/usr/bin/job-cache
/usr/lib/wake
/usr/share/wake
%dir /var/cache/wake
%doc /usr/share/doc/wake
%changelog
# let's skip this for now