File numberstation.spec of Package numberstation
#
# spec file for package numberstation
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
Name: numberstation
Version: 1.0.1
Release: 0
Summary: TOTP/HOTP authenticator application
License: GPL-3.0-only
URL: https://git.sr.ht/~martijnbraam/numberstation/
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libhandy-1)
BuildArch: noarch
%description
A Gnome Authenticator clone. This generates 2fa tokens based on
secrets installed. It registers as uri-handler for otpauth://
urls so they can be added from Megapixels.
%prep
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%files
%license LICENSE
%doc README.md
%{_bindir}/numberstation
%{_datadir}/applications/org.postmarketos.Numberstation.desktop
%{_datadir}/icons/hicolor/scalable/apps/org.postmarketos.Numberstation.svg
%{_datadir}/metainfo/org.postmarketos.Numberstation.appdata.xml
%{_datadir}/numberstation
%changelog