Package init
This commit is contained in:
parent
1de767ec18
commit
69a0399a5d
BIN
HTML/img/header-background.png
Normal file
BIN
HTML/img/header-background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
BIN
HTML/img/html-background.png
Normal file
BIN
HTML/img/html-background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
133
HTML/index.html
Normal file
133
HTML/index.html
Normal file
@ -0,0 +1,133 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<!--Copyright (c) [2019] Huawei Technologies Co.,Ltd. All rights reserved. All documentation will be contributed to and made available by the Project under the Creative Commons Attribution 4.0 International License (available at http://creativecommons.org/licenses/by/4.0/).-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Welcome to generic_os</title>
|
||||
<style rel="stylesheet" type="text/css">
|
||||
|
||||
html {
|
||||
background-image:url(img/html-background.png);
|
||||
background-color: white;
|
||||
font-family: "DejaVu Sans", "Liberation Sans", sans-serif;
|
||||
font-size: 0.85em;
|
||||
line-height: 1.25em;
|
||||
margin: 0 4% 0 4%;
|
||||
}
|
||||
|
||||
body {
|
||||
border: 10px solid #fff;
|
||||
margin:0;
|
||||
padding:0;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
||||
a:link { border-bottom: 1px dotted #ccc; text-decoration: none; color: #204d92; }
|
||||
a:hover { border-bottom:1px dotted #ccc; text-decoration: underline; color: green; }
|
||||
a:active { border-bottom:1px dotted #ccc; text-decoration: underline; color: #204d92; }
|
||||
a:visited { border-bottom:1px dotted #ccc; text-decoration: none; color: #204d92; }
|
||||
a:visited:hover { border-bottom:1px dotted #ccc; text-decoration: underline; color: green; }
|
||||
|
||||
.logo a:link,
|
||||
.logo a:hover,
|
||||
.logo a:visited { border-bottom: none; }
|
||||
|
||||
.mainlinks a:link { border-bottom: 1px dotted #ddd; text-decoration: none; color: #eee; }
|
||||
.mainlinks a:hover { border-bottom:1px dotted #ddd; text-decoration: underline; color: white; }
|
||||
.mainlinks a:active { border-bottom:1px dotted #ddd; text-decoration: underline; color: white; }
|
||||
.mainlinks a:visited { border-bottom:1px dotted #ddd; text-decoration: none; color: white; }
|
||||
.mainlinks a:visited:hover { border-bottom:1px dotted #ddd; text-decoration: underline; color: white; }
|
||||
|
||||
/* User interface styles */
|
||||
|
||||
#header {
|
||||
margin:0;
|
||||
padding: 0.5em;
|
||||
background: #204D8C url(img/header-background.png);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.logo {
|
||||
padding: 0;
|
||||
/* For text only logo */
|
||||
font-size: 1.4em;
|
||||
line-height: 1em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
vertical-align: middle;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.logo a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height:1.5em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.9em; }
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
line-height: 1.7em; }
|
||||
|
||||
#content {
|
||||
clear:both;
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
padding-bottom: 30px;
|
||||
border-bottom: 5px solid #eee;
|
||||
}
|
||||
|
||||
.mainlinks {
|
||||
float: right;
|
||||
margin-top: 0.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
ul.mainlinks > li {
|
||||
border-right: 1px dotted #ddd;
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
display: inline;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul.mainlinks > li.last,
|
||||
ul.mainlinks > li.first {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="header">
|
||||
|
||||
<ul class="mainlinks">
|
||||
<li> <a href="lowercase_generic_os.org">Home</a> </li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<h1>Welcome to generic_os</h1>
|
||||
|
||||
<p><a href="lowercase_generic_os.org">generic_os</a> provides enhanced security, compatibility, and easy-to-use features along with high reliability. It meets the increasing requirements of Linux OS in enterprise applications and provides a compelling choice of open IT platform for users.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# openEuler-indexhtml
|
||||
|
||||
#### 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**}
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
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/)
|
||||
39
README.md
39
README.md
@ -1,39 +0,0 @@
|
||||
# openEuler-indexhtml
|
||||
|
||||
#### 介绍
|
||||
{**以下是码云平台说明,您可以替换此简介**
|
||||
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
||||
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
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/)
|
||||
73
generic-indexhtml.spec
Normal file
73
generic-indexhtml.spec
Normal file
@ -0,0 +1,73 @@
|
||||
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
|
||||
|
||||
Name: %{vendor}-indexhtml
|
||||
Version: 7
|
||||
Release: 14
|
||||
Source: HTML.tar.gz
|
||||
License: CC-BY-SA
|
||||
Summary: Browser default start page for %{vendor}
|
||||
BuildArchitectures: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Obsoletes: indexhtml <= 2:5-1
|
||||
Provides: %{vendor}-indexhtml
|
||||
Provides: generic-indexhtml
|
||||
|
||||
BuildRequires: sed
|
||||
|
||||
%description
|
||||
The indexhtml package contains the welcome page shown by your Web browser,
|
||||
which you'll see after you've successfully installed %{vendor} Linux
|
||||
|
||||
%prep
|
||||
%setup -q -n HTML
|
||||
|
||||
lowercase_os_name=$(echo "%{vendor}" | sed 's/[A-Z]/\l&/g')
|
||||
sed -i "s/lowercase_generic_os/$lowercase_os_name/g" index.html
|
||||
sed -i "s/generic_os/%{vendor}/g" index.html
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US
|
||||
cp -a . $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/
|
||||
pushd $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US
|
||||
ln -s ../index.html .
|
||||
ln -s ../img/ .
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_defaultdocdir}/HTML/*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 7-14
|
||||
- Type:NA
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: delete unneeded provides
|
||||
|
||||
* Tue Oct 15 2019 fanghuiyu<fanghuiyu@huawei.com> - 7-13
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: change to generic-indexhtml
|
||||
|
||||
* Tue Sep 24 2019 hexiaowen <hexiaowen@huawei.com> - 7-12
|
||||
- add copyright
|
||||
|
||||
* Fri Mar 29 2019 wuyou<wuyou88@huawei.com> - 7-11
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: supply provides of indexhtml
|
||||
|
||||
* Mon Mar 25 2019 wuyou<wuyou88@huawei.com> - 7-10
|
||||
- Type: bugfix
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: Provides openEuler-indexhtml
|
||||
Loading…
x
Reference in New Issue
Block a user