%global _vpath_srcdir Authenticator-%{version} Name: authenticator Version: 4.5.0 Release: 1%{?dist} Summary: TOTP authentication app for the GNOME Desktop License: GPLv3+ URL: https://apps.gnome.org/Authenticator/ Source: https://gitlab.gnome.org/World/Authenticator/-/archive/%{version}/Authenticator-%{version}.zip BuildRequires: pkgconfig(glib-2.0), pkgconfig(gio-2.0), libsecret, pkgconfig(zbar), pkgconfig(libadwaita-1), pkgconfig(gstreamer-1.0), pkgconfig(gstreamer-base-1.0) pkgconfig(gstreamer-plugins-base-1.0), pkgconfig(gstreamer-plugins-bad-1.0), pipewire, meson, gobject-introspection, rust, clang, cargo, desktop-file-utils, pkgconfig(openssl) %description Simple application for generating two-factor authentication (2FA) codes %prep %autosetup -c %build %meson %meson_build %install %meson_install %files %{_bindir}/authenticator %{_datadir}/applications/com.belmoussaoui.Authenticator.desktop %dir %{_datadir}/authenticator/ %{_datadir}/authenticator/authenticator.gresource %{_datadir}/dbus-1/services/com.belmoussaoui.Authenticator.SearchProvider.service %{_datadir}/glib-2.0/schemas/com.belmoussaoui.Authenticator.gschema.xml %{_datadir}/gnome-shell/search-providers/com.belmoussaoui.Authenticator.search-provider.ini %{_datadir}/icons/hicolor/scalable/apps/com.belmoussaoui.Authenticator.svg %{_datadir}/icons/hicolor/symbolic/apps/com.belmoussaoui.Authenticator-symbolic.svg %{_datadir}/locale/*/LC_MESSAGES/authenticator.mo %{_datadir}/metainfo/com.belmoussaoui.Authenticator.metainfo.xml