commit
5ee025f5af
BIN
libyubikey-1.13.tar.gz
Normal file
BIN
libyubikey-1.13.tar.gz
Normal file
Binary file not shown.
54
libyubikey.spec
Normal file
54
libyubikey.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
#%global debug_package %{nil}
|
||||||
|
|
||||||
|
Name: libyubikey
|
||||||
|
Version: 1.13
|
||||||
|
Release: 1
|
||||||
|
Summary: low-level C software development kit for the Yubico YubiKey authentication device
|
||||||
|
License: BSD
|
||||||
|
URL: https://developers.yubico.com/yubico-c/
|
||||||
|
Source0: https://developers.yubico.com/yubico-c/Releases/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package make up the low-level C software development kit for the Yubico YubiKey authentication device.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: devel pacakge for libyubikey
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%description devel
|
||||||
|
This package make up the low-level C software development kit for the Yubico YubiKey authentication device.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}/
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --enable-static=no
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
rm -rf %{buildroot}/%{_libdir}/*.la
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%preun
|
||||||
|
%post
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS NEWS ChangeLog README
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_libdir}/libyubikey.so.*
|
||||||
|
%{_mandir}/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/libyubikey.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||||
|
- Package init
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user