-
Notifications
You must be signed in to change notification settings - Fork 8
/
firefox-developer-edition.spec
94 lines (71 loc) · 4.65 KB
/
firefox-developer-edition.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
%global source_name firefox
%global application_name firefox-dev
%global full_name firefox-developer-edition
%global internal_name firefox-aurora
%global debug_package %{nil}
Name: firefox-dev
Version: 134.0b10
Release: 1%{?dist}
Summary: Firefox Developer Edition (formerly "Aurora") pre-beta Web browser
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: https://www.mozilla.org/en-US/firefox/developer/
Source0: https://download-installer.cdn.mozilla.net/pub/devedition/releases/%{version}/linux-x86_64/en-US/firefox-%{version}.tar.bz2
Source1: %{internal_name}.desktop
Source2: policies.json
Source3: %{internal_name}
ExclusiveArch: x86_64
Recommends: (plasma-browser-integration if plasma-workspace)
Recommends: (gnome-browser-connector if gnome-shell)
Requires(post): gtk-update-icon-cache
%description
This is a pre-beta release of Mozilla Firefox intended for Web developers and
enthusiasts who want early access to new features. It receives new updates
(almost) daily, adding and refining support for the very latest Web standards
that won't make it into the stable release of Firefox for some months. It also
comes with some addons for Web development enabled by default.
You may actually find that Developer Edition works just fine for normal everyday
use: Some users set it as their default Web browser. You can sign in to your
normal Firefox account and sync your preferences, extensions, and bookmarks,
etc. Or you can keep the Firefox versions separate, and use different profiles,
even different browser UI themes. Firefox Developer Edition can install
alongside the stable release of Firefox, making it easy to switch back and forth
between the two versions.
That being said, a lot of the technology here is still experimental, and there
will very likely be some bugs, so just remember that by using Developer Edition,
you're helping Mozilla make Firefox the best Web browser they can. And have fun!
Bugs related to Firefox Developer Edition should be reported directly to Mozilla:
<https://bugzilla.mozilla.org/>
Bugs related to this package should be reported at this GitHub project:
<https://github.com/the4runner/firefox-dev/issues/>
%prep
%setup -q -n %{source_name}
%install
%__rm -rf %{buildroot}
%__install -d %{buildroot}{/opt/%{application_name},%{_bindir},%{_datadir}/applications,%{_datadir}/icons/hicolor/128x128/apps,%{_datadir}/icons/hicolor/64x64/apps,%{_datadir}/icons/hicolor/48x48/apps,%{_datadir}/icons/hicolor/32x32/apps,%{_datadir}/icons/hicolor/16x16/apps}
%__cp -r * %{buildroot}/opt/%{application_name}
%__install -D -m 0644 %{SOURCE1} -t %{buildroot}%{_datadir}/applications
%__install -D -m 0444 %{SOURCE2} -t %{buildroot}/opt/%{application_name}/distribution
%__install -D -m 0755 %{SOURCE3} -t %{buildroot}%{_bindir}
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{full_name}.png
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{full_name}.png
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{full_name}.png
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{full_name}.png
%__ln_s ../../../../../../opt/%{application_name}/browser/chrome/icons/default/default16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{full_name}.png
%post
gtk-update-icon-cache -f -t %{_datadir}/icons/hicolor
%files
%{_datadir}/applications/%{internal_name}.desktop
%{_datadir}/icons/hicolor/128x128/apps/%{full_name}.png
%{_datadir}/icons/hicolor/64x64/apps/%{full_name}.png
%{_datadir}/icons/hicolor/48x48/apps/%{full_name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{full_name}.png
%{_datadir}/icons/hicolor/16x16/apps/%{full_name}.png
%{_bindir}/%{internal_name}
/opt/%{application_name}
%changelog
* Wed Jul 10 2024 AnjaloHettiarachchi <24694418+AnjaloHettiarachchi@users.noreply.github.com> - 129.0b1
- firefox-developer-edition.spec: Add global declaration to disable debuginfo
* Sat Sep 23 2023 Namelesswonder <Namelesswonder@users.noreply.github.com> - 118.0b9-3
- firefox-developer-edition.spec: Add weak dependency for each DE browser integration
* Tue Sep 12 2023 Namelesswonder <Namelesswonder@users.noreply.github.com> - 118.0b7-2
- firefox-developer-edition.spec: Trim changelog to resolve date warnings and bump release