1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
Name: libu2f-host Version: 1.1.3 Release: alt1 Summary: Yubico Universal 2nd Factor (U2F) Host C Library Group: System/Libraries License: LGPLv2+ Url: http://developers.yubico.com/%name # repacked http://developers.yubico.com/%name/releases/%name-%version.tar.xz Source0: %name-%version.tar # Automatically added by buildreq on Tue Nov 01 2016 # optimized out: gnu-config libjson-c pkg-config python-base BuildRequires: libhidapi-devel libjson-c-devel Requires: u2f-hidraw-policy %description libu2f-host provides a C library that implements the host-side of the U2F protocol. There are APIs to talk to a U2F device and perform the U2F Register and U2F Authenticate operations. %package -n u2f-host License: GPLv3+ Group: Security/Networking Summary: Command-line tool for U2F devices Requires: %name = %EVR %description -n u2f-host u2f-host provides a command line tool that implements the host-side of the U2F protocol. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %EVR %description devel This package contains the header files needed to develop applications that use libu2f-host. %prep %setup %build %configure --disable-rpath --disable-static # --disable-rpath doesn't work. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %check LD_LIBRARY_PATH="$PWD/u2f-host/.libs" make check %install %makeinstall_std find %buildroot -name '*.la' -delete %files %doc COPYING.LGPLv2 README AUTHORS NEWS THANKS ChangeLog doc/* %_libdir/*.so.* %files -n u2f-host %doc COPYING %_bindir/u2f-host %_mandir/man1/u2f-host.1* %files devel %doc %_datadir/gtk-doc %_libdir/pkgconfig/*.pc %_libdir/*.so %_includedir/* %changelog * Tue Nov 01 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.1.3-alt1 - Initial build.