67 lines
1.6 KiB
RPMSpec
67 lines
1.6 KiB
RPMSpec
Name: ykclient
|
|
Version: 2.3
|
|
Release: 2%{?dist}
|
|
Summary: Yubikey management library and client
|
|
|
|
Group: Applications/System
|
|
License: BSD
|
|
URL: http://yubico-c-client.googlecode.com/
|
|
Source0: http://yubico-c-client.googlecode.com/files/ykclient-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: curl-devel, chrpath
|
|
|
|
%description
|
|
commandline for yubikeys
|
|
|
|
%package devel
|
|
|
|
Summary: Development headers and libraries for ykclient
|
|
Group: Development/System
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
development files for ykclient needed to build applications to
|
|
take advantage of yubikey authentication.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --enable-static=no
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm $RPM_BUILD_ROOT%{_libdir}/libykclient.la
|
|
chrpath -d $RPM_BUILD_ROOT%{_bindir}/ykclient
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING AUTHORS NEWS README
|
|
%{_bindir}/ykclient
|
|
%{_libdir}/libykclient.so.3*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING NEWS AUTHORS
|
|
%{_includedir}/ykclient.h
|
|
%{_libdir}/libykclient.so
|
|
|
|
%changelog
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Sun Jun 21 2009 Dennis Gilmore <dennis@ausil.us> - 2.3-1
|
|
- update to 2.3 release
|
|
|
|
* Wed Apr 29 2009 Dennis Gilmore <dennis@ausil.us> - 2.2-1
|
|
- initial packaging
|