package init
This commit is contained in:
parent
adaca161e2
commit
c309f458cb
27
README.en.md
27
README.en.md
@ -1,22 +1,7 @@
|
|||||||
# ovirt-web-ui
|
# ovirt-web-ui
|
||||||
|
|
||||||
#### Description
|
#### Description
|
||||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
VM Portal for oVirt.
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
#### Contribution
|
||||||
|
|
||||||
@ -24,13 +9,3 @@ Software architecture description
|
|||||||
2. Create Feat_xxx branch
|
2. Create Feat_xxx branch
|
||||||
3. Commit your code
|
3. Commit your code
|
||||||
4. Create Pull Request
|
4. Create Pull Request
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
|
|||||||
30
README.md
30
README.md
@ -1,25 +1,7 @@
|
|||||||
# ovirt-web-ui
|
# ovirt-web-ui
|
||||||
|
|
||||||
#### 介绍
|
#### 介绍
|
||||||
{**以下是码云平台说明,您可以替换此简介**
|
用于oVirt的VM Portal。
|
||||||
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
|
||||||
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
#### 参与贡献
|
||||||
|
|
||||||
@ -27,13 +9,3 @@
|
|||||||
2. 新建 Feat_xxx 分支
|
2. 新建 Feat_xxx 分支
|
||||||
3. 提交代码
|
3. 提交代码
|
||||||
4. 新建 Pull Request
|
4. 新建 Pull Request
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
|
|||||||
BIN
ovirt-web-ui-1.6.0.tar.gz
Normal file
BIN
ovirt-web-ui-1.6.0.tar.gz
Normal file
Binary file not shown.
60
ovirt-web-ui.spec
Normal file
60
ovirt-web-ui.spec
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# Used for rpm-packaging of pre-bundled application with already resolved JS dependencies
|
||||||
|
%global product oVirt
|
||||||
|
|
||||||
|
%global use_rhev %( test -z @RHEV@ && echo 1 || echo 0)
|
||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
|
%global source_basename ovirt-web-ui
|
||||||
|
|
||||||
|
Name: ovirt-web-ui
|
||||||
|
Version: 1.6.0
|
||||||
|
Release: 1%{?release_suffix}%{?checkout}%{?dist}
|
||||||
|
Summary: VM Portal for %{product}
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/oVirt/ovirt-web-ui
|
||||||
|
Source0: https://github.com/oVirt/ovirt-web-ui/archive/%{source_basename}-1.6.0.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
# Keep ovirt-engine-{nodejs|nodejs-modules|yarn} at particular version unless tested on higher
|
||||||
|
BuildRequires: ovirt-engine-nodejs = 8.11.4
|
||||||
|
BuildRequires: ovirt-engine-yarn = 1.7.0
|
||||||
|
|
||||||
|
BuildRequires: ovirt-engine-nodejs-modules >= 1.8.16
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides the VM Portal for %{product}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
# Use the ovirt-engine nodejs installation
|
||||||
|
# export PATH="%{_datadir}/ovirt-engine-nodejs/bin:${PATH}"
|
||||||
|
|
||||||
|
%setup -q -n"%{source_basename}-%{version}"
|
||||||
|
rpm -qa | grep ovirt-engine-nodejs
|
||||||
|
|
||||||
|
echo "=== Workaround: 'yarn check' is recently failing on requiring webpack >= v2. Manually"
|
||||||
|
echo "=== verified that this is ok for recent code base but may be a real failure in the"
|
||||||
|
echo "=== future. Please watch carefully for other potential types of errors."
|
||||||
|
export IGNORE_YARN_CHECK=1
|
||||||
|
source /usr/share/ovirt-engine-nodejs-modules/setup-env.sh
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH="%{_datadir}/ovirt-engine-nodejs/bin:%{_datadir}/ovirt-engine-yarn/bin:${PATH}"
|
||||||
|
%configure
|
||||||
|
export PATH="./node_modules/.bin:${PATH}"
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_datarootdir}/ovirt-web-ui
|
||||||
|
%{_datarootdir}/ovirt-engine/ovirt-web-ui.war
|
||||||
|
%{_sysconfdir}/ovirt-engine/engine.conf.d/50-ovirt-web-ui.conf
|
||||||
|
%{_sysconfdir}/ovirt-web-ui/branding/00-ovirt.brand
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Mar 5 2020 di.wang <di.wang@cs2c.com.cn> - 1.6.0-1
|
||||||
|
- Package Initialization
|
||||||
Loading…
x
Reference in New Issue
Block a user