!1 init package

From: @myeuler
Reviewed-by: @ethan848,@ethan848,@yanan-rock
Signed-off-by: @ethan848,@yanan-rock
This commit is contained in:
openeuler-ci-bot 2020-09-14 09:24:29 +08:00 committed by Gitee
commit 65a4c1f09a
2 changed files with 58 additions and 0 deletions

BIN
ykpers-1.20.0.tar.gz Normal file

Binary file not shown.

58
ykpers.spec Normal file
View 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