Projects
Mega:24.03
openEuler-indexhtml
_service:tar_scm:generic-indexhtml.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:generic-indexhtml.spec of Package openEuler-indexhtml
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler} Name: %{vendor}-indexhtml Version: 7 Release: 15 Source: HTML.tar.gz License: CC-BY-SA-4.0 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 * Tue Jun 21 2022 Chenyx <chenyixiong3@huawei.com> - 7-15 - License compliance rectification * 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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2