Summary: Mandrakelinux html welcome page
Name: indexhtml
Version: 10.2
Release: 2mdk
URL: http://www.mandrakelinux.com/
Requires: wget
Source: indexhtml-%version.tar.bz2
Group: System/Base
License: GPL
BuildRoot: %_tmppath/%name-%version-%release-root
BuildArch: noarch
%description
Mandrakelinux index.html welcome page displayed by web browsers
when they are launched; and first mail displayed on mail clients
after installation.
%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 -m 0755 update-indexhtml %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 "Content-Type: multipart/related; type=\"multipart/alternative\";" >>tmpfile
echo " boundary=\"=-tThpx1YEZqL4gn53WjQ1\"" >> tmpfile
echo "" >> tmpfile
echo "--=-tThpx1YEZqL4gn53WjQ1" >> tmpfile
echo "Content-Type: multipart/alternative; boundary=\"=-aFPGjTr5jUHhXPWxbLcT\"" >>tmpfile
echo "" >> tmpfile
echo "--=-aFPGjTr5jUHhXPWxbLcT" >> 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
install -d -m 0755 %buildroot/etc/sysconfig/network-scripts/ifup.d
cd %buildroot/etc/sysconfig/network-scripts/ifup.d
ln -s ../../../../%_datadir/mdk/indexhtml/update-indexhtml indexhtml
%clean
rm -fr %buildroot
%post
%_datadir/mdk/indexhtml/update-indexhtml nonetwork
%files
%defattr(-,root,root,-)
%_datadir/mdk/
%ghost %_datadir/doc/HTML/index.html
/etc/sysconfig/network-scripts/ifup.d/indexhtml
%changelog
* Fri Jan 28 2005 Frederic Lepied 10.2-2mdk
- po updates
- don't block when updating index
* Wed Jan 19 2005 Frederic Lepied 10.2-1mdk
- updated translations
- bumped the version
- dynamic index support
* Mon Oct 04 2004 Pablo Saratxaga 10.1-5mdk
- updated translations (sk,ka,nn,nl,hr,gl,ky,ca,pt,fa)
* Tue Sep 21 2004 David Baudens 10.1-4mdk
- Images: don't display borders
* Fri Sep 10 2004 Pablo Saratxaga 10.1-3mdk
- various new translations
* Tue Sep 07 2004 Pablo Saratxaga 10.1-2mdk
- new versions of the html and first-mail files
* Thu Sep 02 2004 Pablo Saratxaga 10.1-1mdk
- new versions of the html and first-mail files
* Wed Apr 07 2004 Pablo Saratxaga 10.0-11mdk
- corrected accent in generated multipart mail
* Mon Mar 29 2004 Pablo Saratxaga 10.0-12mdk
- integrated Basque translations
- Updates/additions for Catalan, Armenian, Chinese, Tajik, Macedonian,
Slovenian, Polish, Azeri, Kyrgyz, Arabic
* Fri Mar 12 2004 David Baudens 10.0-11mdk
- Switch to Mandrakelinux
* 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.