3 # - few install errors (ignored):
4 # ln: creating symbolic link `/usr/bin/ie55': Permission denied
5 # ln: creating symbolic link `/usr/bin/ie5': Permission denied
6 # - sources downloaded via install script as NoSourceXX
7 # - move profiles to $HOME directory
8 # - License tag specifies package license? then it should not be GPL
10 # This spec file is released under the GNU General Public License version 2.0
11 # (http://www.gnu.org/licenses/gpl.txt).
13 # NOTE: Releasing this spec file under the GPL does not alter the licensing
14 # of Internet Explorer itself. Satisfying the terms of Internet Explorer's
15 # license remains the user's responsibility.
17 # NOTE: For IE7 you should have normaliz.dll and inetcplc.dll from your
18 # WindowsXP SP2 installation!
20 %bcond_with ie7 # build ie7 package
22 %bcond_with all_locales # build for all locales
23 %bcond_without locale_en_US # build without en_US version
24 %bcond_with locale_ar # build with ar version
25 %bcond_with locale_cs # build with cs version
26 %bcond_with locale_da # build with da version
27 %bcond_with locale_de # build with de version
28 %bcond_with locale_el # build with el version
29 %bcond_with locale_es # build with es version
30 %bcond_with locale_fi # build with fi version
31 %bcond_with locale_fr # build with fr version
32 %bcond_with locale_he # build with he version
33 %bcond_with locale_hu # build with hu version
34 %bcond_with locale_it # build with it version
35 %bcond_with locale_ja # build with ja version
36 %bcond_with locale_ko # build with ko version
37 %bcond_with locale_nl # build with nl version
38 %bcond_with locale_no # build with no version
39 %bcond_with locale_pl # build with pl version
40 %bcond_with locale_pt # build with pt version
41 %bcond_with locale_pt_BR # build with pt_BR version
42 %bcond_with locale_ru # build with ru version
43 %bcond_with locale_sv # build with sv version
44 %bcond_with locale_tr # build with tr version
45 %bcond_with locale_zh_CN # build with zh_CN version
46 %bcond_with locale_zh_TW # build with zh_TW version
48 Summary: Run IE 7, 6, 5.5 and 5 on Linux with Wine
49 Summary(pl.UTF-8): Uruchamianie IE 7, 6, 5.5 i 5 pod Linuksem przy użyciu Wine
54 Group: X11/Applications/Networking
55 Source0: http://www.tatanka.com.br/ies4linux/downloads/%{name}-%{version}.tar.gz
56 # Source0-md5: a2983360de355d1a407eb20077c39792
57 Source1: %{name}.ie.sh
59 %if %{with locale_en_US}
60 Source2: http://download.microsoft.com/download/3/8/8/38889DC1-848C-4BF2-8335-86C573AD86D9/IE7-WindowsXP-x86-enu.exe
68 Source5: http://download.microsoft.com/download/6/a/0/6a01b4fa-66e5-4447-8f36-9330a8725ecd/IE7-WindowsXP-x86-plk.exe
72 Patch0: %{name}-destdir.patch
74 URL: http://www.tatanka.com.br/ies4linux/page/Main_Page
76 BuildRequires: cabextract
79 Requires(postun): /usr/sbin/groupdel
80 Requires(postun): /usr/sbin/userdel
81 Requires(pre): /bin/id
82 Requires(pre): /usr/sbin/groupadd
83 Requires(pre): /usr/sbin/useradd
85 Requires: wine >= 1:0.9.37
86 #Requires: wine-programs
87 ExclusiveArch: %{ix86}
88 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
90 %define _preserve_env %_preserve_env_base TERM
91 %define _installdir %{_datadir}/ies4linux
93 %if %{with all_locales}
94 %define with_locale_ar 1
95 %define with_locale_cs 1
96 %define with_locale_da 1
97 %define with_locale_de 1
98 %define with_locale_el 1
99 %define with_locale_en_US 1
100 %define with_locale_es 1
101 %define with_locale_fi 1
102 %define with_locale_fr 1
103 %define with_locale_he 1
104 %define with_locale_hu 1
105 %define with_locale_it 1
106 %define with_locale_ja 1
107 %define with_locale_ko 1
108 %define with_locale_nl 1
109 %define with_locale_no 1
110 %define with_locale_pl 1
111 %define with_locale_pt 1
112 %define with_locale_pt_BR 1
113 %define with_locale_ru 1
114 %define with_locale_sv 1
115 %define with_locale_tr 1
116 %define with_locale_zh_CN 1
117 %define with_locale_zh_TW 1
120 %define loc_en_US en-US
121 %if %{without locale_en_US}
126 %if %{with locale_pt_BR}
127 %define loc_pt_BR pt-BR
131 %if %{with locale_de}
136 %if %{with locale_fr}
141 %if %{with locale_es}
146 %if %{with locale_it}
151 %if %{with locale_nl}
156 %if %{with locale_sv}
161 %if %{with locale_ja}
166 %if %{with locale_ko}
171 %if %{with locale_no}
176 %if %{with locale_da}
181 %if %{with locale_zh_CN}
186 %if %{with locale_zh_TW}
191 %if %{with locale_fi}
196 %if %{with locale_pl}
201 %if %{with locale_hu}
206 %if %{with locale_ar}
211 %if %{with locale_he}
216 %if %{with locale_cs}
221 %if %{with locale_pt}
226 %if %{with locale_ru}
231 %if %{with locale_el}
236 %if %{with locale_tr}
240 %define locales %{loc_en_US} %{loc_pt_BR} %{loc_de} %{loc_fr} %{loc_es} %{loc_it} %{loc_nl} %{loc_sv} %{loc_ja} %{loc_ko} %{loc_no} %{loc_da} %{loc_cn} %{loc_tw} %{loc_fi} %{loc_pl} %{loc_hu} %{loc_ar} %{loc_he} %{loc_cs} %{loc_pt} %{loc_ru} %{loc_el} %{loc_tr}
243 IEs4Linux is the simpler way to have Microsoft Internet Explorer
246 %description -l pl.UTF-8
247 IEs4Linux to prostszy sposób na uruchamianie Microsoft Internet
248 Explorera pod Linuksem.
251 Summary: Internet Explorer 5
252 Summary(pl.UTF-8): Internet Explorer 5
253 Group: X11/Applications/Networking
254 Requires: ies4linux = %{version}-%{release}
255 Obsoletes: ies4linux-ie5
257 %description ie5-en_US
260 %description ie5-en_US -l pl.UTF-8
264 Summary: Internet Explorer 5.5
265 Summary(pl.UTF-8): Internet Explorer 5.5
266 Group: X11/Applications/Networking
267 Requires: ies4linux = %{version}-%{release}
268 Obsoletes: ies4linux-ie55
270 %description ie55-en_US
271 Internet Explorer 5.5.
273 %description ie55-en_US -l pl.UTF-8
274 Internet Explorer 5.5.
277 Summary: Internet Explorer 6 Arabic edition
278 Summary(pl.UTF-8): Internet Explorer 6 w wersji arabskiej
279 Group: X11/Applications/Networking
280 Requires: ies4linux = %{version}-%{release}
283 Internet Explorer 6 Arabic edition.
285 %description ie6-ar -l pl.UTF-8
286 Internet Explorer 6 w wersji arabskiej.
289 Summary: Internet Explorer 6 Czech edition
290 Summary(pl.UTF-8): Internet Explorer 6 w wersji czeskiej
291 Group: X11/Applications/Networking
292 Requires: ies4linux = %{version}-%{release}
295 Internet Explorer 6 Czech edition.
297 %description ie6-cs -l pl.UTF-8
298 Internet Explorer 6 w wersji czeskiej.
301 Summary: Internet Explorer 6 Danish edition
302 Summary(pl.UTF-8): Internet Explorer 6 w wersji duńskiej
303 Group: X11/Applications/Networking
304 Requires: ies4linux = %{version}-%{release}
307 Internet Explorer 6 Danish edition.
309 %description ie6-da -l pl.UTF-8
310 Internet Explorer 6 w wersji duńskiej.
313 Summary: Internet Explorer 6 German edition
314 Summary(pl.UTF-8): Internet Explorer 6 w wersji niemieckiej
315 Group: X11/Applications/Networking
316 Requires: ies4linux = %{version}-%{release}
319 Internet Explorer 6 German edition.
321 %description ie6-de -l pl.UTF-8
322 Internet Explorer 6 w wersji niemieckiej.
325 Summary: Internet Explorer 6 Greek edition
326 Summary(pl.UTF-8): Internet Explorer 6 w wersji greckiej
327 Group: X11/Applications/Networking
328 Requires: ies4linux = %{version}-%{release}
331 Internet Explorer 6 Greek edition.
333 %description ie6-el -l pl.UTF-8
334 Internet Explorer 6 w wersji greckiej.
337 Summary: Internet Explorer 6 US English edition
338 Summary(pl.UTF-8): Internet Explorer 6 w wersji angielskiej (USA)
339 Group: X11/Applications/Networking
340 Requires: ies4linux = %{version}-%{release}
341 Obsoletes: ies4linux-ie6
343 %description ie6-en_US
344 Internet Explorer 6 US English edition.
346 %description ie6-en_US -l pl.UTF-8
347 Internet Explorer 6 w wersji angielskiej (USA).
350 Summary: Internet Explorer 6 Spanish edition
351 Summary(pl.UTF-8): Internet Explorer 6 w wersji hiszpańskiej
352 Group: X11/Applications/Networking
353 Requires: ies4linux = %{version}-%{release}
356 Internet Explorer 6 Spanish edition.
358 %description ie6-es -l pl.UTF-8
359 Internet Explorer 6 w wersji hiszpańskiej.
362 Summary: Internet Explorer 6 Finnish edition
363 Summary(pl.UTF-8): Internet Explorer 6 w wersji fińskiej
364 Group: X11/Applications/Networking
365 Requires: ies4linux = %{version}-%{release}
368 Internet Explorer 6 Finnish edition.
370 %description ie6-fi -l pl.UTF-8
371 Internet Explorer 6 w wersji fińskiej.
374 Summary: Internet Explorer 6 French edition
375 Summary(pl.UTF-8): Internet Explorer 6 w wersji francuskiej
376 Group: X11/Applications/Networking
377 Requires: ies4linux = %{version}-%{release}
380 Internet Explorer 6 French edition.
382 %description ie6-fr -l pl.UTF-8
383 Internet Explorer 6 w wersji francuskiej.
386 Summary: Internet Explorer 6 Hebrew edition
387 Summary(pl.UTF-8): Internet Explorer 6 w wersji hebrajskiej
388 Group: X11/Applications/Networking
389 Requires: ies4linux = %{version}-%{release}
392 Internet Explorer 6 Hebrew edition.
394 %description ie6-he -l pl.UTF-8
395 Internet Explorer 6 w wersji hebrajskiej.
398 Summary: Internet Explorer 6 Hungarian edition
399 Summary(pl.UTF-8): Internet Explorer 6 w wersji węgierskiej
400 Group: X11/Applications/Networking
401 Requires: ies4linux = %{version}-%{release}
404 Internet Explorer 6 Hungarian edition.
406 %description ie6-hu -l pl.UTF-8
407 Internet Explorer 6 w wersji węgierskiej.
410 Summary: Internet Explorer 6 Italian edition
411 Summary(pl.UTF-8): Internet Explorer 6 w wersji włoskiej
412 Group: X11/Applications/Networking
413 Requires: ies4linux = %{version}-%{release}
416 Internet Explorer 6 Italian edition.
418 %description ie6-it -l pl.UTF-8
419 Internet Explorer 6 w wersji włoskiej.
422 Summary: Internet Explorer 6 Japanese edition
423 Summary(pl.UTF-8): Internet Explorer 6 w wersji japońskiej
424 Group: X11/Applications/Networking
425 Requires: ies4linux = %{version}-%{release}
428 Internet Explorer 6 Japanese edition.
430 %description ie6-ja -l pl.UTF-8
431 Internet Explorer 6 w wersji japońskiej.
434 Summary: Internet Explorer 6 Korean edition
435 Summary(pl.UTF-8): Internet Explorer 6 w wersji koreańskiej
436 Group: X11/Applications/Networking
437 Requires: ies4linux = %{version}-%{release}
440 Internet Explorer 6 Korean edition.
442 %description ie6-ko -l pl.UTF-8
443 Internet Explorer 6 w wersji koreańskiej.
446 Summary: Internet Explorer 6 Dutch edition
447 Summary(pl.UTF-8): Internet Explorer 6 w wersji holenderskiej
448 Group: X11/Applications/Networking
449 Requires: ies4linux = %{version}-%{release}
452 Internet Explorer 6 Dutch edition.
454 %description ie6-nl -l pl.UTF-8
455 Internet Explorer 6 w wersji holenderskiej.
458 Summary: Internet Explorer 6 Norwegian edition
459 Summary(pl.UTF-8): Internet Explorer 6 w wersji norweskiej
460 Group: X11/Applications/Networking
461 Requires: ies4linux = %{version}-%{release}
464 Internet Explorer 6 Norwegian edition.
466 %description ie6-no -l pl.UTF-8
467 Internet Explorer 6 w wersji norweskiej.
470 Summary: Internet Explorer 6 Polish edition
471 Summary(pl.UTF-8): Internet Explorer 6 w wersji polskiej
472 Group: X11/Applications/Networking
473 Requires: ies4linux = %{version}-%{release}
476 Internet Explorer 6 Polish edition.
478 %description ie6-pl -l pl.UTF-8
479 Internet Explorer 6 w wersji polskiej.
482 Summary: Internet Explorer 6 Portuguese edition
483 Summary(pl.UTF-8): Internet Explorer 6 w wersji portugalskiej
484 Group: X11/Applications/Networking
485 Requires: ies4linux = %{version}-%{release}
488 Internet Explorer 6 Portuguese edition.
490 %description ie6-pt -l pl.UTF-8
491 Internet Explorer 6 w wersji portugalskiej.
494 Summary: Internet Explorer 6 Brazilian Portuguese edition
495 Summary(pl.UTF-8): Internet Explorer 6 w wersji portugalskiej (dla Brazylii)
496 Group: X11/Applications/Networking
497 Requires: ies4linux = %{version}-%{release}
499 %description ie6-pt_BR
500 Internet Explorer 6 Brazilian Portuguese edition.
502 %description ie6-pt_BR -l pl.UTF-8
503 Internet Explorer 6 w wersji portugalskiej (dla Brazylii).
506 Summary: Internet Explorer 6 Russian edition
507 Summary(pl.UTF-8): Internet Explorer 6 w wersji rosyjskiej
508 Group: X11/Applications/Networking
509 Requires: ies4linux = %{version}-%{release}
512 Internet Explorer 6 Russian edition.
514 %description ie6-ru -l pl.UTF-8
515 Internet Explorer 6 w wersji rosyjskiej.
518 Summary: Internet Explorer 6 Swedish edition
519 Summary(pl.UTF-8): Internet Explorer 6 w wersji szwedzkiej
520 Group: X11/Applications/Networking
521 Requires: ies4linux = %{version}-%{release}
524 Internet Explorer 6 Swedish edition.
526 %description ie6-sv -l pl.UTF-8
527 Internet Explorer 6 w wersji szwedzkiej.
530 Summary: Internet Explorer 6 Turkish edition
531 Summary(pl.UTF-8): Internet Explorer 6 w wersji tureckiej
532 Group: X11/Applications/Networking
533 Requires: ies4linux = %{version}-%{release}
536 Internet Explorer 6 Turkish edition.
538 %description ie6-tr -l pl.UTF-8
539 Internet Explorer 6 w wersji tureckiej.
542 Summary: Internet Explorer 6 Chinese (China) edition
543 Summary(pl.UTF-8): Internet Explorer 6 w wersji chińskiej (dla Chin)
544 Group: X11/Applications/Networking
545 Requires: ies4linux = %{version}-%{release}
547 %description ie6-zh_CN
548 Internet Explorer 6 Chinese (China) edition.
550 %description ie6-zh_CN -l pl.UTF-8
551 Internet Explorer 6 w wersji chińskiej (dla Chin).
554 Summary: Internet Explorer 6 Chinese (Taiwan) edition
555 Summary(pl.UTF-8): Internet Explorer 6 w wersji chińskiej (dla Tajwanu)
556 Group: X11/Applications/Networking
557 Requires: ies4linux = %{version}-%{release}
559 %description ie6-zh_TW
560 Internet Explorer 6 Chinese (Taiwan) edition.
562 %description ie6-zh_TW -l pl.UTF-8
563 Internet Explorer 6 w wersji chińskiej (dla Tajwanu).
566 Summary: Internet Explorer 7 US English edition
567 Summary(pl.UTF-8): Internet Explorer 7 w wersji angielskiej (USA)
568 Group: X11/Applications/Networking
569 Requires: ies4linux = %{version}-%{release}
570 Obsoletes: ies4linux-ie7
572 %description ie7-en_US
573 Internet Explorer 7 US English edition.
575 %description ie7-en_US -l pl.UTF-8
576 Internet Explorer 7 w wersji angielskiej (USA).
579 Summary: Internet Explorer 7 Polish edition
580 Summary(pl.UTF-8): Internet Explorer 7 w wersji polskiej
581 Group: X11/Applications/Networking
582 Requires: ies4linux = %{version}-%{release}
585 Internet Explorer 7 Polish edition.
587 %description ie7-pl -l pl.UTF-8
588 Internet Explorer 7 w wersji polskiej.
600 %if %{with locale_en_US}
603 cabextract %{SOURCE2}
607 %if %{with locale_pl}
610 cabextract %{SOURCE5}
619 rm -rf $RPM_BUILD_ROOT
620 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_bindir},%{_pixmapsdir}}
622 cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ies4linux
628 VER=`echo $VERSION | sed 's:\.0::; s:\.::'`
629 cat > $RPM_BUILD_ROOT%{_desktopdir}/ie$VER-$LOCALE.desktop << EOF
631 Name=Internet Explorer $VERSION ($LOCALE)
632 Name[pl]=Internet Explorer $VERSION ($LOCALE)
633 GenericName=Web Browser
634 GenericName[pl]=Przeglądarka WWW
635 Comment=Internet Explorer $VERSION ($LOCALE)
636 Comment[pl]=Internet Explorer $VERSION ($LOCALE)
639 Icon=%{_pixmapsdir}/ies4linux.svg
640 Categories=Network;WebBrowser;
646 cat > add_file_to_list << 'EOF'
652 PKGFILE=`echo "$FULLFILE" | sed "s:$RPM_BUILD_ROOT::"`
653 LIST=ie$VERSION-$LOCALE.files
655 if [ -d "$FULLFILE" ]; then
656 echo "%%dir \"$PKGFILE\"" >> $LIST
658 EXE=`basename "$PKGFILE" | sed -r 's:.+.(exe):\1:g'`
659 if [ "$EXE" = "EXE" ]; then
660 echo "%%attr(755,root,root) \"$PKGFILE\"" >> $LIST
662 echo "\"$PKGFILE\"" >> $LIST
666 chmod +x add_file_to_list
671 # It seems that some files are written in background
672 # so we have to wait for them to be available.
678 LIST=ie$VERSION-$LOCALE.files
679 echo "%defattr(644,root,root,755)" > $LIST
681 find $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie$VERSION -exec ./add_file_to_list $LOCALE $VERSION '{}' ';'
683 echo "%%attr(755,root,root) %{_bindir}/ie$VERSION-$LOCALE" >> $LIST
684 [ "$LOCALE" = "en-US" ] && echo "%%attr(755,root,root) %{_bindir}/ie$VERSION" >> $LIST
685 echo "%{_desktopdir}/ie$VERSION-$LOCALE.desktop" >> $LIST
686 echo "%%dir %{_installdir}/$LOCALE" >> $LIST
689 # IE 5, 5.5 built only with en_US locale
690 # IE 7 needs more sources for other locales
691 for LOCALE in %{locales}; do
692 [ "$LOCALE" = "" ] && continue
694 [ "xen-US" = "x$LOCALE" ] && OPTS="--install-ie55 --install-ie5"
698 --basedir %{_installdir}/$LOCALE \
699 --bindir %{_bindir} \
700 --destdir $RPM_BUILD_ROOT \
701 --downloaddir %{_sourcedir} \
705 if [ ! -d $RPM_BUILD_ROOT%{_installdir}/profiles ]; then
706 install -d $RPM_BUILD_ROOT%{_installdir}/profiles
708 # somewhy it is created as $USER not "All Users" with wine-1.1.22
710 if [ "$RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/drive_c/windows/profiles/$USER" ]; then
711 mv "$RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/drive_c/windows/profiles/"{$USER,"All Users"}
714 cp -a "$RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/drive_c/windows/profiles/All Users" \
715 $RPM_BUILD_ROOT%{_installdir}/profiles
717 [ ! -f $RPM_BUILD_ROOT%{_pixmapsdir}/ies4linux.svg ] && \
718 cp $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ies4linux.svg \
719 $RPM_BUILD_ROOT%{_pixmapsdir}
720 rm -f $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ies4linux.svg
721 rm -rf $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie{5,55,6}/drive_c/windows/profiles
722 rm -f $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie{5,55,6}/.firstrun
727 rm -rf $RPM_BUILD_ROOT%{_installdir}/$LOCALE/bin
728 ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie6-$LOCALE
729 gen_desktopfile $LOCALE 6.0
730 ln -sf %{_installdir}/profiles $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/drive_c/windows/profiles
732 if [ "$LOCALE" = "en-US" ]; then
733 ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie5
734 ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie5-en-US
735 ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie55
736 ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie55-en-US
737 ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie6
738 gen_desktopfile $LOCALE 5
739 gen_desktopfile $LOCALE 5.5
740 ln -sf %{_installdir}/profiles $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie5/drive_c/windows/profiles
741 ln -sf %{_installdir}/profiles $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie55/drive_c/windows/profiles
742 gen_filelist $LOCALE 5
743 gen_filelist $LOCALE 55
747 if [ "$LOCALE" = "en-US" ] || [ "$LOCALE" = "pl" ]; then
748 [ "$LOCALE" = "en-US" ] && ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie7
749 ln -sf ies4linux $RPM_BUILD_ROOT%{_bindir}/ie7-$LOCALE
750 gen_desktopfile $LOCALE 7
752 cp -a $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6 $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie7
753 cp ie7/$LOCALE/{wininet,iertutil,shlwapi,urlmon,jscript,vbscript,mshtml,mshtmled,mshtmler,advpack}.dll \
754 ie7/$LOCALE/inetcpl.cpl ie7/inetcplc.dll ie7/normaliz.dll \
755 $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie7/drive_c/windows/system
757 cat $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie6/user.reg | \
758 sed 's:"Version"="win98":"Version"="win98"\n\n[Software\\Wine\\AppDefaults\\iexplore.exe] 1161336541\n"Version"="winxp"\n:' \
759 > $RPM_BUILD_ROOT%{_installdir}/$LOCALE/ie7/user.reg
761 gen_filelist $LOCALE 7
765 gen_filelist $LOCALE 6
769 rm -rf $RPM_BUILD_ROOT
772 %groupadd -g 212 -r -f ies4linux
775 if [ "$1" = 1 ]; then
776 %banner -e %{name} <<'EOF'
777 Remember to add users which will use IEs to ies4linux group or they won't be
778 able to create their profiles and running IEs will fail.
784 if [ "$1" = "0" ]; then
785 %groupremove ies4linux
789 %defattr(644,root,root,755)
792 %attr(755,root,root) %{_bindir}/ies4linux
793 %{_pixmapsdir}/%{name}.svg
794 %dir %attr(770,root,ies4linux) %{_installdir}/profiles
795 %dir "%{_installdir}/profiles/All Users"
796 %dir "%{_installdir}/profiles/All Users/Application Data"
797 %dir "%{_installdir}/profiles/All Users/Desktop"
798 %dir "%{_installdir}/profiles/All Users/Documents"
799 %dir "%{_installdir}/profiles/All Users/Favorites"
800 %dir "%{_installdir}/profiles/All Users/Start Menu"
801 %dir "%{_installdir}/profiles/All Users/Start Menu/Programs"
802 %dir "%{_installdir}/profiles/All Users/Start Menu/Programs/StartUp"
803 %dir "%{_installdir}/profiles/All Users/Templates"
805 %if %{with locale_en_US}
806 %files ie5-en_US -f ie5-en-US.files
807 %defattr(644,root,root,755)
808 %files ie55-en_US -f ie55-en-US.files
809 %defattr(644,root,root,755)
810 %files ie6-en_US -f ie6-en-US.files
811 %defattr(644,root,root,755)
814 %if %{with locale_ar}
815 %files ie6-ar -f ie6-ar.files
816 %defattr(644,root,root,755)
819 %if %{with locale_cs}
820 %files ie6-cs -f ie6-cs.files
821 %defattr(644,root,root,755)
824 %if %{with locale_da}
825 %files ie6-da -f ie6-da.files
826 %defattr(644,root,root,755)
829 %if %{with locale_de}
830 %files ie6-de -f ie6-de.files
831 %defattr(644,root,root,755)
834 %if %{with locale_el}
835 %files ie6-el -f ie6-el.files
836 %defattr(644,root,root,755)
839 %if %{with locale_es}
840 %files ie6-es -f ie6-es.files
841 %defattr(644,root,root,755)
844 %if %{with locale_fi}
845 %files ie6-fi -f ie6-fi.files
846 %defattr(644,root,root,755)
849 %if %{with locale_fr}
850 %files ie6-fr -f ie6-fr.files
851 %defattr(644,root,root,755)
854 %if %{with locale_he}
855 %files ie6-he -f ie6-he.files
856 %defattr(644,root,root,755)
859 %if %{with locale_hu}
860 %files ie6-hu -f ie6-hu.files
861 %defattr(644,root,root,755)
864 %if %{with locale_it}
865 %files ie6-it -f ie6-it.files
866 %defattr(644,root,root,755)
869 %if %{with locale_ja}
870 %files ie6-ja -f ie6-ja.files
871 %defattr(644,root,root,755)
874 %if %{with locale_ko}
875 %files ie6-ko -f ie6-ko.files
876 %defattr(644,root,root,755)
879 %if %{with locale_nl}
880 %files ie6-nl -f ie6-nl.files
881 %defattr(644,root,root,755)
884 %if %{with locale_no}
885 %files ie6-no -f ie6-no.files
886 %defattr(644,root,root,755)
889 %if %{with locale_pl}
890 %files ie6-pl -f ie6-pl.files
891 %defattr(644,root,root,755)
894 %if %{with locale_pt}
895 %files ie6-pt -f ie6-pt.files
896 %defattr(644,root,root,755)
899 %if %{with locale_pt_BR}
900 %files ie6-pt_BR -f ie6-pt-BR.files
901 %defattr(644,root,root,755)
904 %if %{with locale_ru}
905 %files ie6-ru -f ie6-ru.files
906 %defattr(644,root,root,755)
909 %if %{with locale_sv}
910 %files ie6-sv -f ie6-sv.files
911 %defattr(644,root,root,755)
914 %if %{with locale_tr}
915 %files ie6-tr -f ie6-tr.files
916 %defattr(644,root,root,755)
919 %if %{with locale_zh_CN}
920 %files ie6-zh_CN -f ie6-cn.files
921 %defattr(644,root,root,755)
924 %if %{with locale_zh_TW}
925 %files ie6-zh_TW -f ie6-tw.files
926 %defattr(644,root,root,755)
930 %if %{with locale_en_US}
931 %files ie7-en_US -f ie7-en-US.files
932 %defattr(644,root,root,755)
934 %if %{with locale_pl}
935 %files ie7-pl -f ie7-pl.files
936 %defattr(644,root,root,755)