105 lines
3.1 KiB
RPMSpec
105 lines
3.1 KiB
RPMSpec
Name: ykclient
|
|
Version: 2.14
|
|
Release: 1%{?dist}
|
|
Summary: Yubikey management library and client
|
|
|
|
Group: Applications/System
|
|
License: BSD
|
|
URL: http://opensource.yubico.com/yubico-c-client/
|
|
Source0: http://opensource.yubico.com/yubico-c-client/releases/ykclient-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: curl-devel, chrpath, help2man
|
|
|
|
%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*
|
|
%{_mandir}/man1/ykclient.1.gz
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING NEWS AUTHORS
|
|
%{_includedir}/*.h
|
|
%{_libdir}/libykclient.so
|
|
|
|
%changelog
|
|
* Thu Jun 18 2015 Nick Bebout <nb@fedoraproject.org> - 2.14-1
|
|
- Update to 2.14
|
|
|
|
* Wed Nov 26 2014 Nick Bebout <nb@fedoraproject.org> - 2.13-1
|
|
- Update to 2.13
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Thu Mar 13 2014 Nick Bebout <nb@fedoraproject.org> - 2.12-1
|
|
- Update to 2.12
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Wed Feb 8 2012 Nick Bebout <nb@fedoraproject.org> - 2.7-1
|
|
- Update to 2.7
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Mon Nov 07 2011 Dennis Gilmore <dennis@ausil.us> - 2.6-1
|
|
- update to 2.6 release.
|
|
- include all .h header files
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* 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
|