equal
deleted
inserted
replaced
59 Patch8: firefox-appname.patch |
59 Patch8: firefox-appname.patch |
60 Patch9: firefox-kde.patch |
60 Patch9: firefox-kde.patch |
61 Patch10: firefox-ui-lockdown.patch |
61 Patch10: firefox-ui-lockdown.patch |
62 Patch11: firefox-no-sync-l10n.patch |
62 Patch11: firefox-no-sync-l10n.patch |
63 Patch12: firefox-libxulsdk-locales.patch |
63 Patch12: firefox-libxulsdk-locales.patch |
|
64 Patch13: firefox-no-default-ualocale.patch |
64 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
65 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
65 Requires(post): coreutils shared-mime-info desktop-file-utils |
66 Requires(post): coreutils shared-mime-info desktop-file-utils |
66 Requires(postun): shared-mime-info desktop-file-utils |
67 Requires(postun): shared-mime-info desktop-file-utils |
67 %if 0%{?use_xulrunner} |
68 %if 0%{?use_xulrunner} |
68 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
69 Requires: %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner}) |
160 install -m 644 %{SOURCE6} browser/app/profile/kde.js |
161 install -m 644 %{SOURCE6} browser/app/profile/kde.js |
161 %endif |
162 %endif |
162 #%patch10 -p1 |
163 #%patch10 -p1 |
163 %patch11 -p1 |
164 %patch11 -p1 |
164 %patch12 -p1 |
165 %patch12 -p1 |
|
166 %patch13 -p1 |
165 |
167 |
166 %build |
168 %build |
167 export MOZ_BUILD_DATE=%{releasedate} |
169 export MOZ_BUILD_DATE=%{releasedate} |
168 export MOZILLA_OFFICIAL=1 |
170 export MOZILLA_OFFICIAL=1 |
169 export BUILD_OFFICIAL=1 |
171 export BUILD_OFFICIAL=1 |
232 popd |
234 popd |
233 LOCALE_MERGEDIR=$RPM_BUILD_DIR/l10n-merged/$locale \ |
235 LOCALE_MERGEDIR=$RPM_BUILD_DIR/l10n-merged/$locale \ |
234 make -C browser/locales langpack-$locale |
236 make -C browser/locales langpack-$locale |
235 cp -r dist/xpi-stage/locale-$locale \ |
237 cp -r dist/xpi-stage/locale-$locale \ |
236 $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org |
238 $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org |
|
239 # remove prefs and profile defaults from langpack |
|
240 rm -rf $RPM_BUILD_ROOT%{progdir}/extensions/langpack-$locale@firefox.mozilla.org/defaults |
237 # check against the fixed common list and sort into the right filelist |
241 # check against the fixed common list and sort into the right filelist |
238 _matched=0 |
242 _matched=0 |
239 for _match in ar ca cs da de en-GB es-AR es-CL es-ES fi fr hu it ja ko nb-NO nl pl pt-BR pt-PT ru sv-SE zh-CN zh-TW; do |
243 for _match in ar ca cs da de en-GB es-AR es-CL es-ES fi fr hu it ja ko nb-NO nl pl pt-BR pt-PT ru sv-SE zh-CN zh-TW; do |
240 [ "$_match" = "$locale" ] && _matched=1 |
244 [ "$_match" = "$locale" ] && _matched=1 |
241 done |
245 done |