Author: uzsolt                       Date: Tue Oct 14 19:04:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial (based on 'de' version)

---- Files affected:
SPECS:
   iceweasel-lang-hu.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/iceweasel-lang-hu.spec
diff -u /dev/null SPECS/iceweasel-lang-hu.spec:1.1
--- /dev/null   Tue Oct 14 21:04:03 2008
+++ SPECS/iceweasel-lang-hu.spec        Tue Oct 14 21:03:58 2008
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+%define                _lang           hu
+Summary:       Hungarian resources for Iceweasel
+Summary(hu.UTF-8):     Magyar nyelv Iceweasel-hez
+Name:          iceweasel-lang-%{_lang}
+Version:       3.0.3
+Release:       1
+License:       GPL
+Group:         I18n
+Source0:       
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/linux-i686/xpi/%{_lang}.xpi
+# Source0-md5: aabd4cf360a30fc537373f0f69dc397e
+URL:           http://www.mozilla.org/
+BuildRequires: sed >= 4.0
+BuildRequires: unzip
+BuildRequires: zip
+Requires:      iceweasel >= %{version}
+Provides:      iceweasel-lang-resources = %{version}
+Obsoletes:     mozilla-firefox-lang-hu
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _iceweaseldir   %{_datadir}/iceweasel
+%define                _chromedir      %{_iceweaseldir}/chrome
+
+%description
+Hungarian resources for Iceweasel.
+
+%description -l hu.UTF-8
+Magyar nyelv Iceweasel-hez.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+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 '[EMAIL PROTECTED]/[EMAIL PROTECTED]@' 
$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%{_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;' \
+       locale/branding/brand.dtd locale/branding/brand.properties
+sed -i -e 's/Firefox/Iceweasel/g;' locale/browser/appstrings.properties
+grep -e '\<ENTITY' locale/browser/aboutDialog.dtd \
+       > locale/browser/aboutDialog.dtd.new
+sed -i -e '/copyrightInfo/s/^\(.*\)\..*Firefox.*/\1\./g; s/\r//g; 
/copyrightInfo/s/$/" >/g;' \
+       locale/browser/aboutDialog.dtd.new
+mv -f locale/browser/aboutDialog.dtd.new locale/browser/aboutDialog.dtd
+zip -0 de.jar locale/branding/brand.dtd locale/branding/brand.properties \
+       locale/browser/appstrings.properties locale/browser/aboutDialog.dtd
+rm -f locale/branding/brand.dtd locale/branding/brand.properties \
+       locale/browser/appstrings.properties locale/browser/aboutDialog.dtd
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_chromedir}/%{_lang}.jar
+%{_chromedir}/%{_lang}.manifest
+# file conflict:
+#%{_iceweaseldir}/defaults/profile/*.rdf
+
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/10/14 19:03:58  uzsolt
+- initial (based on 'de' version)
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to