commit
b6f59dcae3
@ -0,0 +1,19 @@
|
||||
Copyright (c) 2024 Red Hat, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -0,0 +1,4 @@
|
||||
[Flatpak Preinstall]
|
||||
Name=org.mozilla.firefox
|
||||
Branch=stable
|
||||
CollectionId=org.fedoraproject.Stable
|
@ -0,0 +1,8 @@
|
||||
[Flatpak Repo]
|
||||
Title=Red Hat Enterprise Linux
|
||||
Url=oci+https://flatpaks.redhat.io/rhel/
|
||||
AuthenticatorName=org.flatpak.Authenticator.Oci
|
||||
Homepage=https://catalog.redhat.com/software/containers/explore
|
||||
Comment=Red Hat Enterprise Linux Flatpak applications and runtimes
|
||||
Description=This repository contains Flatpaks of applications built for Red Hat Enterprise Linux, along with the Red Hat Flatpak Runtime and SDK.
|
||||
Icon=https://www.redhat.com/misc/favicon.ico
|
@ -0,0 +1,4 @@
|
||||
[Flatpak Preinstall]
|
||||
Name=org.mozilla.Thunderbird
|
||||
Branch=stable
|
||||
CollectionId=org.fedoraproject.Stable
|
@ -0,0 +1,80 @@
|
||||
Name: redhat-flatpak-data
|
||||
Version: 0.1
|
||||
Release: 3%{dist}
|
||||
Summary: Metadata files for Flatpaks on Red Hat Enterprise Linux
|
||||
|
||||
License: MIT
|
||||
Source0: LICENSE
|
||||
Source1: rhel.flatpakrepo
|
||||
Source2: firefox.preinstall
|
||||
Source3: thunderbird.preinstall
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Metadata files for Flatpaks on Red Hat Enterprise Linux
|
||||
|
||||
|
||||
%package -n redhat-flatpak-repo
|
||||
Summary: Red Hat Enterprise Linux Flatpak repository file
|
||||
Requires: flatpak
|
||||
|
||||
%description -n redhat-flatpak-repo
|
||||
Creates a Flatpak repository for Red Hat Enterprise Linux
|
||||
|
||||
|
||||
%package -n redhat-flatpak-preinstall-firefox
|
||||
Summary: Preinstall the Red Hat Enterprise Linux Firefox Flatpak
|
||||
Requires: redhat-flatpak-repo
|
||||
Provides: flatpak-preinstall(app/org.mozilla.firefox//stable)
|
||||
|
||||
%description -n redhat-flatpak-preinstall-firefox
|
||||
Adds a file to /etc/flatpaks/preinstall.d to preinstall the
|
||||
Red Hat Enterprise Linux Firefox Flatpak
|
||||
|
||||
|
||||
%package -n redhat-flatpak-preinstall-thunderbird
|
||||
Summary: Preinstall the Red Hat Enterprise Linux Thunderbird Flatpak
|
||||
Requires: redhat-flatpak-repo
|
||||
Provides: flatpak-preinstall(app/org.mozilla.Thunderbird//stable)
|
||||
|
||||
%description -n redhat-flatpak-preinstall-thunderbird
|
||||
Adds a file to /etc/flatpaks/preinstall.d to preinstall the
|
||||
Red Hat Enterprise Linux Thunderbird Flatpak
|
||||
|
||||
|
||||
%prep
|
||||
%setup -c -T %{name}
|
||||
cp %{SOURCE0} .
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -m0644 -D -t %{buildroot}%{_sysconfdir}/flatpak/remotes.d %{SOURCE1}
|
||||
install -m0644 -D -t %{buildroot}%{_sysconfdir}/flatpak/preinstall.d %{SOURCE2}
|
||||
install -m0644 -D -t %{buildroot}%{_sysconfdir}/flatpak/preinstall.d %{SOURCE3}
|
||||
|
||||
|
||||
%files -n redhat-flatpak-repo
|
||||
%license LICENSE
|
||||
%{_sysconfdir}/flatpak/remotes.d/*.flatpakrepo
|
||||
|
||||
|
||||
%files -n redhat-flatpak-preinstall-firefox
|
||||
%{_sysconfdir}/flatpak/preinstall.d/firefox.preinstall
|
||||
|
||||
|
||||
%files -n redhat-flatpak-preinstall-thunderbird
|
||||
%{_sysconfdir}/flatpak/preinstall.d/thunderbird.preinstall
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 28 2024 Tomas Popela <tpopela@redhat,com> - 0.1-3
|
||||
- Initial RHEL packaging based on Fedora package, added also subpackage
|
||||
for Thunderbird
|
||||
|
||||
* Thu Nov 7 2024 Owen W. Taylor <otaylor@fishsoup.net> - 0.1-2
|
||||
- Fedora has org.mozilla.firefox, not org.mozilla.Firefox
|
||||
|
||||
* Wed Oct 30 2024 Owen W. Taylor <otaylor@fishsoup.net> - 0.1-1
|
||||
- Initial version
|
Loading…
Reference in new issue