SPECS: ies4linux.spec - updated to 2.0.5 - localized packages - re...

pascalek pascalek at pld-linux.org
Tue May 8 22:08:59 CEST 2007


Author: pascalek                     Date: Tue May  8 20:08:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0.5
- localized packages
- removed not dowloadable source for normaliz.dll
- pl version for ie7

---- Files affected:
SPECS:
   ies4linux.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/ies4linux.spec
diff -u SPECS/ies4linux.spec:1.13 SPECS/ies4linux.spec:1.14
--- SPECS/ies4linux.spec:1.13	Mon Feb 12 23:09:10 2007
+++ SPECS/ies4linux.spec	Tue May  8 22:08:53 2007
@@ -1,6 +1,10 @@
 # $Revision$, $Date$
+#
 # TODO
 # - wants (ie6 at least) to download gecko installer, but still fails
+# - sources downloaded via install script as NoSourceXX
+# - move profiles to $HOME directory
+# - License tag specifies package license? then it should not be GPL
 #
 # This spec file is released under the GNU General Public License version 2.0
 # (http://www.gnu.org/licenses/gpl.txt).
@@ -9,36 +13,213 @@
 # of Internet Explorer itself. Satisfying the terms of Internet Explorer's
 # license remains the user's responsibility.
 
-# NOTE: For IE7 you should have normalize.dll and inetcomm.dll from your
+# NOTE: For IE7 you should have normaliz.dll and inetcplc.dll from your
 #	WindowsXP SP2 installation!
 
 %bcond_with	ie7	build ie7 package
 
 %define	_installdir	%{_datadir}/ies4linux
 
-# TODO:
-# - sources downloaded via install script as NoSourceXX
-# - move profiles to $HOME directory
-# - License tag specifies package license? then it should not be GPL
+%bcond_with	all_locales	# build for all locales
+%bcond_without	locale_en_US	# build without en_US version
+%bcond_with	locale_pt_BR	# build with pt_BR version
+%bcond_with	locale_de	# build with DE version
+%bcond_with	locale_fr	# build with FR version
+%bcond_with	locale_es	# build with ES version
+%bcond_with	locale_it	# build with IT version
+%bcond_with	locale_nl	# build with NL version
+%bcond_with	locale_sv	# build with SV version
+%bcond_with	locale_ja	# build with JA version
+%bcond_with	locale_ko	# build with KO version
+%bcond_with	locale_no	# build with NO version
+%bcond_with	locale_da	# build with DA version
+%bcond_with	locale_cn	# build with CN version
+%bcond_with	locale_tw	# build with TW version
+%bcond_with	locale_fi	# build with FI version
+%bcond_with	locale_pl	# build with PL version
+%bcond_with	locale_hu	# build with HU version
+%bcond_with	locale_ar	# build with AR version
+%bcond_with	locale_he	# build with HE version
+%bcond_with	locale_cs	# build with CS version
+%bcond_with	locale_pt	# build with PT version
+%bcond_with	locale_ru	# build with RU version
+%bcond_with	locale_el	# build with EL version
+%bcond_with	locale_tr	# build with TR version
+
+%if %{with all_locales}
+%define with_locale_en_US 1
+%define with_locale_pt_BR 1
+%define with_locale_de 1
+%define with_locale_fr 1
+%define with_locale_es 1
+%define with_locale_it 1
+%define with_locale_nl 1
+%define with_locale_sv 1
+%define with_locale_ja 1
+%define with_locale_ko 1
+%define with_locale_no 1
+%define with_locale_da 1
+%define with_locale_cn 1
+%define with_locale_tw 1
+%define with_locale_fi 1
+%define with_locale_pl 1
+%define with_locale_hu 1
+%define with_locale_ar 1
+%define with_locale_he 1
+%define with_locale_cs 1
+%define with_locale_pt 1
+%define with_locale_ru 1
+%define with_locale_el 1
+%define with_locale_tr 1
+%endif
+
+%define loc_en_US	en-US
+%if %{without locale_en_US}
+%define loc_en_US	""
+%endif
+
+%define loc_pt_BR 	""
+%if %{with locale_pt_BR}
+%define loc_pt_BR 	pt-BR
+%endif
+
+%define loc_de	""
+%if %{with locale_de}
+%define loc_de	de
+%endif
+
+%define loc_fr	""
+%if %{with locale_fr}
+%define loc_fr	fr
+%endif
+
+%define loc_es	""
+%if %{with locale_es}
+%define loc_es	es
+%endif
+
+%define loc_it	""
+%if %{with locale_it}
+%define loc_it	it
+%endif
+
+%define loc_nl	""
+%if %{with locale_nl}
+%define loc_nl	nl
+%endif
+
+%define loc_sv	""
+%if %{with locale_sv}
+%define loc_sv	sv
+%endif
+
+%define loc_ja	""
+%if %{with locale_ja}
+%define loc_ja	ja
+%endif
+
+%define loc_ko	""
+%if %{with locale_ko}
+%define loc_ko	ko
+%endif
+
+%define loc_no	""
+%if %{with locale_no}
+%define loc_no	no
+%endif
+
+%define loc_da	""
+%if %{with locale_da}
+%define loc_da	da
+%endif
+
+%define loc_cn	""
+%if %{with locale_cn}
+%define loc_cn	cn
+%endif
+
+%define loc_tw	""
+%if %{with locale_tw}
+%define loc_tw	tw
+%endif
+
+%define loc_fi	""
+%if %{with locale_fi}
+%define loc_fi	fi
+%endif
+
+%define loc_pl	""
+%if %{with locale_pl}
+%define loc_pl	pl
+%endif
+
+%define loc_hu	""
+%if %{with locale_hu}
+%define loc_hu	hu
+%endif
+
+%define loc_ar	""
+%if %{with locale_ar}
+%define loc_ar	ar
+%endif
+
+%define loc_he	""
+%if %{with locale_he}
+%define loc_he	he
+%endif
+
+%define loc_cs	""
+%if %{with locale_cs}
+%define loc_cs	cs
+%endif
+
+%define loc_pt	""
+%if %{with locale_pt}
+%define loc_pt	pt
+%endif
+
+%define loc_ru	""
+%if %{with locale_ru}
+%define loc_ru	ru
+%endif
+
+%define loc_el	""
+%if %{with locale_el}
+%define loc_el	el
+%endif
+
+%define loc_tr	""
+%if %{with locale_tr}
+%define loc_tr	tr
+%endif
+
+%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}
+
+
 Summary:	Run IE 7, 6, 5.5 and 5 on Linux with Wine
 Summary(pl.UTF-8):	Uruchamianie IE 7, 6, 5.5 i 5 pod Linuksem przy użyciu Wine
 Name:		ies4linux
