!1 init package
From: @myeuler Reviewed-by: @ethan848,@ethan848,@yanan-rock Signed-off-by: @ethan848,@yanan-rock
This commit is contained in:
commit
65a4c1f09a
BIN
ykpers-1.20.0.tar.gz
Normal file
BIN
ykpers-1.20.0.tar.gz
Normal file
Binary file not shown.
58
ykpers.spec
Normal file
58
ykpers.spec
Normal file
@ -0,0 +1,58 @@
|
||||
#%global debug_package %{nil}
|
||||
|
||||
Name: ykpers
|
||||
Version: 1.20.0
|
||||
Release: 1
|
||||
Summary: The YubiKey Personalization package contains a library and command line tool used to personalize
|
||||
License: BSD
|
||||
URL: https://developers.yubico.com/yubikey-personalization/
|
||||
Source0: https://developers.yubico.com/yubikey-personalization/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: libusb-devel gcc libyubikey-devel
|
||||
|
||||
%description
|
||||
The YubiKey Personalization package contains a library and command line tool used to personalize
|
||||
|
||||
%package devel
|
||||
Summary: devel pacakge for ykpers
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description devel
|
||||
The YubiKey Personalization package contains a library and command line tool used to personalize
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}/
|
||||
|
||||
%build
|
||||
%configure --enable-static=no --with-udevrulesdir=/usr/lib/udev/rules.d
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -rf %{buildroot}/%{_libdir}/*.la
|
||||
|
||||
%pre
|
||||
%preun
|
||||
%post
|
||||
%postun
|
||||
|
||||
%check
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_bindir}/*
|
||||
%{_mandir}/*
|
||||
%{_libdir}/libykpers-1.so.*
|
||||
%{_udevrulesdir}/69-yubikey.rules
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libykpers-1.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_libdir}/libykpers-1.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user