Blame SPECS/centos-indexhtml.spec

b5f0e3
Summary: Browser default start page for CentOS
b5f0e3
Name: centos-indexhtml
b5f0e3
Version: 7
b5f0e3
Release: 9%{?dist}
b5f0e3
Source: %{name}-%{version}.tar.gz
b5f0e3
License: Distributable
b5f0e3
Group: Documentation
b5f0e3
BuildArchitectures: noarch
b5f0e3
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b5f0e3
Obsoletes: indexhtml <= 2:5-1
b5f0e3
Obsoletes: redhat-indexhtml
b5f0e3
Provides: redhat-indexhtml
b5f0e3
b5f0e3
%description
b5f0e3
The indexhtml package contains the welcome page shown by your Web browser,
b5f0e3
which you'll see after you've successfully installed CentOS Linux
b5f0e3
b5f0e3
%prep
b5f0e3
%setup -q -n HTML
b5f0e3
b5f0e3
%build
b5f0e3
b5f0e3
%install
b5f0e3
rm -rf $RPM_BUILD_ROOT
b5f0e3
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML
b5f0e3
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US
b5f0e3
cp -a . $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/
b5f0e3
pushd $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US
b5f0e3
ln -s ../index.html .
b5f0e3
ln -s ../img/ .
b5f0e3
popd
b5f0e3
b5f0e3
%clean
b5f0e3
rm -rf $RPM_BUILD_ROOT
b5f0e3
b5f0e3
%files
b5f0e3
%defattr(-,root,root,-)
b5f0e3
%{_defaultdocdir}/HTML/*
b5f0e3
b5f0e3
%changelog
b5f0e3
* Sun Jun 29 2014 Johnny Hughes <johnny@centos.org> 7-9.el7.centos
b5f0e3
- Add en-US directory
b5f0e3
b5f0e3
* Fri May 16 2014 Johnny Hughes <johnny@centos.org> 7-8.el7.centos
b5f0e3
- Roll in CentOS Branding