From e79f18452fa04d031cc8c90e9cfafe3734fd6190 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Tue, 30 Aug 2005 16:11:52 +0000 Subject: fixed images path; added a meta field for the release (filled at install time) --- HTML/images/logo.png | Bin 0 -> 5414 bytes HTML/index.html | 1 + HTML/screen.css | 4 ++-- indexhtml.spec | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 HTML/images/logo.png diff --git a/HTML/images/logo.png b/HTML/images/logo.png new file mode 100644 index 0000000..1ab6e92 Binary files /dev/null and b/HTML/images/logo.png differ diff --git a/HTML/index.html b/HTML/index.html index ea77061..bcf5546 100644 --- a/HTML/index.html +++ b/HTML/index.html @@ -4,6 +4,7 @@ + Mandriva Linux diff --git a/HTML/screen.css b/HTML/screen.css index 4a27230..a3237e0 100644 --- a/HTML/screen.css +++ b/HTML/screen.css @@ -11,7 +11,7 @@ body { margin: auto; width: 800px; height: 600px; - background-image: url(./image/bg.png); + background-image: url(./images/bg.png); background-repeat: no-repeat; color: #21449C; font-family: sans-serif; @@ -27,7 +27,7 @@ h1 a { position: relative; left: 10px; top: 25px; - background-image: url(./image/logo.png); + /* background-image: url(./images/logo.png); */ background-repeat: no-repeat; width: 146px; height: 34px; diff --git a/indexhtml.spec b/indexhtml.spec index d64aac0..a087dd0 100644 --- a/indexhtml.spec +++ b/indexhtml.spec @@ -65,6 +65,9 @@ install -m 0644 HTML/index.html %buildroot/%_datadir/doc/HTML/index.html %clean rm -fr %buildroot +%post +cat %_datadir/mdk/indexhtml/index.html | \ + sed "s/XXXXX/`cat /etc/release`/" > %_datadir/doc/HTML/index.html %files %defattr(-,root,root,-) -- cgit v1.2.1