summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--indexhtml.spec28
1 files changed, 24 insertions, 4 deletions
diff --git a/indexhtml.spec b/indexhtml.spec
index a29e1f0..372df9b 100644
--- a/indexhtml.spec
+++ b/indexhtml.spec
@@ -1,7 +1,7 @@
Summary: Mandrake html welcome page
Name: indexhtml
Version: 10.0
-Release: 5mdk
+Release: 6mdk
Source: indexhtml-%version.tar.bz2
Group: System/Base
License: GPL
@@ -29,9 +29,26 @@ 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/mdk/mail/
-for i in $(find mail/ -type f | grep -v "placeholder.h"); do
- install -m 0644 $i %buildroot/%_datadir/mdk/mail/
+install -d -m 0755 %buildroot/%_datadir/mdk/mail/text/
+install -d -m 0755 %buildroot/%_datadir/mdk/mail/html/
+for lang in $(find mail/header-* -type f | sed "s|mail/header-||" ); do
+ cat mail/header-$lang &> tmpfile
+ cat mail/mail-$lang.txt >> tmpfile
+ install -m 0644 tmpfile %buildroot/%_datadir/mdk/mail/text/mail-$lang
+
+ cat mail/header-$lang &> tmpfile
+ echo "" >> tmpfile
+ echo "Content-Type: multipart/related; type=\"multipart/alternative\";" >>tmpfile
+ echo "boundary=\"=-tThpx1YEZqL4gn53WjQ1\"" >> tmpfile
+ echo "--=-tThpx1YEZqL4gn53WjQ1" >> tmpfile
+ echo "Content-Type: multipart/alternative; boundary=\"=-aFPGjTr5jUHhXPWxbLcT\"" >>tmpfile
+ echo "--=-aFPGjTr5jUHhXPWxbLcT" >> tmpfile
+ echo "" >> tmpfile
+ cat mail/mail-$lang.txt >> tmpfile
+ cat mail/mail-$lang.html >> tmpfile
+ cat mail/mail-images >> tmpfile
+ install -m 0644 tmpfile %buildroot/%_datadir/mdk/mail/html/mail-$lang
+
done
install -d -m 0755 %buildroot/%_datadir/doc/HTML/
@@ -92,6 +109,9 @@ fi
%changelog
+* Mon Feb 23 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 10.0-6mdk
+- Use new first message
+
* Tue Feb 17 2004 David Baudens <baudens@mandrakesoft.com> 10.0-5mdk
- Don't install placeholder.h (seems useless)