## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global debug_package %{nil} Name: helium-bin Summary: Private, fast, and honest web browser Version: 0.9.4.1 Release: %autorelease License: GPL-3.0 URL: https://github.com/imputnet/helium-linux Source0: %{url}/releases/download/%{version}/helium-%{version}-x86_64_linux.tar.xz Source1: %{url}/releases/download/%{version}/helium-%{version}-x86_64_linux.tar.xz.asc Source3: helium-pubkey.gpg ExcludeArch: %{ix86} %description Private, fast, and honest web browser based on Chromium %prep export GNUPGHOME="$(mktemp -d)" gpg2 --import %{SOURCE3} gpg2 --verify %{SOURCE1} %{SOURCE0} rm -rf "$GNUPGHOME" %ifarch x86_64 %setup -q -n helium-%{version}-x86_64_linux %endif %build # We are using prebuilt binaries %install %define helium_base /opt/helium %define heliumdir %{buildroot}%{helium_base} mkdir -p %{heliumdir} \ %{buildroot}%{_bindir} \ %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/icons/hicolor/256x256/apps cp -a . %{heliumdir} sed -Ei "s/(CHROME_VERSION_EXTRA=).*/\1rpm/" \ %{heliumdir}/helium-wrapper install -m 644 product_logo_256.png \ %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/helium.png install -m 644 %{heliumdir}/helium.desktop \ %{buildroot}%{_datadir}/applications/ ln -sf %{helium_base}/helium-wrapper \ %{buildroot}%{_bindir}/helium %files %defattr(-,root,root,-) %{helium_base}/ %{_bindir}/helium %{_datadir}/applications/helium.desktop %{_datadir}/icons/hicolor/256x256/apps/helium.png %post # Refresh icon cache and update desktop database /usr/bin/update-desktop-database &> /dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun # Refresh icon cache and update desktop database /usr/bin/update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog ## START: Generated by rpmautospec * Sat Feb 28 2026 John Doe - 0.9.4.1-1 - Uncommitted changes ## END: Generated by rpmautospec