forked from pool/libyubikey
44 lines
749 B
RPMSpec
44 lines
749 B
RPMSpec
Name: libyubikey
|
|
Version: 1.4
|
|
Release: 1%{?dist}
|
|
Summary: Yubico's USB key low-level C library
|
|
|
|
Group: Applications/security
|
|
License: GPL
|
|
URL: http://code.google.com/p/yubico-c/
|
|
Source0: http://yubico-c.googlecode.com/files/%{name}/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
Requires: libusb
|
|
|
|
%description
|
|
Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in C.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
%post
|
|
|
|
|
|
%postun
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
|
|
%changelog
|
|
|
|
|