diff --git a/ykpers-1.20.0.tar.gz b/ykpers-1.20.0.tar.gz new file mode 100644 index 0000000..199d3bd Binary files /dev/null and b/ykpers-1.20.0.tar.gz differ diff --git a/ykpers.spec b/ykpers.spec new file mode 100644 index 0000000..585950d --- /dev/null +++ b/ykpers.spec @@ -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 +- Package init +