summaryrefslogtreecommitdiffstats
path: root/indexhtml.spec
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-03-10 21:03:42 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-03-10 21:03:42 +0000
commit98a7128a94649f37fdbb708ed3fd9308b58dded1 (patch)
treee4a774744f98149aacb8cb4f6dbc49b6cbf62008 /indexhtml.spec
parent2637612ac2ded2fba33a678ac526fc97ab86da41 (diff)
downloadindexhtml-98a7128a94649f37fdbb708ed3fd9308b58dded1.tar
indexhtml-98a7128a94649f37fdbb708ed3fd9308b58dded1.tar.gz
indexhtml-98a7128a94649f37fdbb708ed3fd9308b58dded1.tar.bz2
indexhtml-98a7128a94649f37fdbb708ed3fd9308b58dded1.tar.xz
indexhtml-98a7128a94649f37fdbb708ed3fd9308b58dded1.zip
updated spec file
Diffstat (limited to 'indexhtml.spec')
-rw-r--r--indexhtml.spec25
1 files changed, 16 insertions, 9 deletions
diff --git a/indexhtml.spec b/indexhtml.spec
index 083d809..3e4d28c 100644
--- a/indexhtml.spec
+++ b/indexhtml.spec
@@ -1,7 +1,7 @@
Summary: Mandrake html welcome page
Name: indexhtml
Version: 9.1
-Release: 5mdk
+Release: 6mdk
Source: indexhtml-%version.tar.bz2
Group: System/Base
License: GPL
@@ -13,12 +13,9 @@ BuildArch: noarch
%description
Mandrake index.html welcome page.
-
%prep
-
-%setup -q -n %name
-
+%setup -q
%build
@@ -32,6 +29,9 @@ find $RPM_BUILD_DIR/%name -name "CVS" -print | xargs /bin/rm -fr
install -d -m 0755 %buildroot/%_datadir/mdk/indexhtml/
install -m 0644 HTML/* %buildroot/%_datadir/mdk/indexhtml/
+install -d -m 0755 %buildroot/%_datadir/doc/HTML/
+install -m 0644 HTML/index.html %buildroot/%_datadir/doc/HTML/index.html
+
%clean
rm -fr %buildroot
@@ -56,13 +56,15 @@ fi
for i in $LISTLANG
do
if [ -r %_datadir/mdk/indexhtml/index-$i.html ]; then
- cat %_datadir/mdk/indexhtml/index-$i.html > \
+ cat %_datadir/mdk/indexhtml/index-$i.html | \
+ sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
%_datadir/doc/HTML/index.html
break
else
lang=`echo $i | cut -b-2`
if [ -r %_datadir/mdk/indexhtml/index-$lang.html ]; then
- cat %_datadir/mdk/indexhtml/index-$lang.html > \
+ cat %_datadir/mdk/indexhtml/index-$lang.html | \
+ sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
%_datadir/doc/HTML/index.html
break;
@@ -71,7 +73,8 @@ do
done
if [ ! -r %_datadir/doc/HTML/index.html ]; then
- cat %_datadir/mdk/indexhtml/index-en.html > \
+ cat %_datadir/mdk/indexhtml/index-en.html | \
+ sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
%_datadir/doc/HTML/index.html
fi
@@ -91,9 +94,13 @@ fi
%dir %_datadir/mdk/
%dir %_datadir/mdk/indexhtml/
%_datadir/mdk/indexhtml/*
-
+%verify (not md5 mtime size) %_datadir/doc/HTML/index.html
%changelog
+* Mon Mar 10 2003 Pablo Saratxaga <pablo@mandrakesoft.com> 9.1-6mdk
+- various new translations
+- corrected stylesheet link on default page
+
* Fri Mar 07 2003 Laurent MONTEL <lmontel@mandrakesoft.com> 9.1-5mdk
- Fix indexhtml page location