Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 64600d2ea30a2ea87364e87308c38b1f > files > 2

indexhtml-9.1-8mdk.src.rpm

Summary:	Mandrake html welcome page
Name:		indexhtml
Version:	9.1
Release:	8mdk
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/doc/HTML/
install -m 0644 HTML/index.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 | \
            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 | \
                sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
                %_datadir/doc/HTML/index.html
            break;

        fi
    fi
done

if [ ! -r %_datadir/doc/HTML/index.html ]; then
    cat %_datadir/mdk/indexhtml/index-en.html | \
        sed 's:="\([^"]*.css\)">:="%_datadir/mdk/indexhtml/\1">:' > \
        %_datadir/doc/HTML/index.html
fi


%preun
if [ $1 = 0 ]; then
    rm -f %_datadir/doc/HTML/index.html
fi



%files
%defattr(-,root,root,-)
%dir %_datadir/mdk/
%dir %_datadir/mdk/indexhtml/
%_datadir/mdk/indexhtml/*
%verify (not md5 mtime size) %_datadir/doc/HTML/index.html

%changelog
* Thu Mar 13 2003 Frederic Lepied <flepied@mandrakesoft.com> 9.1-8mdk
- removed buggy %postun

* Tue Mar 11 2003 Frederic Lepied <flepied@mandrakesoft.com> 9.1-7mdk
- removed obsolete sites from title bar

* 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

* Thu Mar 06 2003 Laurent MONTEL <lmontel@mandrakesoft.com> 9.1-4mdk
- fix generation of the html file
- cleanup before removal

* Thu Feb 27 2003 David BAUDENS <baudens@mandrakesoft.com> 9.1-3mdk
- Move in /usr/share/mdk

* Mon Feb 24 2003 Pablo Saratxaga <pablo@mandrakesoft.com> 9.1-2mdk
- updated message of the indexhtml pages

* Wed Jan 29 2003 Pablo Saratxaga <pablo@mandrakesoft.com> 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 <pablo@mandrakesoft.com> 9.0-9mdk
- small corrections on various files (fixed links)
- updated Estonian and Catalan files

* Mon Nov 18 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 9.0-8mdk
- Added Finnish file
- corrected Japanese typo
- updated Macedonian and traditional Chinese files

* Thu Sep 12 2002 David BAUDENS <baudens@mandrakesoft.com> 9.0-7mdk
- Fix one bad translation in french page

* Thu Sep  5 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 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 <baudens@mandrakesoft.com> 9.0-5mdk
- Remove obsoletes pages and flags
- Add MandrakeClub links

* Thu Aug 29 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 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 <baudens@mandrakesoft.com> 9.0-3mdk
- Fix a typo (thanks to Quel Qun)

* Fri Aug 16 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 9.0-2mdk
- updated Czech and Polish files
- fixed Linux Weekly News urls

* Mon Jul 29 2002 David BAUDENS <baudens@mandrakesoft.com> 9.0-1mdk
- fix a typo. Thanks to Spearman

* Mon Jul 22 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 8.2-7mdk
- updated Slovak file

* Tue Jul 16 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 8.2-6mdk
- fixed a typo in English file
- updated Romanian and Bulgarian files

* Mon Mar 11 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 8.2-5mdk
- updated cy, da, nl, sr, ru, hr, ms, sl pages

* Mon Mar 04 2002 David BAUDENS <baudens@mandrakesoft.com> 8.2-4mdk
- Remove MamaLinux from french page

* Wed Feb 20 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 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 <pablo@mandrakesoft.com> 8.2-2mdk
- updated Italian and Arabic files

* Fri Feb 08 2002 Pablo Saratxaga <pablo@mandrakesoft.com> 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 <pablo@mandrakesoft.com> 8.1-10mdk
- updates of various translated files; utf-8 used instead of marginal
  encodings

* Fri Oct 26 2001 David BAUDENS <bauden@mandrakesoft.com> 8.1-9mdk
- Fix bad links in english and french pages

* Mon Sep 24 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 8.1-8mdk
- rebuild including latest translations

* Fri Sep 21 2001 David BAUDENS <baudens@mandrakesoft.com> 8.1-7mdk
- Add german translation (thanks to Stefan Siegel)

* Fri Sep 21 2001 David BAUDENS <baudens@mandrakesoft.com> 8.1-6mdk
- Fix a typo in french page
- Add french links in french page

* Mon Sep 17 2001 David BAUDENS <baudens@mandrakesoft.com> 8.1-5mdk
- Fix french translation (thanks to Laurent MONTEL)
- Fix english translation (thanks to Frederic BASTOK)

* Sun Sep 16 2001 David BAUDENS <baudens@mandrakesoft.com> 8.1-4mdk
- Add french translation

* Thu Sep 13 2001 David BAUDENS <baudens@mandrakesoft.com> 8.1-3mdk
- Use new indexhtml page for english

* Tue Sep 06 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 8.1-2mdk
- fixed typos in Hungarian file

* Mon Aug 13 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 8.1-1mdk
- changed to 8.1 the version number.
- Updated Hungarian page, added Bosanski page

* Fri Apr 20 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 8.0-4mdk
- added Traditional Chinese page
- corrected Red Hat Linux name (bug #2919)

* Mon Apr 16 2001 David BAUDENS <baudens@mandrakesoft.com> 8.0-3mdk
- Fix dead link in index-fr.html

* Fri Apr 12 2001 David BAUDENS <baudens@mandrakesoft.com> 8.0-2mdk
- Changed index-en.html, index-fr.html and index.html

* Tue Mar 06 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 8.0-1mdk
- changed version to 8.0
- added some more html files

* Thu Jan 30 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 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 <pablo@mandrakesoft.com> 7.1-12mdk
- added Korean page

* Fri Sep 15 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 7.1-11mdk
- fix out the conflict with mine and pablo upload

* Fri Sep 15 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 7.1-10mdk
- corrected %pre script, Pablo sucks

* Mon Sep 04 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-9mdk
- added Greek page
- corrections to Czech page
- macrozification

* Mon Aug 28 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-8mdk
- corrections to the Polish file

* Mon Jul 17 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-7mdk
- added Basque file

* Mon Jul 03 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-6mdk
- corrected typos in the Czech file
- corrected the charset declaration of some pages

* Fri Jun 16 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-5mdk
- Added Arabic file

* Mon May 22 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-4mdk
- Corrected typo in Russian file (a word was truncated)

* Thu May 18 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-3mdk
- Added simplified Chinese & Afrikaans files

* Fri Apr 21 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.1-2mdk
- added Slovenian and Vietnamese pages

* Tue Apr 18 2000 Warly <warly@mandrakesoft.com> 7.1-1mdk
- 7.1

* Tue Apr 18 2000 dam's <damien@mandrakesoft.com> 7.0-6mdk
- Changed logo, icon.

* Thu Feb 03 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 7.0-5mdk
- added Serbian (both latin and Cyrillic) language file

* Mon Jan 10 2000 Pablo Saratxaga <pablo@mandrakesoft.com>
- added Latvian page

* Wed Jan 05 2000 Pablo Saratxaga <pablo@mandrakesoft.com>
- added Japanese page

* Mon Dec 27 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- corrected some html pages
- added Esperanto page

* Tue Dec 21 1999 Florent Villard <warly@mandrakesoft.com>
- new images for 7.0

* Tue Nov 16 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- added cs, gl translations

* Fri Nov 05 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- added bg, da, et, mk, sk translations

* Fri Sep 28 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- added translations for br, ca, cy, pt

* Fri Sep 17 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- added translations for ga,is,lt,pl,ru,tr,uk

* Tue Sep 14 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- added translations for de,hu,nl,ro

* Sat Aug 21 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- 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 <chmouel@mandrakesoft.com>
- Rewriting the .spec.
- Build for new environement (Rel: 3mdk).

* Thu Apr 29 1999 Gaël Duval <gael@linux-mandrake.com>
- lipstick

* Thu Apr 25 1999 Gaël Duval <gael@linux-mandrake.com>
- updated for Linux-Mandrake 6.0

* Thu Jan 21 1999 Gaël Duval <gael@linux-mandrake.com>
- updated for Linux-Mandrake 5.3

* Mon Nov 16 1998 Gaël Duval <gael@linux-mandrake.com>
- updated for Linux-Mandrake

* Sun Oct 11 1998 Bill Nottingham <notting@redhat.c9om>
- point to 5.2 installation guide
- 90 days installation support, not 30

* Tue Oct  6 1998 Matt Wilson <msw@redhat.com>
- Remove link to Applixware as we no longer ship it.

* Sat Sep 19 1998 Jeff johnson <jbj@redhat.com>
- update version to 5.2.
- tweak description so that it's slightly different than summary.

* Tue Jul 21 1998 Jeff Johnson <jbj@redhat.com>
- fix spelling error.
- add build root.

* Wed May 06 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Wed May 06 1998 Edward C. Bailey <ed@redhat.com>
- Added link to 5.1 Installation Guide

* Mon May 04 1998 Erik Troan <ewt@redhat.com>
- changed summary and description for new version of RPM

* Fri Oct 24 1997 Otto Hammersmith <otto@redhat.com>
- updated for 5.0.. new links to various LDP guides

* Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
- made a noarch package

* Tue Apr 15 1997 Erik Troan <ewt@redhat.com>
- Incorporated Otto's fix into tarball properly. 

* Mon Apr 14 1997 Otto Hammersmith <otto@redhat.com>
- Fixed an error in /usr/doc/HTML/index.html that said we provided 
  60 days of installation support, not 30 like it should.