aops-hermes/aops-hermes.spec

79 lines
2.2 KiB
RPMSpec
Raw Normal View History

2022-11-22 20:44:52 +08:00
%define debug_package %{nil}
Name: aops-hermes
2022-12-07 17:49:45 +08:00
Version: v1.1.2
Release: 5
2022-11-22 20:44:52 +08:00
Summary: Web for an intelligent diagnose frame
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
Source0: %{name}-%{version}.tar.gz
Source1: node-modules.tar.gz
2022-12-12 12:02:19 +08:00
Patch0001: 0001-some-bugfix-for-diana-website.patch
Patch0002: 0002-bugfix-alarm-number-not-update-synchronously.patch
2022-12-19 10:36:48 +08:00
Patch0003: 0003-fix-bugs-that-are-found.patch
Patch0004: 0004-fix-bug-the-task-report-is-not-displayed.patch
2022-11-22 20:44:52 +08:00
BuildRequires: nodejs node-gyp nodejs-yarn
Requires: nginx
%description
Web for an intelligent diagnose frame
%prep
2022-12-12 12:02:19 +08:00
%autosetup -n %{name}-%{version} -p1
2022-11-22 20:44:52 +08:00
%setup -T -D -a 1
%build
yarn build
%install
mkdir -p %{buildroot}/opt/aops/web
cp -r dist %{buildroot}/opt/aops/web/
mkdir -p %{buildroot}/%{_sysconfdir}/nginx
cp -r deploy/aops-nginx.conf %{buildroot}/%{_sysconfdir}/nginx/
mkdir -p %{buildroot}/usr/lib/systemd/system
cp -r deploy/aops-hermes.service %{buildroot}/usr/lib/systemd/system/
%files
%attr(0755, root, root) /opt/aops/web/dist/*
%attr(0755, root, root) %{_sysconfdir}/nginx/aops-nginx.conf
2022-11-22 21:52:30 +08:00
%attr(0755, root, root) /usr/lib/systemd/system/aops-hermes.service
2022-11-22 20:44:52 +08:00
%changelog
* Sat Dec 24 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-5
- Fix the problem that the task report is not displayed after the repo-set task is completed
2022-12-19 10:36:48 +08:00
* Mon Dec 19 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-4
- Fix the bugs that are found
* Tue Dec 13 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-3
- Fix the bug that the total number of alarms is not synchronously refreshed
2022-12-12 12:02:19 +08:00
* Mon Dec 12 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.1.2-2
- fix some bugs in diana website
2022-12-07 17:49:45 +08:00
* Wed Dec 07 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-1
- fix some bugs
2022-12-02 00:15:09 +08:00
* Fri Dec 02 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-1
- fix some bugs
2022-12-02 15:28:46 +08:00
* Sat Nov 26 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.0-3
- Fix param error and input limit of length
2022-12-02 00:15:09 +08:00
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-2
- Adjust the code style
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-1
- Fix the bug of cve vulnerability management module
2022-11-22 20:44:52 +08:00
* Tue Nov 22 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
- Package init