Name: libyubikey-client Version: 1.5 Release: 1%{?dist} Summary: Library for validating yubikey OTPs Group: System Environment/Libraries License: BSD URL: http://code.google.com/p/yubico-c-client/ Source0: http://yubico-c-client.googlecode.com/files/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: curl-devel %description This is a library written in C to validate a Yubikey OTP against the Yubico online server. %package devel Summary: Development files for the libyubikey-client library Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This is a library written in C to validate a Yubikey OTP against the Yubico online server. This package contains the files required to develop programs that will use libyubikey-client. %prep %setup -q %build %configure 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 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{_bindir}/* %{_libdir}/*.so.* %files devel %defattr(-, root, root, -) %{_includedir}/* %exclude %{_libdir}/*.a %exclude %{_libdir}/*.la %{_libdir}/*.so %changelog * Wed Feb 11 2009 Todd Zullinger - 1.5-1 - Initial package