This commit is contained in:
parent
e6695bcbb1
commit
be9c1bfbbb
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 7 15:42:55 CST 2008 - maw@suse.de
|
||||
|
||||
- Review and approve changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 4 23:50:03 CET 2008 - wr@rosenauer.org
|
||||
|
||||
- added the Firefox Gconf schema for system prefs and
|
||||
changed the homepage URL to http://www.opensuse.org/ (bnc#441646)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 20 18:16:42 CDT 2008 - maw@suse.de
|
||||
|
||||
|
@ -22,20 +22,28 @@ BuildRequires: MozillaFirefox MozillaFirefox-branding-upstream
|
||||
Name: MozillaFirefox-branding-openSUSE
|
||||
License: BSD 3-Clause
|
||||
Version: 3.0.3
|
||||
Release: 1
|
||||
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}
|
||||
Supplements: packageand(MozillaFirefox:branding-openSUSE)
|
||||
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
|
||||
%if %suse_version > 1020
|
||||
%define gnome_confdir %{_sysconfdir}
|
||||
%gconf_schemas_prereq
|
||||
%else
|
||||
%define gnome_confdir %{_sysconfdir}/opt/gnome
|
||||
%define gnome_dir /opt/gnome
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package provides openSUSE Look and Feel for MozillaFirefox.
|
||||
@ -74,18 +82,53 @@ startup.homepage_override_url=%{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/
|
||||
%if %suse_version > 1020
|
||||
%find_gconf_schemas
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%if %suse_version > 1020
|
||||
|
||||
%pre -f %{name}.schemas_pre
|
||||
|
||||
%preun -f %{name}.schemas_preun
|
||||
%posttrans -f %{name}.schemas_posttrans
|
||||
%endif
|
||||
%if %suse_version <= 1020
|
||||
|
||||
%post
|
||||
if [ ! -f /.buildenv ]; then
|
||||
export GCONF_CONFIG_SOURCE=`%{gnome_dir}/bin/gconftool-2 --get-default-source`
|
||||
%{gnome_dir}bin/gconftool-2 --makefile-install-rule %{gnome_confdir}/gconf/schemas/firefox.schemas > /dev/null 2>&1
|
||||
fi
|
||||
%endif
|
||||
%if %suse_version > 1020
|
||||
|
||||
%files -f %{name}.schemas_list
|
||||
%defattr(-,root,root)
|
||||
%else
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{gnome_confdir}/gconf/schemas/firefox.schemas
|
||||
%endif
|
||||
%doc COPYING
|
||||
%{progdir}/defaults/preferences/firefox-openSUSE.js
|
||||
%{progdir}/defaults/profile/bookmarks.html
|
||||
%{progdir}/browserconfig.properties
|
||||
%{progdir}/searchplugins/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 07 2008 maw@suse.de
|
||||
- Review and approve changes.
|
||||
* Tue Nov 04 2008 wr@rosenauer.org
|
||||
- added the Firefox Gconf schema for system prefs and
|
||||
changed the homepage URL to http://www.opensuse.org/ (bnc#441646)
|
||||
* Mon Oct 20 2008 maw@suse.de
|
||||
- Review and approve changes.
|
||||
* Tue Oct 07 2008 wr@rosenauer.org
|
||||
|
299
firefox.schemas
Normal file
299
firefox.schemas
Normal file
@ -0,0 +1,299 @@
|
||||
<gconfschemafile>
|
||||
<schemalist>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_history</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_history</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>To disable the History.</short>
|
||||
<long>To disable the histroy.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_toolbar_editing</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_toolbar_editing</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable toolbar editing.</short>
|
||||
<long>Disable ToolBar Editing.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_themes</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_themes</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable installing themes</short>
|
||||
<long>Disable installing theme
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_extensions</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_extensions</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable installing extensions</short>
|
||||
<long>Disable installing extensions
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_show_passwords</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_show_passwords</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable showing passwords</short>
|
||||
<long>Disable showing passwords in the password manager.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/disable_popups</key>
|
||||
<applyto>/apps/firefox/web/disable_popups</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Allow Popups.</short>
|
||||
<long>Allow Popups.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/java_enabled</key>
|
||||
<applyto>/apps/firefox/web/java_enabled</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>true</default>
|
||||
<locale name="C">
|
||||
<short>Enable java.</short>
|
||||
<long>Enable java.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/javascript_enabled</key>
|
||||
<applyto>/apps/firefox/web/javascript_enabled</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>true</default>
|
||||
<locale name="C">
|
||||
<short>Enable javascript.</short>
|
||||
<long>Enable javascript.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_url_bar</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_url_bar</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable URL bar.</short>
|
||||
<long>Disable URL bar.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_searchbar</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_searchbar</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable search bar.</short>
|
||||
<long>Disable search bar.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/disable_cookies</key>
|
||||
<applyto>/apps/firefox/web/disable_cookies</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable Cookies.</short>
|
||||
<long>Disable Cookies.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/disable_save_password</key>
|
||||
<applyto>/apps/firefox/web/disable_save_password</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable Save Password.</short>
|
||||
<long>Disable Save Password.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/cache_size</key>
|
||||
<applyto>/apps/firefox/web/cache_size</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>int</type>
|
||||
<default>50000</default>
|
||||
<locale name="C">
|
||||
<short>Cache Size.</short>
|
||||
<long>Cache Size.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/general/homepage_url</key>
|
||||
<applyto>/apps/firefox/general/homepage_url</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>string</type>
|
||||
<default>http://www.opensuse.org/</default>
|
||||
<locale name="C">
|
||||
<short>Home Page URL.</short>
|
||||
<long>Home Page URL.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/download_defaultfolder</key>
|
||||
<applyto>/apps/firefox/web/download_defaultfolder</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>string</type>
|
||||
<default>Desktop</default>
|
||||
<locale name="C">
|
||||
<short>Default downloadfolder location.</short>
|
||||
<long> This is the default download folder location.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_unsafe_protocol</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_unsafe_protocol</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable Unsafe Protocol.</short>
|
||||
<long>Disable Unsafe Protocol.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_bookmark_editing</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_bookmark_editing</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>disable_bookmark_editing.</short>
|
||||
<long>disable_bookmark_editing.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/hide_bookmark</key>
|
||||
<applyto>/apps/firefox/lockdown/hide_bookmark</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Hide Bookmarks</short>
|
||||
<long>Hide Bookmarks.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/disable_javascript_chrome</key>
|
||||
<applyto>/apps/firefox/lockdown/disable_javascript_chrome</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>bool</type>
|
||||
<default>false</default>
|
||||
<locale name="C">
|
||||
<short>Disable Javascript Chrome.</short>
|
||||
<long>Disable Javascript Chrome.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/cookie_accept</key>
|
||||
<applyto>/apps/firefox/web/cookie_accept</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>int</type>
|
||||
<default>0</default>
|
||||
<locale name="C">
|
||||
<short>Setting Cookies.</short>
|
||||
<long>Setting Cookies.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/web/images_load</key>
|
||||
<applyto>/apps/firefox/web/images_load</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>int</type>
|
||||
<default>0</default>
|
||||
<locale name="C">
|
||||
<short>Setting Loadimages.</short>
|
||||
<long>Setting Loadimages.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/lockdown/additional_safe_protocols</key>
|
||||
<applyto>/apps/firefox/lockdown/additional_safe_protocols</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>string</type>
|
||||
<default></default>
|
||||
<locale name="C">
|
||||
<short>Additional Safe Protocols.</short>
|
||||
<long>Additional Safe Protocols.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/general/trusted_URIs</key>
|
||||
<applyto>/apps/firefox/general/trusted_URIs</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>list</type>
|
||||
<list_type>string</list_type>
|
||||
<default>[]</default>
|
||||
<locale name="C">
|
||||
<short>List of URIs for which Kerberos/NTLM is enabled</short>
|
||||
<long>A comma-separated list of URI keys, of the form
|
||||
[scheme "://"] [host [":" port]], for which login should be allowed
|
||||
via SPNEGO Kerberos or NTLM authentication.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/apps/firefox/general/delegated_URIs</key>
|
||||
<applyto>/apps/firefox/general/delegated_URIs</applyto>
|
||||
<owner>firefox</owner>
|
||||
<type>list</type>
|
||||
<list_type>string</list_type>
|
||||
<default>[]</default>
|
||||
<locale name="C">
|
||||
<short>List of URIs for which Kerberos/NTLM delegation is enabled</short>
|
||||
<long>A comma-separated list of URI keys, of the form
|
||||
[scheme "://"] [host [":" port]], for which delegation should be allowed
|
||||
using SPNEGO Kerberos or NTLM authentication.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
</schemalist>
|
||||
</gconfschemafile>
|
Loading…
Reference in New Issue
Block a user