diff --git a/.centos-indexhtml.metadata b/.centos-indexhtml.metadata new file mode 100644 index 0000000..1ece57e --- /dev/null +++ b/.centos-indexhtml.metadata @@ -0,0 +1 @@ +c9fbe971f4a7c92b58bff6bb2c26f0e35bc7b5c2 SOURCES/centos-indexhtml-7.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 5231011..0000000 --- a/README.md +++ /dev/null @@ -1,8 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch -for CentOS-4, 5 or 6. If you find this file in a distro specific branch, it -means that no content has been checked in yet - -More information on how these git repositories are setup, is available at -http://wiki.centos.org/Sources diff --git a/SPECS/centos-indexhtml.spec b/SPECS/centos-indexhtml.spec new file mode 100644 index 0000000..527e36e --- /dev/null +++ b/SPECS/centos-indexhtml.spec @@ -0,0 +1,45 @@ +Summary: Browser default start page for CentOS +Name: centos-indexhtml +Version: 7 +Release: 9%{?dist} +Source: %{name}-%{version}.tar.gz +License: Distributable +Group: Documentation +BuildArchitectures: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Obsoletes: indexhtml <= 2:5-1 +Obsoletes: redhat-indexhtml +Provides: redhat-indexhtml + +%description +The indexhtml package contains the welcome page shown by your Web browser, +which you'll see after you've successfully installed CentOS Linux + +%prep +%setup -q -n 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 +* Sun Jun 29 2014 Johnny Hughes 7-9.el7.centos +- Add en-US directory + +* Fri May 16 2014 Johnny Hughes 7-8.el7.centos +- Roll in CentOS Branding