Summary: The Web page you'll see after installing Red Hat Linux. Name: indexhtml %define version 7.1 %define distrib_dir /root/rh/i386 Version: %{version} Release: 2cz1 Source: indexhtml-%{version}.tar.gz Source1: indexhtml-cs-%{version}.tar.gz Copyright: distributable Group: Documentation BuildArchitectures: noarch BuildRoot: /var/tmp/indexhtml-root %description The indexhtml package contains the HTML page and graphics for a welcome page shown by your Web browser, which you'll see after you've successfully installed Red Hat Linux. The Web page provided by indexhtml tells you how to register your Red Hat software and how to get any support that you might need. %prep %setup -q -n indexhtml-%{version} mkdir en mv * en | : tar xfz %{S:1} -C . %build if [ ! -d %{distrib_dir} ]; then echo Tento balíček potřebuje ke svému vytvoření distribuci v %{ditrib_dir} exit 1 fi cp %{distrib_dir}/Changelog.html . ( cat <<_EOF_
_EOF_
  cd %{distrib_dir}/RedHat/RPMS
  ls | awk '{print "echo Balíček: "$0;
             print "echo ==========================================================================";
             print "rpm -qip "$0;
             print "echo ; echo"; }' | sh -
  echo -e "
\n\n" ) > popisky.html ( cat <<_EOF_
_EOF_
  cd %{distrib_dir}/RedHat/RPMS
  ls | awk '{print "echo Balíček: "$0;
             print "echo ==========================================================================";
             print "rpm -qlp "$0;
             print "echo"; }' | sh -
  echo -e "
\n\n" ) > soubory.html %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML cp -ap * $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_defaultdocdir}/HTML/* %changelog * Tue May 15 2001 Milan Kerslager - czech modification (our page is the default now) * Thu Mar 22 2001 Bill Nottingham - japanese translations () * Tue Feb 27 2001 Bill Nottingham - update pacakge * Fri Aug 18 2000 Bill Nottingham - build new package * Sun Jun 18 2000 Matt Wilson - rebuild for next release - use FHS paths * Mon Feb 21 2000 Bill Nottingham - update for 6.2 * Tue Sep 21 1999 Bill Nottingham - update for 6.1 * Wed Apr 14 1999 Bill Nottingham - update for 6.0 * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Wed Feb 10 1999 Michael Johnson - use relative links instead of absolute links * Sun Oct 11 1998 Bill Nottingham - point to 5.2 installation guide - 90 days installation support, not 30 * Tue Oct 6 1998 Matt Wilson - Remove link to Applixware as we no longer ship it. * Sat Sep 19 1998 Jeff johnson - update version to 5.2. - tweak description so that it's slightly different than summary. * Tue Jul 21 1998 Jeff Johnson - fix spelling error. - add build root. * Wed May 06 1998 Prospector System - translations modified for de, fr, tr * Wed May 06 1998 Edward C. Bailey - Added link to 5.1 Installation Guide * Mon May 04 1998 Erik Troan - changed summary and description for new version of RPM * Fri Oct 24 1997 Otto Hammersmith - updated for 5.0.. new links to various LDP guides * Thu Jul 31 1997 Erik Troan - made a noarch package * Tue Apr 15 1997 Erik Troan - Incorporated Otto's fix into tarball properly. * Mon Apr 14 1997 Otto Hammersmith - Fixed an error in /usr/doc/HTML/index.html that said we provided 60 days of installation support, not 30 like it should.