55 lines
1.1 KiB
RPMSpec
55 lines
1.1 KiB
RPMSpec
#%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
|
|
|