File firefox-image.spec of Package firefox-image
#
# spec file for package firefox-image
#
# Copyright (c) 2024 SUSE LLC
# 2024 Martin Sirringhaus
#
# 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 https://bugs.opensuse.org/
#
# We have to have the same build count for the rpm as well as the container-image.
# So we define a Buildcount-sync-tag.
#!BcntSyncTag: firefox-image-bcnt
Name: firefox-image
Version: 0.1
Release: 0
Summary: Wrapper-script to start user-based distroboxes
License: MIT
Group: Productivity/Networking/Web/Browsers
URL: https://build.opensuse.org/package/show/home:MSirringhaus:firefox-container/firefox-image
Requires: distrobox
BuildRequires: MozillaFirefox
Source0: firefox-wrapper.sh
Conflicts: MozillaFirefox
%description
A wrapper-script that sets up userbased distrobox-images for firefox, which also checks for newer versions
%prep
# Nothing to do
%build
sed -i "s|__RELEASE__|%release|" %SOURCE0
%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 %SOURCE0 %{buildroot}%{_bindir}/firefox
%files
%defattr(-, root, root)
%{_bindir}/firefox
%changelog