2 Summary: Yubikey personalization program
7 Group: Applications/System
8 URL: http://opensource.yubico.com/yubikey-personalization/
9 Source0: http://opensource.yubico.com/yubikey-personalization/releases/%{name}-%{version}.tar.gz
10 # Source0-md5: 58e6a7011a3a02ae420a8eee0a442fb1
11 BuildRequires: json-c-devel
12 BuildRequires: libusb-devel
13 BuildRequires: libyubikey-devel
14 BuildRequires: systemd-devel
17 Yubico's YubiKey can be re-programmed with a new AES key. This is a
18 library that makes this an easy task.
21 Summary: Development files for ykpers
22 Group: Development/Libraries
23 Requires: %{name} = %{version}-%{release}
26 This package contains the header file needed to develop applications
34 --disable-silent-rules \
36 --with-udevrulesdir=/lib/udev/rules.d \
41 export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 %{__rm} -rf ${RPM_BUILD_ROOT}
54 %post -p /sbin/ldconfig
55 %postun -p /sbin/ldconfig
58 %defattr(644,root,root,755)
59 %doc AUTHORS README ChangeLog NEWS
60 %doc doc/Compatibility.asciidoc
61 %attr(755,root,root) %{_bindir}/ykinfo
62 %attr(755,root,root) %{_bindir}/ykpersonalize
63 %attr(755,root,root) %{_bindir}/ykchalresp
64 %attr(755,root,root) %ghost %{_libdir}/libykpers-1.so.1
65 %attr(755,root,root) %{_libdir}/libykpers-1.so.*.*
66 %{_mandir}/man1/ykpersonalize.1*
67 %{_mandir}/man1/ykchalresp.1*
68 %{_mandir}/man1/ykinfo.1*
69 /lib/udev/rules.d/69-yubikey.rules
72 %defattr(644,root,root,755)
73 %doc doc/USB-Hid-Issue.asciidoc
74 %{_pkgconfigdir}/ykpers-1.pc
75 %attr(755,root,root) %{_libdir}/libykpers-1.so
76 %{_includedir}/ykpers-1
77 %{_libdir}/libykpers-1.la