SPECS: ies4linux.spec - Release 0.2 - added ie7 package and ie7 bc...

pascalek pascalek at pld-linux.org
Fri Oct 20 12:23:30 CEST 2006


Author: pascalek                     Date: Fri Oct 20 10:23:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Release 0.2
- added ie7 package and ie7 bcond
- /bin/ie{5,55,6,7} files are now links to ies4linux
- ie7 package is more dirty hack than real installation so do not 
  expect too much :-/

---- Files affected:
SPECS:
   ies4linux.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/ies4linux.spec
diff -u SPECS/ies4linux.spec:1.4 SPECS/ies4linux.spec:1.5
--- SPECS/ies4linux.spec:1.4	Thu Oct 19 12:08:54 2006
+++ SPECS/ies4linux.spec	Fri Oct 20 12:23:24 2006
@@ -6,6 +6,11 @@
 # 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 
+#	WindowsXP SP2 installation!
+
+%bcond_with	ie7	build ie7 package
+
 %define	_installdir	%{_datadir}/ies4linux
 
 # TODO:
@@ -14,16 +19,24 @@
 # - move profiles to $HOME directory
 # - License tag specifies package license? then it should not be GPL
 
-Summary:	Run IE 6, 5.5 and 5 on Linux with Wine
-Summary(pl):	Uruchamianie IE 6, 5.5 i 5 pod Linuksem przy użyciu Wine
+Summary:	Run IE 7, 6, 5.5 and 5 on Linux with Wine
+Summary(pl):	Uruchamianie IE 7, 6, 5.5 i 5 pod Linuksem przy użyciu Wine
 Name:		ies4linux
 Version:	2.0
-Release:	0.1
+Release:	0.2
 License:	GPL v2
 Group:		X11/Applications/Networking
 Source0:	http://www.tatanka.com.br/ies4linux/downloads/%{name}-%{version}.tar.gz
 # Source0-md5:	c790d47e8aef5267037b1df5250352f8
 Source1:	%{name}.ie.sh
+%if %{with ie7}
+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
+NoSource:	3
+Source4:	inetcplc.dll
+NoSource:	4
+%endif
 Patch0:		%{name}-destdir.patch
 URL:		http://www.tatanka.com.br/ies4linux/index-en.html
 BuildRequires:	cabextract
@@ -50,6 +63,12 @@
 %prep
 %setup -q
 %patch0 -p1
+mkdir ie7
+cd ie7
+cabextract %{SOURCE2}
+unzip %{SOURCE3}
+cp %{SOURCE4} .
+cd -
 
 %package ie5
 Summary:	Internet Explorer 5
@@ -87,6 +106,18 @@
 %description ie6 -l pl
 Internet Explorer 6.
 
+%package ie7
+Summary:	Internet Explorer 7
+Summary(pl):	Internet Explorer 7
+Group:		X11/Applications/Networking
+Requires:	ies4linux = %{version}-%{release}
+
+%description ie7
+Internet Explorer 7.
+
+%description ie7 -l pl
+Internet Explorer 7.
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -106,10 +137,27 @@
 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
 
+#
+# Shell scripts
+#
 rm $RPM_BUILD_ROOT%{_bindir}/ie*
-cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ie5
-cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ie55
-cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ie6
+cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ies4linux
+ln -sf %{_bindir}/ies4linux $RPM_BUILD_ROOT%{_bindir}/ie5
+ln -sf %{_bindir}/ies4linux $RPM_BUILD_ROOT%{_bindir}/ie55
+ln -sf %{_bindir}/ies4linux $RPM_BUILD_ROOT%{_bindir}/ie6
+
+%if %{with ie7}
+ln -sf %{_bindir}/ies4linux $RPM_BUILD_ROOT%{_bindir}/ie7
+
+cp -a $RPM_BUILD_ROOT%{_installdir}/ie6 $RPM_BUILD_ROOT%{_installdir}/ie7
+cp ie7/{wininet,iertutil,shlwapi,urlmon,jscript,vbscript,mshtml,mshtmled,mshtmler,advpack,inetcplc,normaliz}.dll \
+    ie7/inetcpl.cpl \
+    $RPM_BUILD_ROOT%{_installdir}/ie7/drive_c/windows/system
+    
+cat $RPM_BUILD_ROOT%{_installdir}/ie6/user.reg | \
+    sed 's:"Version"="win98":"Version"="win98"\n\n[Software\\Wine\\AppDefaults\\iexplore.exe] 1161336541\n"Version"="winxp"\n:' \
+    > $RPM_BUILD_ROOT%{_installdir}/ie7/user.reg
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -137,11 +185,12 @@
 %defattr(644,root,root,755)
 %doc README
 %dir %{_installdir}
