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