Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for pool-leap-15.6:x86_64
SUSE:SLE-12-SP3:GA
MozillaFirefox-branding-SLE.1915
MozillaFirefox-branding-SLE.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File MozillaFirefox-branding-SLE.spec of Package MozillaFirefox-branding-SLE.1915
# # spec file for package MozillaFirefox-branding-SLE # # Copyright (c) 2015 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/ # BuildRequires: MozillaFirefox BuildRequires: unzip BuildRequires: zip %if 0%{?suse_version} > 1200 BuildRequires: gconf2-devel %endif Name: MozillaFirefox-branding-SLE Version: 31.0 Release: 0 Summary: SLED branding of MozillaFirefox License: BSD-3-Clause Group: Productivity/Networking/Web/Browsers Source: sleefox.tar.gz Source1: search-addons.tar.gz Source2: bookmarks.html.suse Source3: firefox-SLE.js Source4: firefox.schemas Source5: distribution.ini.in Source6: all-SLE.js Source7: localstore.rdf.suse PreReq: MozillaFirefox >= 24 PreReq: MozillaFirefox < 39 Supplements: packageand(MozillaFirefox:branding-SLE) Provides: MozillaFirefox-branding = %{version} Conflicts: otherproviders(MozillaFirefox-branding) BuildRoot: %{_tmppath}/%{name}-%{version}-build %define homepage http://www.suse.com/ %define progdir %{_libdir}/firefox # set the default home page according to bnc#461752 %if 0%{?suse_version} == 1010 %define sle_version 10 %endif %if 0%{?suse_version} == 1110 %define sle_version 11 %endif %if 0%{?suse_version} == 1315 %define sle_version 12 %endif %define progdir %{_prefix}/%_lib/firefox %define libgssapi libgssapi_krb5.so.2 %if %suse_version > 1020 %define gnome_confdir %{_sysconfdir} %define gnome_dir %{_prefix} %gconf_schemas_prereq %else %define gnome_confdir %{_sysconfdir}/opt/gnome %define gnome_dir /opt/gnome %endif %if 0%{?suse_version} > 1100 Requires(pre): /usr/bin/gconftool-2 coreutils %else PreReq: gconf2 coreutils %endif %description This package provides SLED Look and Feel for MozillaFirefox. Authors: -------- Petr Cerny <pcerny@suse.com> %prep %setup -n sleefox -q sed -i 's,@HOMEPAGEURL@,%{homepage},' content/sleefox.properties %{SOURCE4} cp COPYING $RPM_BUILD_DIR %build ./build.sh %install install -d %{buildroot}%{progdir} install -d %{buildroot}%{progdir}/browser # custom bookmarks install -d %{buildroot}%{progdir}/browser/defaults/profile install -m0644 %{SOURCE2} %{buildroot}%{progdir}/browser/defaults/profile/bookmarks.html install -m0644 %{SOURCE7} %{buildroot}%{progdir}/browser/defaults/profile/localstore.rdf # apply SUSE defaults # all applications install -d %{buildroot}%{progdir}/defaults/pref install -m0644 %{SOURCE6} %{buildroot}%{progdir}/defaults/pref/ # firefox install -d %{buildroot}%{progdir}/browser/defaults/preferences install -m0644 %{SOURCE3} %{buildroot}%{progdir}/browser/defaults/preferences/firefox-SLE.js sed -i -e 's,@GSSAPI@,%{libgssapi},g' %{buildroot}%{progdir}/browser/defaults/preferences/firefox-SLE.js # distribution.ini install -d %{buildroot}%{progdir}/distribution sed -e 's,%VERSION%,%{sle_version},g' \ %{SOURCE5} > distribution.ini install -m 0644 distribution.ini %{buildroot}%{progdir}/distribution/ # search plugins install -d %{buildroot}%{progdir}/searchplugins ( cd %{buildroot}%{progdir}/searchplugins ; tar xzf %{SOURCE1} ) # SCHEMA file mkdir -p %{buildroot}%{gnome_confdir}/gconf/schemas install -m 644 %{SOURCE4} \ %{buildroot}%{gnome_confdir}/gconf/schemas/ %if %suse_version > 1020 %find_gconf_schemas %endif # install the system extension mkdir "sleefox@suse.com" ( cd "sleefox@suse.com"; unzip ../sleefox.xpi) mkdir -p %{buildroot}%{_datadir}/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ cp -r "sleefox@suse.com" \ %{buildroot}%{_datadir}/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ %clean rm -rf %{buildroot} %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/pref/ %{progdir}/browser/ #{progdir}/browser/defaults/ #{progdir}/browser/defaults/preferences/ #{progdir}/browser/defaults/profile/ %{progdir}/searchplugins/ #{progdir}/searchplugins/* %{progdir}/distribution/ %{_datadir}/mozilla %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor