Summary: The Web page you'll see after installing Red Hat Linux. Summary(cs): Titulní WWW stránka pro počítač s Red Hat Linuxem Name: indexhtml-cs %define version 7.0 %define distrib_dir /mnt/master/in-one/i386 Version: %{version} Release: 2 Source: %{name}-%{version}.tar.gz Copyright: Distributable Group: Documentation Group(cs): Dokumentace BuildArch: 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. %description -l cs Balíček indexhtml obsahuje úvodní HTML stránku (včetně grafiky), která bude zobrazena vaším WWW prohlížečem po úspěšné instalaci Red Hat Linuxu. WWW stránka z balíčku indexhtml obsahuje informace, jak zaregistrovat váš systém Red Hat Linux a jak získat podpora, kterou byste mohli potřebovat. %prep %setup -q %build if [ ! -d %{distrib_dir} ]; then echo Tento balíček potřebuje ke svému vytvoření distribuci v %{ditrib_dir} exit 1 fi cd cs 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/usr/share/doc cp -ap $RPM_BUILD_DIR/%{name}-%{version} $RPM_BUILD_ROOT/usr/share/doc/HTML %clean rm -rf $RPM_BUILD_ROOT %post cd /usr/share/doc/HTML if [ -L default ]; then rm default ln -s cs default fi %files %defattr(0644,root,root,0755) /usr/share/doc/HTML/cs %changelog * Fri Apr 14 2000 Milan Kerslager