SPECS: iceweasel-lang-de.spec - reverted

megabajt megabajt at pld-linux.org
Wed Jul 2 16:01:06 CEST 2008


Author: megabajt                     Date: Wed Jul  2 14:01:06 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- reverted

---- Files affected:
SPECS:
   iceweasel-lang-de.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/iceweasel-lang-de.spec
diff -u SPECS/iceweasel-lang-de.spec:1.3 SPECS/iceweasel-lang-de.spec:1.4
--- SPECS/iceweasel-lang-de.spec:1.3	Mon Jun 30 16:21:20 2008
+++ SPECS/iceweasel-lang-de.spec	Wed Jul  2 16:01:00 2008
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Niemieckie pliki językowe dla Iceweasel
 Name:		iceweasel-lang-%{_lang}
 Version:	3.0
-Release:	3
+Release:	2
 License:	GPL
 Group:		I18n
 Source0:	http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/%{_lang}.xpi
@@ -19,7 +19,8 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_langpackdir	%{_datadir}/iceweasel/extensions/langpack-%{_lang}@firefox.mozilla.org
+%define		_iceweaseldir	%{_datadir}/iceweasel
+%define		_chromedir	%{_iceweaseldir}/chrome
 
 %description
 German resources for Iceweasel.
@@ -31,12 +32,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_langpackdir}
-
-unzip %{SOURCE0} -d $RPM_BUILD_ROOT%{_langpackdir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_chromedir},%{_iceweaseldir}/defaults/profile}
 
+unzip %{SOURCE0} -d $RPM_BUILD_ROOT%{_libdir}
+mv -f $RPM_BUILD_ROOT%{_libdir}/chrome/* $RPM_BUILD_ROOT%{_chromedir}
+sed -e 's at chrome/%{_lang}\.jar@%{_lang}.jar@' $RPM_BUILD_ROOT%{_libdir}/chrome.manifest \
+	> $RPM_BUILD_ROOT%{_chromedir}/%{_lang}.manifest
+mv -f $RPM_BUILD_ROOT%{_libdir}/*.rdf $RPM_BUILD_ROOT%{_iceweaseldir}/defaults/profile
 # rebrand locale for iceweasel
-cd $RPM_BUILD_ROOT%{_langpackdir}/chrome
+cd $RPM_BUILD_ROOT%{_chromedir}
 unzip de.jar locale/branding/brand.dtd locale/branding/brand.properties \
 	locale/browser/appstrings.properties locale/browser/aboutDialog.dtd
 sed -i -e 's/Mozilla Firefox/Iceweasel/g; s/Firefox/Iceweasel/g;' \
@@ -57,7 +61,10 @@
 
 %files
 %defattr(644,root,root,755)
-%{_langpackdir}
+%{_chromedir}/%{_lang}.jar
+%{_chromedir}/%{_lang}.manifest
+# file conflict:
+#%{_iceweaseldir}/defaults/profile/*.rdf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -65,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008/07/02 14:01:00  megabajt
+- reverted
+
 Revision 1.3  2008/06/30 14:21:20  megabajt
 - install as extension. This change makes langpack visible in Tools->Add-ons->Languages
 - release 3
@@ -74,3 +84,4 @@
 
 Revision 1.1  2008/06/25 20:46:14  hawk
 - language pack for Iceweasel
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iceweasel-lang-de.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list