-Version:	2.0
-Release:	0.6
+Version:	2.0.5
+Release:	1
 License:	GPL v2
 Group:		X11/Applications/Networking
 Source0:	http://www.tatanka.com.br/ies4linux/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	c790d47e8aef5267037b1df5250352f8
+# Source0-md5:	a2983360de355d1a407eb20077c39792
 Source1:	%{name}.ie.sh
 %if %{with ie7}
+%if %{with locale_en_US}
 Source2:	http://download.microsoft.com/download/3/8/8/38889DC1-848C-4BF2-8335-86C573AD86D9/IE7-WindowsXP-x86-enu.exe
 NoSource:	2
-Source3:	http://www.down-dll.com/dll/normaliz.zip
+%endif
+Source3:	normaliz.dll
 NoSource:	3
 Source4:	inetcplc.dll
 NoSource:	4
+%if %{with locale_pl}
+Source5:	http://download.microsoft.com/download/6/a/0/6a01b4fa-66e5-4447-8f36-9330a8725ecd/IE7-WindowsXP-x86-plk.exe
+NoSource:	5
+%endif
 %endif
-Source5:	%{name}.desktop
 Patch0:		%{name}-destdir.patch
 Patch1:		%{name}.patch
 URL:		http://www.tatanka.com.br/ies4linux/index-en.html
@@ -64,116 +245,523 @@
 IEs4Linux to prostszy sposób na uruchamianie Microsoft Internet
 Explorera pod Linuksem.
 
-%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%if %{with ie7}
-mkdir ie7
-cd ie7
-cabextract %{SOURCE2}
-unzip %{SOURCE3}
-cp %{SOURCE4} .
-cd -
-%endif
-
-for a in 5.0 5.5 6.0 7.0; do
-	v=$(echo "$a" | sed -e 's,\.0,,' | tr -d .)
-	sed -e "
-		s,ie6,ie$v,
-		s,6.0,$a,
-	" %{SOURCE5} > ie$v.desktop
-done
 
-%package ie5
+%package ie5-en_US
 Summary:	Internet Explorer 5
 Summary(pl.UTF-8):	Internet Explorer 5
 Group:		X11/Applications/Networking
 Requires:	ies4linux = %{version}-%{release}
+Obsoletes:	ies4linux-ie5
 
-%description ie5
+%description ie5-en_US
 Internet Explorer 5.
 
