Witam!.

przerobiona mozillowa skórka z v1.3 do 1.5

niech dobra dusza wrzuci na CVS.

pozdrav

maHo

Index: mozilla-theme-iexplorer.spec
===================================================================
RCS file: /cvsroot/SPECS/mozilla-theme-iexplorer.spec,v
retrieving revision 1.15
diff -u -u -r1.15 mozilla-theme-iexplorer.spec
--- mozilla-theme-iexplorer.spec        1 Dec 2003 00:17:52 -0000       1.15
+++ mozilla-theme-iexplorer.spec        16 Dec 2003 01:23:41 -0000
@@ -3,17 +3,18 @@
 Summary(pl):   Symulacja wygl�du Internet Explorera 6.0
 Name:          mozilla-theme-iexplorer
 %define                _realname       ieskin
+%define                _realversion 1.3
 Version:       1.3
-Release:       2
+Release:       3
 License:       GPL
 Group:         X11/Applications/Networking
-Source0:       http://pages.prodigy.net/zzxc/%{_realname}/%{_realname}%{version}.xpi
+Source0:       
http://pages.prodigy.net/zzxc/%{_realname}/%{_realname}%{_realversion}.xpi
 # Source0-md5: fad61f903a906228a3705ff05b5bbf37
 Source1:       %{_realname}-installed-chrome.txt
 URL:           http://themes.mozdev.org/skins/ie.html
 BuildRequires: unzip
 Requires(post,postun): textutils
-Requires:      mozilla >= 1.0-7
+Requires:      mozilla >= 1.5
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{_realname}-%{version}-root-%(id -u -n)
 
@@ -26,12 +27,21 @@
 Motyw dok�adnie symuluje wygl�d Internet Explorera 6.0 z MS Windows.
 
 %prep
+%setup -c -n %{name}
+unzip -o ieskin.jar
+rm ieskin.jar
+
+
+%build
+perl -pi -e 's/(skinVersion=)"1\.[0-9]"/$1"1.5"/' contents.rdf
+find -name "*.css" | xargs perl -pi -e 's/:-moz-/::-moz-/'
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_chromedir}
 
-unzip %{SOURCE0} ieskin.jar -d $RPM_BUILD_ROOT%{_chromedir}
+zip -r $RPM_BUILD_ROOT%{_chromedir}/%{_realname}.jar *
 install %{SOURCE1} $RPM_BUILD_ROOT%{_chromedir}
 
 %clean

__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles

Odpowiedź listem elektroniczym