equal
deleted
inserted
replaced
1 # |
1 # |
2 # spec file for package mozilla-xulrunner192 (Version 1.9.2rc1) |
2 # spec file for package mozilla-xulrunner192 (Version 1.9.2rc1) |
3 # |
3 # |
4 # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2010 Wolfgang Rosenauer |
5 # 2006-2010 Wolfgang Rosenauer |
6 # |
6 # |
7 # All modifications and additions to the file contributed by third parties |
7 # All modifications and additions to the file contributed by third parties |
8 # remain the property of their copyright owners, unless otherwise agreed |
8 # remain the property of their copyright owners, unless otherwise agreed |
9 # upon. The license for this file, and modifications and additions to the |
9 # upon. The license for this file, and modifications and additions to the |
346 %ifarch x86_64 s390x ppc64 |
346 %ifarch x86_64 s390x ppc64 |
347 mv $RPM_BUILD_ROOT%{_sysconfdir}/gre.d/%{version_internal}.system.conf \ |
347 mv $RPM_BUILD_ROOT%{_sysconfdir}/gre.d/%{version_internal}.system.conf \ |
348 $RPM_BUILD_ROOT%{_sysconfdir}/gre.d/%{version_internal}-64bit.system.conf |
348 $RPM_BUILD_ROOT%{_sysconfdir}/gre.d/%{version_internal}-64bit.system.conf |
349 %endif |
349 %endif |
350 # ghosts |
350 # ghosts |
351 touch $RPM_BUILD_ROOT/%{_libdir}/xulrunner-%{version_internal}/global.reginfo |
351 touch $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/global.reginfo |
352 # install additional locales |
352 # install additional locales |
353 %if %localize |
353 %if %localize |
354 rm -f %{_tmppath}/translations.* |
354 rm -f %{_tmppath}/translations.* |
355 for locale in $(awk '{ print $1; }' browser/locales/shipped-locales); do |
355 for locale in $(awk '{ print $1; }' browser/locales/shipped-locales); do |
356 case $locale in |
356 case $locale in |
380 # compat links |
380 # compat links |
381 %if 0%{?ga_version:1} |
381 %if 0%{?ga_version:1} |
382 touch $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{ga_version} |
382 touch $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{ga_version} |
383 %endif |
383 %endif |
384 # excludes |
384 # excludes |
385 rm -f $RPM_BUILD_ROOT%{_bindir}/xulrunner |
|
386 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/updater |
385 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/updater |
387 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/update.locale |
386 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/update.locale |
388 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/LICENSE |
387 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/LICENSE |
389 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/README.txt |
388 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/README.txt |
390 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/dictionaries/en-US* |
389 rm -f $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/dictionaries/en-US* |
489 %{_libdir}/xulrunner-%{version_internal}/crashreporter.ini |
488 %{_libdir}/xulrunner-%{version_internal}/crashreporter.ini |
490 %{_libdir}/xulrunner-%{version_internal}/Throbber-small.gif |
489 %{_libdir}/xulrunner-%{version_internal}/Throbber-small.gif |
491 %endif |
490 %endif |
492 # ghosts |
491 # ghosts |
493 %ghost %{_libdir}/xulrunner-%{version_internal}/global.reginfo |
492 %ghost %{_libdir}/xulrunner-%{version_internal}/global.reginfo |
|
493 %ghost %{_bindir}/xulrunner |
494 # GRE |
494 # GRE |
495 %dir %{_sysconfdir}/gre.d/ |
495 %dir %{_sysconfdir}/gre.d/ |
496 %attr(644,root,root) %{_sysconfdir}/gre.d/* |
496 %attr(644,root,root) %{_sysconfdir}/gre.d/* |
497 # API symlink |
497 # API symlink |
498 %{_libdir}/xulrunner-%{apiversion} |
498 %{_libdir}/xulrunner-%{apiversion} |