+%attr(755,root,root) %{_bindir}/ies4linux
 %{_installdir}/%{name}.svg
 
 %files ie5
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/ie5
+%{_bindir}/ie5
 %{_installdir}/ie5/*.reg
 %dir %{_installdir}/ie5
 %dir %{_installdir}/ie5/dosdevices
@@ -213,7 +262,7 @@
 
 %files ie55
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/ie55
+%{_bindir}/ie55
 %{_installdir}/ie55/*.reg
 %dir %{_installdir}/ie55
 %dir %{_installdir}/ie55/dosdevices
@@ -285,7 +334,7 @@
 
 %files ie6
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/ie6
+%{_bindir}/ie6
 %{_installdir}/ie6/*.reg
 %dir %{_installdir}/ie6
 %dir %{_installdir}/ie6/dosdevices
@@ -355,12 +404,93 @@
 %{_installdir}/ie6/drive_c/windows/system32/*.drv
 %dir %{_installdir}/ie6/drive_c/windows/temp
 
+%if %{with ie7}
+%files ie7
+%defattr(644,root,root,755)
+%{_bindir}/ie7
+%{_installdir}/ie7/*.reg
+%dir %{_installdir}/ie7
+%dir %{_installdir}/ie7/dosdevices
+%{_installdir}/ie7/dosdevices/*:
+%dir %{_installdir}/ie7/drive_c
+%dir "%{_installdir}/ie7/drive_c/Program Files"
+%dir "%{_installdir}/ie7/drive_c/Program Files/Common Files"
+%dir "%{_installdir}/ie7/drive_c/Program Files/Internet Explorer"
+"%{_installdir}/ie7/drive_c/Program Files/Internet Explorer/iexplore.exe"
+%dir %{_installdir}/ie7/drive_c/windows
+%attr(755,root,root) %{_installdir}/ie7/drive_c/windows/*.exe
+%{_installdir}/ie7/drive_c/windows/*.ini
+%dir %{_installdir}/ie7/drive_c/windows/command
+%attr(755,root,root) %{_installdir}/ie7/drive_c/windows/command/start.exe
+%dir %{_installdir}/ie7/drive_c/windows/fonts
+%{_installdir}/ie7/drive_c/windows/fonts/*.ttf
+%dir %{_installdir}/ie7/drive_c/windows/help
+%{_installdir}/ie7/drive_c/windows/help/*.hlp
+%dir %{_installdir}/ie7/drive_c/windows/inf
+%{_installdir}/ie7/drive_c/windows/inf/*.inf
+%dir %{_installdir}/ie7/drive_c/windows/options
+%dir %{_installdir}/ie7/drive_c/windows/options/cabs
+%{_installdir}/ie7/drive_c/windows/options/cabs/*.dll
+%dir %attr(770,root,ies4linux) %{_installdir}/ie7/drive_c/windows/profiles
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Application Data"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Desktop"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Documents"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Favorites"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Start Menu"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Start Menu/Programs"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Start Menu/Programs/StartUp"
+%dir "%{_installdir}/ie7/drive_c/windows/profiles/All Users/Templates"
+%{_installdir}/ie7/drive_c/windows/system
+%dir %{_installdir}/ie7/drive_c/windows/system32
+%dir %{_installdir}/ie7/drive_c/windows/system32/Macromed
+%dir %{_installdir}/ie7/drive_c/windows/system32/Macromed/Flash
+%{_installdir}/ie7/drive_c/windows/system32/Macromed/Flash/*.ocx
+%attr(755,root,root) %{_installdir}/ie7/drive_c/windows/system32/Macromed/Flash/*.exe
+%dir %{_installdir}/ie7/drive_c/windows/system32/drivers
+%dir %{_installdir}/ie7/drive_c/windows/system32/sfp
+%dir %{_installdir}/ie7/drive_c/windows/system32/sfp/ie
+%{_installdir}/ie7/drive_c/windows/system32/sfp/ie/vgx.cat
+%attr(755,root,root) %{_installdir}/ie7/drive_c/windows/system32/*.exe
+%{_installdir}/ie7/drive_c/windows/system32/*.dll
+%{_installdir}/ie7/drive_c/windows/system32/*.ocx
+%{_installdir}/ie7/drive_c/windows/system32/*.cat
+%{_installdir}/ie7/drive_c/windows/system32/*.msc
+%{_installdir}/ie7/drive_c/windows/system32/*.nls
+%{_installdir}/ie7/drive_c/windows/system32/*.inf
+%{_installdir}/ie7/drive_c/windows/system32/*.vxd
+%{_installdir}/ie7/drive_c/windows/system32/*.txt
+%{_installdir}/ie7/drive_c/windows/system32/*.cnv
+%{_installdir}/ie7/drive_c/windows/system32/*.mof
+%{_installdir}/ie7/drive_c/windows/system32/*.htm
+%{_installdir}/ie7/drive_c/windows/system32/*.acm
+%{_installdir}/ie7/drive_c/windows/system32/*.cpl
+%{_installdir}/ie7/drive_c/windows/system32/*.gif
+%{_installdir}/ie7/drive_c/windows/system32/*.tlb
+%{_installdir}/ie7/drive_c/windows/system32/*.stf
+%{_installdir}/ie7/drive_c/windows/system32/*.bat
+%{_installdir}/ie7/drive_c/windows/system32/*.pdr
+%{_installdir}/ie7/drive_c/windows/system32/*.rat
+%{_installdir}/ie7/drive_c/windows/system32/*.icm
+%{_installdir}/ie7/drive_c/windows/system32/*.wav
+%{_installdir}/ie7/drive_c/windows/system32/*.crl
+%{_installdir}/ie7/drive_c/windows/system32/*.drv
+%dir %{_installdir}/ie7/drive_c/windows/temp
+%endif
+
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/10/20 10:23:24  pascalek
+- Release 0.2
+- added ie7 package and ie7 bcond
+- /bin/ie{5,55,6,7} files are now links to ies4linux
+- ie7 package is more dirty hack than real installation so do not
+  expect too much :-/
+
 Revision 1.4  2006/10/19 10:08:54  glen
 - update
 
================================================================

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



More information about the pld-cvs-commit mailing list