-
Notifications
You must be signed in to change notification settings - Fork 7
/
dci-ui.spec
54 lines (38 loc) · 1.25 KB
/
dci-ui.spec
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
%global debug_package %{nil}
Name: dci-ui
Version: 0.1.3
Release: 1.VERS%{?dist}
Summary: DCI UI static files
License: ASL 2.0
URL: https://github.com/redhat-cip/dci-ui
Source0: dci-ui-%{version}.tar.gz
BuildRequires: npm
%description
DCI UI static files
%prep -a
%setup -qc
%build
npm install
npm run build
%install
install -d -m0755 %{buildroot}/srv/www/dci-ui
install -d -m0755 %{buildroot}/etc/dci-ui
cp -r build/* %{buildroot}/srv/www/dci-ui
%files
/srv/www/dci-ui/*
%changelog
* Tue Nov 8 2022 Guillaume Vincent <[email protected]> 0.1.3-1
- Remove build for EL7
* Tue Dec 15 2020 Guillaume Vincent <[email protected]> 0.1.2-1
- Remove unused config.json
- Use node 12
* Wed Jun 3 2020 Haïkel Guémar <[email protected]> - 0.1.1-2
- Use npm from node modules on EL8
* Thu May 23 2019 Guillaume Vincent <[email protected]> 0.1.1-1
- Use LTS nodejs version 10 from software collection
* Tue Aug 7 2018 Guillaume Vincent <[email protected]> 0.1.0-1
- Migration from AngularJS to React
* Fri Jun 23 2017 Guillaume Vincent <[email protected]> 0.0-2
- Use npm script instead of gulp to build the application
* Mon Jan 11 2016 Yanis Guenane <[email protected]> 0.0-1
- Initial commit