This repository was archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathiml-node-libzfs.spec
More file actions
executable file
·66 lines (47 loc) · 1.55 KB
/
iml-node-libzfs.spec
File metadata and controls
executable file
·66 lines (47 loc) · 1.55 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
%define base_name node-libzfs
Name: iml-%{base_name}
Version: 0.1.20
# Release Start
Release: 1%{?dist}
# Release End
Summary: Implements a binding layer from node to rust-libzfs
License: MIT
Group: System Environment/Libraries
URL: https://github.com/whamcloud/rust-libzfs/tree/master/%{base_name}
Source0: %{name}.tar.gz
ExclusiveArch: %{nodejs_arches}
BuildRequires: nodejs-packaging
Requires: nodejs
%description
%{summary}
%prep
%setup -c
%nodejs_fixdep -r neon-cli
%build
%install
mkdir -p %{buildroot}%{nodejs_sitearch}/@iml/node-libzfs/{lib,native}
cp -p package.json %{buildroot}%{nodejs_sitearch}/@iml/node-libzfs/
cp -p lib/index.js %{buildroot}%{nodejs_sitearch}/@iml/node-libzfs/lib/
cp -p native/index.node %{buildroot}%{nodejs_sitearch}/@iml/node-libzfs/native/
%clean
rm -rf %{buildroot}
%check
%{__nodejs} -e 'require("./")'
%files
%{nodejs_sitearch}/@iml/node-libzfs/lib/index.js
%{nodejs_sitearch}/@iml/node-libzfs/native/index.node
%{nodejs_sitearch}/@iml/node-libzfs/package.json
%changelog
* Sat May 04 2019 Joe Grund <jgrund@whamcloud.com> - 0.1.20-1
- Bump to ZFS 0.7.13
* Thu Nov 01 2018 Joe Grund <jgrund@whamcloud.com> - 0.1.19-1
- Bump to ZFS 0.7.11
* Tue May 15 2018 Joe Grund <joe.grund@intel.com> - 0.1.18-1
- Bump to ZFS 0.7.9
* Thu Apr 19 2018 Joe Grund <joe.grund@intel.com> - 0.1.17-1
- Change size parsing to string.
- Bump deps.
* Thu Mar 29 2018 Joe Grund <joe.grund@intel.com> - 0.1.15.-1
- Add support for zfs props.
* Fri Feb 09 2018 Joe Grund <joe.grund@intel.com> - 0.1.13-1
- initial package