- use multibuild to provide branding package for
MozillaFirefox and firefox-esr OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox-branding-openSUSE?expand=0&rev=141
This commit is contained in:
parent
7cd7e82497
commit
819dcf5762
@ -1,8 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 09:07:01 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
Fri Oct 4 08:12:01 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
|
||||
- do not provide branding for firefox-esr anymore
|
||||
- removed extensions preferences (moved to core package)
|
||||
- use multibuild to provide branding package for
|
||||
MozillaFirefox and firefox-esr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 09:35:46 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
|
@ -1,8 +1,8 @@
|
||||
#
|
||||
# spec file for package MozillaFirefox-branding-openSUSE
|
||||
# spec file for package MozillaFirefox
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2008-2013 Wolfgang Rosenauer
|
||||
# Copyright (c) 2008-2019 Wolfgang Rosenauer
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,11 +17,25 @@
|
||||
#
|
||||
|
||||
|
||||
Name: MozillaFirefox-branding-openSUSE
|
||||
%define pkgname @BUILD_FLAVOR@
|
||||
|
||||
%if "%{pkgname}" == "MozillaFirefox-branding-openSUSE"
|
||||
%define targetpkg MozillaFirefox
|
||||
%define progdir %{_libdir}/firefox
|
||||
%define appname Firefox
|
||||
%endif
|
||||
|
||||
%if "%{pkgname}" == "firefox-esr-branding-openSUSE"
|
||||
%define targetpkg firefox-esr
|
||||
%define progdir %{_libdir}/firefox-esr
|
||||
%define appname Firefox ESR
|
||||
%endif
|
||||
|
||||
Name: %{pkgname}
|
||||
BuildRequires: bc
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zip
|
||||
Version: 60
|
||||
Version: 68
|
||||
Release: 0
|
||||
Summary: openSUSE branding of MozillaFirefox
|
||||
License: BSD-3-Clause AND GPL-2.0-or-later
|
||||
@ -33,13 +47,12 @@ Source2: all-openSUSE.js
|
||||
Source3: firefox-suse-default-prefs.js
|
||||
Source4: firefox.schemas
|
||||
Source5: distribution.ini.in
|
||||
Source6: %{name}-COPYING
|
||||
Supplements: packageand(MozillaFirefox:branding-openSUSE)
|
||||
Provides: MozillaFirefox-branding = %{version}
|
||||
Conflicts: otherproviders(MozillaFirefox-branding)
|
||||
Source6: MozillaFirefox-branding-openSUSE-COPYING
|
||||
Supplements: packageand(%{targetpkg}:branding-openSUSE)
|
||||
Provides: %{targetpkg}-branding = %{version}
|
||||
Conflicts: otherproviders(%{targetpkg}-branding)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%global progdir %{_libdir}/firefox
|
||||
%global libgssapi libgssapi_krb5.so.2
|
||||
|
||||
%global suseversion undefined
|
||||
@ -64,7 +77,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%else
|
||||
%if %sle_version == 150100
|
||||
%global suseversion 15.1
|
||||
%else
|
||||
%else
|
||||
%if %sle_version == 150200
|
||||
%global suseversion 15.2
|
||||
%endif
|
||||
@ -119,6 +132,7 @@ install -m 0644 %{SOURCE2} %{buildroot}%{progdir}/defaults/pref/
|
||||
# distribution.ini -- openSUSE bookmarks, homepage and Mozilla partner info
|
||||
sed -e 's,%%VERSION%%,%{suseversion},g
|
||||
s,%%HOMEPAGE%%,%{homepage},g
|
||||
s,%%FLAVOR%%,%{appname},g
|
||||
s,%%DIST%%,%{distname},g' \
|
||||
%{SOURCE5} > distribution.ini
|
||||
|
||||
@ -147,7 +161,6 @@ cp -r susefox\@opensuse.org \
|
||||
%doc ../COPYING
|
||||
%{_datadir}/mozilla
|
||||
%endif
|
||||
|
||||
%{progdir}
|
||||
|
||||
%changelog
|
||||
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
||||
<multibuild>
|
||||
<package>MozillaFirefox-branding-openSUSE</package>
|
||||
<package>firefox-esr-branding-openSUSE</package>
|
||||
</multibuild>
|
@ -1,7 +1,7 @@
|
||||
[Global]
|
||||
id=openSUSE
|
||||
version=%VERSION%
|
||||
about=Firefox for %DIST%
|
||||
about=%FLAVOR% for %DIST%
|
||||
|
||||
[Preferences]
|
||||
app.partner.opensuse="opensuse"
|
||||
|
Loading…
Reference in New Issue
Block a user