Name: oreon-indexhtml
Version: 10
Release: 100%{?dist}
Summary: Browser default start page for Oreon
Source0: index.html
License: Distributable
Group: Documentation
BuildArch: noarch
Obsoletes: redhat-indexhtml
Obsoletes: centos-indexhtml
Provides: redhat-indexhtml = %{version}-%{release}
Provides: centos-indexhtml = %{version}-%{release}
%description
The indexhtml package contains the welcome page shown by your Web browser,
which you'll see after you've successfully installed Oreon.
The Web page provided by indexhtml tells you how to register your Oreon
software and how to get any support that you might need.
%prep
%setup -q -c -T
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US/
install -m644 %{SOURCE0} $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US/index.html
ln -sf en-US/index.html $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/index.html
%files
%{_defaultdocdir}/HTML/*