Summary: Mandrake html welcome page
Name: indexhtml
Version: 10.0
Release: 10mdk
Source: indexhtml-%version.tar.bz2
Group: System/Base
License: GPL
BuildRoot: %_tmppath/%name-%version-%release-root
BuildArch: noarch
%description
Mandrake index.html welcome page.
%prep
%setup -q
%build
%install
rm -fr %buildroot/
find $RPM_BUILD_DIR/%name -name "*~" -print | xargs /bin/rm -fr
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/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/
install -m 0644 HTML/index-en.html %buildroot/%_datadir/doc/HTML/index.html
%clean
rm -fr %buildroot
%post
if [ -r /etc/sysconfig/i18n ] ; then
. /etc/sysconfig/i18n
if [ -n "$LANGUAGE" ]; then
LISTLANG="`echo $LANGUAGE | tr ':' ' '`" ;
else
if [ -n "$LANG" ]; then
LISTLANG="$LANG"
else
LISTLANG=en
fi
fi
else
LISTLANG=en
fi
for i in $LISTLANG
do
if [ -r %_datadir/mdk/indexhtml/index-$i.html ]; then
cat %_datadir/mdk/indexhtml/index-$i.html > %_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 > %_datadir/doc/HTML/index.html
break;
fi
fi
done
if [ ! -r %_datadir/doc/HTML/index.html ]; then
cat %_datadir/mdk/indexhtml/index-en.html > %_datadir/doc/HTML/index.html
fi
%files
%defattr(-,root,root,-)
%dir %_datadir/mdk/
%dir %_datadir/mdk/indexhtml/
%_datadir/mdk/indexhtml/*
#
%dir %_datadir/mdk/mail/
%_datadir/mdk/mail/*
#
%_datadir/doc/HTML/index.html
%changelog
* Fri Feb 27 2004 Laurent MONTEL 10.0-10mdk
- Update po
* Thu Feb 26 2004 Laurent MONTEL 10.0-9mdk
- Update po
* Tue Feb 24 2004 Laurent MONTEL 10.0-8mdk
- Update first mail
* Mon Feb 23 2004 Laurent MONTEL 10.0-7mdk
- Fix header
* Mon Feb 23 2004 Laurent MONTEL 10.0-6mdk
- Use new first message
* Tue Feb 17 2004 David Baudens 10.0-5mdk
- Don't install placeholder.h (seems useless)
* Tue Feb 17 2004 David Baudens 10.0-4mdk
- Fix update
* Mon Feb 16 2004 Laurent MONTEL 10.0-3mdk
- Install first mail
* Fri Feb 06 2004 David Baudens 10.0-2mdk
- Fix update
* Tue Jan 27 2004 David Baudens - 10.0-1mdk
- New english files. All old translations have been removed
* Mon Sep 01 2003 David Baudens - 9.1-10mdk
- Remove Safari
- Updated Azeri, Swedish, Danish and Hebrew pages
- added Hindi and Uzbek cyrillic pages
- changed names of Serbian pages to match new naming
- added Chinese "welcome" to image
* Wed Mar 26 2003 Frederic Crozat - 9.1-9mdk
- Fix japanase stylesheet
* Thu Mar 13 2003 Frederic Lepied 9.1-8mdk
- removed buggy %postun
* Tue Mar 11 2003 Frederic Lepied 9.1-7mdk
- removed obsolete sites from title bar
* Mon Mar 10 2003 Pablo Saratxaga 9.1-6mdk
- various new translations
- corrected stylesheet link on default page
* Fri Mar 07 2003 Laurent MONTEL 9.1-5mdk
- Fix indexhtml page location
* Thu Mar 06 2003 Laurent MONTEL 9.1-4mdk
- fix generation of the html file
- cleanup before removal
* Thu Feb 27 2003 David BAUDENS 9.1-3mdk
- Move in /usr/share/mdk
* Mon Feb 24 2003 Pablo Saratxaga 9.1-2mdk
- updated message of the indexhtml pages
* Wed Jan 29 2003 Pablo Saratxaga 9.1-1mdk
- updated Finnish, Ukrainian and Tamil files
- added Hebrew, Nynorsk and Tajiki files
- added favicon.png so browsers supporting it can display a nice mdk icon
- changed stylesheet for chinese, as konqueror didn't displayed all chars
* Fri Nov 22 2002 Pablo Saratxaga 9.0-9mdk
- small corrections on various files (fixed links)
- updated Estonian and Catalan files
* Mon Nov 18 2002 Pablo Saratxaga 9.0-8mdk
- Added Finnish file
- corrected Japanese typo
- updated Macedonian and traditional Chinese files
* Thu Sep 12 2002 David BAUDENS 9.0-7mdk
- Fix one bad translation in french page
* Thu Sep 5 2002 Pablo Saratxaga 9.0-6mdk
- Updated Chinese and Slovak pages
- Added Portuguese and Maltese files
- s/linux-mandrake.com/mandrakelinux.com/g
* Tue Sep 03 2002 David BAUDENS 9.0-5mdk
- Remove obsoletes pages and flags
- Add MandrakeClub links
* Thu Aug 29 2002 Pablo Saratxaga 9.0-4mdk
- added Tamil page; updated Korean and Norwegian pages
- fixed another typo (thanks to Per Oyvind Karlsen)
* Thu Aug 29 2002 David BAUDENS 9.0-3mdk
- Fix a typo (thanks to Quel Qun)
* Fri Aug 16 2002 Pablo Saratxaga 9.0-2mdk
- updated Czech and Polish files
- fixed Linux Weekly News urls
* Mon Jul 29 2002 David BAUDENS 9.0-1mdk
- fix a typo. Thanks to Spearman
* Mon Jul 22 2002 Pablo Saratxaga 8.2-7mdk
- updated Slovak file
* Tue Jul 16 2002 Pablo Saratxaga 8.2-6mdk
- fixed a typo in English file
- updated Romanian and Bulgarian files
* Mon Mar 11 2002 Pablo Saratxaga 8.2-5mdk
- updated cy, da, nl, sr, ru, hr, ms, sl pages
* Mon Mar 04 2002 David BAUDENS 8.2-4mdk
- Remove MamaLinux from french page
* Wed Feb 20 2002 Pablo Saratxaga 8.2-3mdk
- checked all pages with mozilla and konqueror, and do some changes in
stylesheets so they all display correctly
* Tue Feb 19 2002 Pablo Saratxaga 8.2-2mdk
- updated Italian and Arabic files
* Fri Feb 08 2002 Pablo Saratxaga 8.2-1mdk
- changed version to match distribution version
- fixed Japanese encoding declaration; converted to utf-8 the iso-8859-13
(Netscape has a bug with it) and iso-8859-14 (alsmot no browser supports
it) pages.
* Fri Dec 07 2001 Pablo Saratxaga 8.1-10mdk
- updates of various translated files; utf-8 used instead of marginal
encodings
* Fri Oct 26 2001 David BAUDENS 8.1-9mdk
- Fix bad links in english and french pages
* Mon Sep 24 2001 Pablo Saratxaga 8.1-8mdk
- rebuild including latest translations
* Fri Sep 21 2001 David BAUDENS 8.1-7mdk
- Add german translation (thanks to Stefan Siegel)
* Fri Sep 21 2001 David BAUDENS 8.1-6mdk
- Fix a typo in french page
- Add french links in french page
* Mon Sep 17 2001 David BAUDENS 8.1-5mdk
- Fix french translation (thanks to Laurent MONTEL)
- Fix english translation (thanks to Frederic BASTOK)
* Sun Sep 16 2001 David BAUDENS 8.1-4mdk
- Add french translation
* Thu Sep 13 2001 David BAUDENS 8.1-3mdk
- Use new indexhtml page for english
* Tue Sep 06 2001 Pablo Saratxaga 8.1-2mdk
- fixed typos in Hungarian file
* Mon Aug 13 2001 Pablo Saratxaga 8.1-1mdk
- changed to 8.1 the version number.
- Updated Hungarian page, added Bosanski page
* Fri Apr 20 2001 Pablo Saratxaga 8.0-4mdk
- added Traditional Chinese page
- corrected Red Hat Linux name (bug #2919)
* Mon Apr 16 2001 David BAUDENS 8.0-3mdk
- Fix dead link in index-fr.html
* Fri Apr 12 2001 David BAUDENS 8.0-2mdk
- Changed index-en.html, index-fr.html and index.html
* Tue Mar 06 2001 Pablo Saratxaga 8.0-1mdk
- changed version to 8.0
- added some more html files
* Thu Jan 30 2001 Pablo Saratxaga 7.2-1mdk
- added Georgian and Azeri files
- correction and updates for Croatian, Lithuanian and Macedonian
- changed version to 7.2
* Fri Oct 06 2000 Pablo Saratxaga 7.1-12mdk
- added Korean page
* Fri Sep 15 2000 Guillaume Cottenceau 7.1-11mdk
- fix out the conflict with mine and pablo upload
* Fri Sep 15 2000 Guillaume Cottenceau 7.1-10mdk
- corrected %pre script, Pablo sucks
* Mon Sep 04 2000 Pablo Saratxaga 7.1-9mdk
- added Greek page
- corrections to Czech page
- macrozification
* Mon Aug 28 2000 Pablo Saratxaga 7.1-8mdk
- corrections to the Polish file
* Mon Jul 17 2000 Pablo Saratxaga 7.1-7mdk
- added Basque file
* Mon Jul 03 2000 Pablo Saratxaga 7.1-6mdk
- corrected typos in the Czech file
- corrected the charset declaration of some pages
* Fri Jun 16 2000 Pablo Saratxaga 7.1-5mdk
- Added Arabic file
* Mon May 22 2000 Pablo Saratxaga 7.1-4mdk
- Corrected typo in Russian file (a word was truncated)
* Thu May 18 2000 Pablo Saratxaga 7.1-3mdk
- Added simplified Chinese & Afrikaans files
* Fri Apr 21 2000 Pablo Saratxaga 7.1-2mdk
- added Slovenian and Vietnamese pages
* Tue Apr 18 2000 Warly 7.1-1mdk
- 7.1
* Tue Apr 18 2000 dam's 7.0-6mdk
- Changed logo, icon.
* Thu Feb 03 2000 Pablo Saratxaga 7.0-5mdk
- added Serbian (both latin and Cyrillic) language file
* Mon Jan 10 2000 Pablo Saratxaga
- added Latvian page
* Wed Jan 05 2000 Pablo Saratxaga
- added Japanese page
* Mon Dec 27 1999 Pablo Saratxaga
- corrected some html pages
- added Esperanto page
* Tue Dec 21 1999 Florent Villard
- new images for 7.0
* Tue Nov 16 1999 Pablo Saratxaga
- added cs, gl translations
* Fri Nov 05 1999 Pablo Saratxaga
- added bg, da, et, mk, sk translations
* Fri Sep 28 1999 Pablo Saratxaga
- added translations for br, ca, cy, pt
* Fri Sep 17 1999 Pablo Saratxaga
- added translations for ga,is,lt,pl,ru,tr,uk
* Tue Sep 14 1999 Pablo Saratxaga
- added translations for de,hu,nl,ro
* Sat Aug 21 1999 Pablo Saratxaga
- added es,fr,id,no,wa files & descriptions; added a bar on bottom of
all pages to choose the language.
* Tue Jul 06 1999 Chmouel Boudjnah
- Rewriting the .spec.
- Build for new environement (Rel: 3mdk).
* Thu Apr 29 1999 Gaël Duval
- lipstick
* Thu Apr 25 1999 Gaël Duval
- updated for Linux-Mandrake 6.0
* Thu Jan 21 1999 Gaël Duval
- updated for Linux-Mandrake 5.3
* Mon Nov 16 1998 Gaël Duval
- updated for Linux-Mandrake
* Sun Oct 11 1998 Bill Nottingham
- point to 5.2 installation guide
- 90 days installation support, not 30
* Tue Oct 6 1998 Matt Wilson
- Remove link to Applixware as we no longer ship it.
* Sat Sep 19 1998 Jeff johnson
- update version to 5.2.
- tweak description so that it's slightly different than summary.
* Tue Jul 21 1998 Jeff Johnson
- fix spelling error.
- add build root.
* Wed May 06 1998 Prospector System
- translations modified for de, fr, tr
* Wed May 06 1998 Edward C. Bailey
- Added link to 5.1 Installation Guide
* Mon May 04 1998 Erik Troan
- changed summary and description for new version of RPM
* Fri Oct 24 1997 Otto Hammersmith
- updated for 5.0.. new links to various LDP guides
* Thu Jul 31 1997 Erik Troan
- made a noarch package
* Tue Apr 15 1997 Erik Troan
- Incorporated Otto's fix into tarball properly.
* Mon Apr 14 1997 Otto Hammersmith
- Fixed an error in /usr/doc/HTML/index.html that said we provided
60 days of installation support, not 30 like it should.