From 8f7caba62c763ee074c7c99df3f6decd16c25f5f Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 20 Feb 2025 04:20:22 -0800 Subject: [PATCH] chore: remove authy (#3465) (#3467) snap upstream link is 404 (cherry picked from commit d34c23e35a1e72863099799fba209a6046eaaa51) Co-authored-by: sadlerm4 --- anda/apps/authy/anda.hcl | 5 --- anda/apps/authy/authy.spec | 54 --------------------------------- anda/apps/authy/update.rhai.bak | 5 --- 3 files changed, 64 deletions(-) delete mode 100644 anda/apps/authy/anda.hcl delete mode 100644 anda/apps/authy/authy.spec delete mode 100644 anda/apps/authy/update.rhai.bak diff --git a/anda/apps/authy/anda.hcl b/anda/apps/authy/anda.hcl deleted file mode 100644 index 0cb11118e4..0000000000 --- a/anda/apps/authy/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "authy.spec" - } -} diff --git a/anda/apps/authy/authy.spec b/anda/apps/authy/authy.spec deleted file mode 100644 index ec4633d49f..0000000000 --- a/anda/apps/authy/authy.spec +++ /dev/null @@ -1,54 +0,0 @@ -%define debug_package %nil -%global _build_id_links none - -# Exclude private libraries -%global __requires_exclude libffmpeg.so -%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so - -Name: authy -Version: 2.5.0 -Release: 1%{?dist} -Summary: Two factor authentication desktop application -License: Unlicense -URL: https://authy.com/ -Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_23.snap -Requires: gtk3 -Requires: nss -BuildRequires: squashfs-tools desktop-file-utils - -%description -%{summary}. - -%prep -unsquashfs -q -f -d snap %{SOURCE0} - -%build - -%install -install -d %buildroot%_datadir/authy -cp -r snap/. %buildroot%_datadir/authy - -sed -i 's|${SNAP}/meta/gui/icon.png|authy|g' %buildroot%_datadir/authy/meta/gui/authy.desktop -install -Dm644 %buildroot%_datadir/authy/meta/gui/authy.desktop -t %buildroot%_datadir/applications -install -Dm644 %buildroot%_datadir/authy/meta/gui/icon.png %buildroot%_datadir/pixmaps/authy.png - -rm -rf %buildroot%_datadir/authy/{data-dir,gnome-platform,lib,meta,scripts,usr,*.sh} - -install -d %buildroot%_bindir -ln -s %_datadir/authy/authy %buildroot%_bindir - -%check -desktop-file-validate %buildroot%_datadir/applications/authy.desktop - -%files -%_datadir/authy/ -%_bindir/authy -%_datadir/applications/authy.desktop -%_datadir/pixmaps/authy.png - -%changelog -* Sat Jun 17 2023 windowsboy111 - 2.3.0-2 -- Use /usr/share/ instead of /opt/ - -* Sat Oct 15 2022 windowsboy111 - 2.2.1-2 -- Initial release diff --git a/anda/apps/authy/update.rhai.bak b/anda/apps/authy/update.rhai.bak deleted file mode 100644 index 246c81cd05..0000000000 --- a/anda/apps/authy/update.rhai.bak +++ /dev/null @@ -1,5 +0,0 @@ -let req = new_req("https://api.snapcraft.io/v2/snaps/info/authy"); -req.head("Snap-Device-Series", "16"); -let obj = json(req.get())["channel-map"][0]; -rpm.version(obj.version); -rpm.source(0, obj.download.url);