diff options
author | Laurent Montel <lmontel@mandriva.org> | 2004-02-23 14:33:09 +0000 |
---|---|---|
committer | Laurent Montel <lmontel@mandriva.org> | 2004-02-23 14:33:09 +0000 |
commit | 03054a1d1ddac3f3c8c389b2d1aac8ffd3aa2bd0 (patch) | |
tree | 4f5fdb3af646826332c4ab6d1e2573ac3a764460 /indexhtml.spec | |
parent | 56bea1719337cda148c7323d95e57115a34ff4c6 (diff) | |
download | indexhtml-03054a1d1ddac3f3c8c389b2d1aac8ffd3aa2bd0.tar indexhtml-03054a1d1ddac3f3c8c389b2d1aac8ffd3aa2bd0.tar.gz indexhtml-03054a1d1ddac3f3c8c389b2d1aac8ffd3aa2bd0.tar.bz2 indexhtml-03054a1d1ddac3f3c8c389b2d1aac8ffd3aa2bd0.tar.xz indexhtml-03054a1d1ddac3f3c8c389b2d1aac8ffd3aa2bd0.zip |
Use new first message
Diffstat (limited to 'indexhtml.spec')
-rw-r--r-- | indexhtml.spec | 28 |
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) |