# # spec file for package MozillaFirefox-branding-openSUSE (Version 3.5) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild BuildRequires: MozillaFirefox Name: MozillaFirefox-branding-openSUSE License: BSD 3-Clause Version: 3.5 Release: 2 Summary: openSUSE branding of MozillaFirefox Group: Productivity/Networking/Web/Browsers Source0: %{name}-COPYING Source1: search-addons.tar.bz2 Source2: bookmarks.html.suse Source3: firefox-suse-default-prefs.js Source4: firefox.schemas Provides: MozillaFirefox-branding = %{version} PreReq: MozillaFirefox >= 3.5 Conflicts: otherproviders(MozillaFirefox-branding) Supplements: packageand(MozillaFirefox:branding-openSUSE) BuildRoot: %{_tmppath}/%{name}-%{version}-build %define default_home_page http://www.opensuse.org/ %define progdir %{_prefix}/%_lib/firefox %define libgssapi libgssapi_krb5.so.2 %define gnome_confdir %{_sysconfdir} %gconf_schemas_prereq %description This package provides openSUSE Look and Feel for MozillaFirefox. Authors: -------- Wolfgang Rosenauer %prep cp -a %{SOURCE0} COPYING %build %install install -d $RPM_BUILD_ROOT/%{progdir} # custom bookmarks install -d $RPM_BUILD_ROOT/%{progdir}/defaults/profile install -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{progdir}/defaults/profile/bookmarks.html # apply SUSE defaults install -d $RPM_BUILD_ROOT/%{progdir}/defaults/preferences sed -e 's,GSSAPI,%{libgssapi},g' \ %{SOURCE3} > suse-default-prefs install -m0644 suse-default-prefs $RPM_BUILD_ROOT/%{progdir}/defaults/preferences/firefox-openSUSE.js rm suse-default-prefs # search plugins install -d $RPM_BUILD_ROOT/%{progdir}/searchplugins (cd $RPM_BUILD_ROOT%{progdir}/searchplugins ; tar xjf %{SOURCE1}) # browserconfig.properties cat << EOF >> suse-browserconfig.properties browser.startup.homepage=%{default_home_page} browser.startup.homepage_reset=%{default_home_page} EOF install -m0644 suse-browserconfig.properties $RPM_BUILD_ROOT%{progdir}/browserconfig.properties rm suse-browserconfig.properties # SCHEMA File mkdir -p $RPM_BUILD_ROOT%{gnome_confdir}/gconf/schemas install -m 644 %{SOURCE4} \ $RPM_BUILD_ROOT/%{gnome_confdir}/gconf/schemas/ %find_gconf_schemas %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %preun -f %{name}.schemas_preun %posttrans -f %{name}.schemas_posttrans %files -f %{name}.schemas_list %defattr(-,root,root) %doc COPYING %{progdir}/defaults/preferences/firefox-openSUSE.js %{progdir}/defaults/profile/bookmarks.html %{progdir}/browserconfig.properties %{progdir}/searchplugins/* %changelog * Tue May 19 2009 wr@rosenauer.org - set accessibility.typeaheadfind.soundURL to "default" (bnc#505289) (that uses a wav packaged in toolkit and FF might not be able to play it if esd is not functional) * Mon May 04 2009 wr@rosenauer.org - bumped version to 3.5 to reflect FF version bump - updated firefox.schemas - removed spec support for distributions before 10.3 - removed obsolete prefs * Mon Dec 08 2008 hfiguiere@suse.de - Fix a type in firefox-suse-default-prefs.js * Fri Nov 21 2008 maw@suse.de - Review and approve changes. * Fri Nov 14 2008 wr@rosenauer.org - Make sure that the base package is installed before installing the branding packages (needed for gconf schema update) (bnc#444682) * Fri Nov 07 2008 maw@suse.de - Review and approve changes. * Wed Nov 05 2008 wr@rosenauer.org - added the Firefox Gconf schema for system prefs and changed the homepage URL to http://www.opensuse.org/ (bnc#441646) * Tue Oct 21 2008 maw@suse.de - Review and approve changes. * Tue Oct 07 2008 wr@rosenauer.org - bumped version to 3.0.3 - removed browser.link.open_external override; we are opening everything in a new tab; that also caused UI misbehaviour (bnc#430077, bmo#457092) - Set browser.identity.ssl_domain.display to 1 (bnc#426263) * Tue Oct 07 2008 vuntz@novell.com - Add openSUSE documentation bookmark (fate#305003). - Also remove the Novell bookmarks and search addons. They will go in the SLED branding package. * Mon Oct 06 2008 sbrabec@suse.cz - Conflict with other branding providers (FATE#304881). * Fri Sep 26 2008 vuntz@suse.de - Add COPYING file (bnc#426320). * Sun Aug 03 2008 wr@rosenauer.org - some polishing and minor changes * Tue Jul 29 2008 vuntz@novell.com - New package (bnc#390752).