-%description ie5 -l pl.UTF-8
+%description ie5-en_US -l pl.UTF-8
 Internet Explorer 5.
 
-%package ie55
+%package ie55-en_US
 Summary:	Internet Explorer 5.5
 Summary(pl.UTF-8):	Internet Explorer 5.5
 Group:		X11/Applications/Networking
 Requires:	ies4linux = %{version}-%{release}
+Obsoletes:	ies4linux-ie5
 
-%description ie55
+%description ie55-en_US
 Internet Explorer 5.5.
 
-%description ie55 -l pl.UTF-8
+%description ie55-en_US -l pl.UTF-8
 Internet Explorer 5.5.
 
-%package ie6
+%package ie6-en_US
 Summary:	Internet Explorer 6
 Summary(pl.UTF-8):	Internet Explorer 6
 Group:		X11/Applications/Networking
 Requires:	ies4linux = %{version}-%{release}
+Obsoletes:	ies4linux-ie55
 
-%description ie6
+%description ie6-en_US
 Internet Explorer 6.
 
-%description ie6 -l pl.UTF-8
+%description ie6-en_US -l pl.UTF-8
 Internet Explorer 6.
 
-%package ie7
+%package ie7-en_US
 Summary:	Internet Explorer 7
 Summary(pl.UTF-8):	Internet Explorer 7
 Group:		X11/Applications/Networking
 Requires:	ies4linux = %{version}-%{release}
+Obsoletes:	ies4linux-ie7
 
-%description ie7
+%description ie7-en_US
 Internet Explorer 7.
 
-%description ie7 -l pl.UTF-8
+%description ie7-en_US -l pl.UTF-8
 Internet Explorer 7.
 
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
+%package ie6-pt_BR
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-pt_BR
+Internet Explorer 6.
+
+%description ie6-pt_BR -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-de
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-de
+Internet Explorer 6.
+
+%description ie6-de -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-fr
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-fr
+Internet Explorer 6.
+
+%description ie6-fr -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-es
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-es
+Internet Explorer 6.
+
+%description ie6-es -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-it
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-it
+Internet Explorer 6.
+
+%description ie6-it -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-nl
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-nl
+Internet Explorer 6.
+
+%description ie6-nl -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-sv
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-sv
+Internet Explorer 6.
+
+%description ie6-sv -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-ja
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-ja
+Internet Explorer 6.
+
+%description ie6-ja -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-ko
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-ko
+Internet Explorer 6.
+
+%description ie6-ko -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-no
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-no
+Internet Explorer 6.
+
+%description ie6-no -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-da
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
 
-bash ./ies4linux \
-	--install-ie55 \
-	--install-ie5 \
-	--basedir %{_installdir} \
-	--bindir %{_bindir} \
-	--destdir $RPM_BUILD_ROOT \
-	--downloaddir %{_sourcedir} \
-	--locale EN-US \
-	--install-flash
+%description ie6-da
+Internet Explorer 6.
 
-rm -rf $RPM_BUILD_ROOT%{_installdir}/{ie5,ie55,ie6}/drive_c/windows/profiles/%(id -u -n)
-rm $RPM_BUILD_ROOT%{_installdir}/ie{5,55,6}/.firstrun
+%description ie6-da -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-cn
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-cn
+Internet Explorer 6.
+
+%description ie6-cn -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-tw
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-tw
+Internet Explorer 6.
+
+%description ie6-tw -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-fi
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-fi
+Internet Explorer 6.
+
+%description ie6-fi -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-pl
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-pl
+Internet Explorer 6.
+
+%description ie6-pl -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie7-pl
+Summary:	Internet Explorer 7
+Summary(pl.UTF-8):	Internet Explorer 7
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie7-pl
+Internet Explorer 7.
+
+%description ie7-pl -l pl.UTF-8
+Internet Explorer 7.
+
+%package ie6-hu
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-hu
+Internet Explorer 6.
+
+%description ie6-hu -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-ar
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-ar
+Internet Explorer 6.
+
+%description ie6-ar -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-he
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-he
+Internet Explorer 6.
+
+%description ie6-he -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-cs
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-cs
+Internet Explorer 6.
+
+%description ie6-cs -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-pt
+Summary:	Internet Explorer 6
+Summary(pl.UTF-8):	Internet Explorer 6
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie6-pt
+Internet Explorer 6.
+
+%description ie6-pt -l pl.UTF-8
+Internet Explorer 6.
+
+%package ie6-ru
+Summary:	Internet Explorer 6
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ies4linux.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list