You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

48 lines
1.1 KiB

Name: OTPClient
Summary: OTP client for TOTP/HOTP
Version: 3.3.0
Release: 1%{?dist}
License: GPLv3
Url: https://github.com/paolostivanin/OTPClient
Source0: https://github.com/paolostivanin/OTPClient/archive/refs/tags/v%{version}.tar.gz
BuildRequires: zbar
BuildRequires: libcotp-devel
BuildRequires: qrencode-devel
Requires: libcotp
Requires: qrencode-libs
%description
Highly secure and easy to use GTK+ software
for two-factor authentication that supports
both Time-based One-time Passwords (TOTP)
and HMAC-Based One-Time Passwords (HOTP).
%prep
%setup -q -n OTPClient-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%{_bindir}/otpclient
%{_bindir}/otpclient-cli
%{_datadir}/applications/com.github.paolostivanin.OTPClient.desktop
%{_datadir}/icons/hicolor/scalable/apps/com.github.paolostivanin.OTPClient-symbolic.svg
%{_datadir}/icons/hicolor/scalable/apps/com.github.paolostivanin.OTPClient.svg
%{_datadir}/metainfo/com.github.paolostivanin.OTPClient.appdata.xml
%{_datadir}/otpclient/otpclient.ui
%{_datadir}/otpclient/shortcuts.ui
%{_mandir}/man1/otpclient-cli.1.gz
%{_mandir}/man1/otpclient.1.gz
%changelog