mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 18:02:19 +00:00
9bbe91be03
* fix(lint): prismlauncher* fluent-icon-theme * fix(lint): fix lints for 6 packages (#578) * fix(lint): fix rpmlint lints for youki package * fix(lint): fix rpmlint lints for xdg-desktop-portal-pantheon * fix(lint): fix rpmlint lints for wingpanel package * fix(lint): fix rpmlint lints for wingpanel-indicator-sound package * fix(lint): fix rpmlint lints for wingpanel-indicator-session package * fix(lint): fix rpmlint lints for wingpanel-indicator-power package * fix(lint): * * fix random typos * feat: revert anda/desktops * fix: armcord-bin authy blahaj * fix: ... anki authy discord~ aya~sound groovy kotlin libappimage qt5-pim * fix: ... qdjango moby-buildx nim-nightly nim system76-scheduler unity-scope-home kondo pop-launcher fuc graalvm vala-lint-nightly * fix: armcord-bin authy blahaj groovy * fix: ... libappimage moby0buildx nim-nightly nim system76-scheduler subatomic * fix blahaj * fix: kondo * fix: libappimage moby-buildx system76-scheduler nim-nightly * fix: subatomic * fix: subatomic * fix: nim * Update anki.spec Signed-off-by: madomado <wboy111@outlook.com> * fix: libappimage nim-nightly * fix: moby-buildx subatomic * fix: moby-buildx subatomic --------- Signed-off-by: madomado <wboy111@outlook.com> Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
48 lines
1.3 KiB
RPMSpec
48 lines
1.3 KiB
RPMSpec
Name: authy
|
|
Version: 2.3.0
|
|
Release: 2%{?dist}
|
|
Summary: Two factor authentication desktop application
|
|
License: Unlicense
|
|
URL: https://authy.com/
|
|
Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_19.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 <windowsboy111@fyralabs.com> - 2.3.0-2
|
|
- Use /usr/share/ instead of /opt/
|
|
|
|
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com> - 2.2.1-2
|
|
- Initial release
|