You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libyubikey/libyubikey.spec

143 lines
4.8 KiB

Name: libyubikey
9 years ago
Version: 1.13
Release: 1%{?dist}
Summary: C library for decrypting and parsing Yubikey One-time passwords
Group: Development/Libraries
License: BSD
URL: http://opensource.yubico.com/yubico-c
Source0: http://opensource.yubico.com/yubico-c/releases/%{name}-%{version}.tar.gz
BuildRoot: %{mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX}
%description
This package holds a low-level C software development kit for the Yubico
authentication device, the Yubikey.
%package devel
Summary: Development files for libyubikey
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the header file needed to develop applications that use
libyubikey.
%prep
%setup -q
%build
%configure --disable-static --disable-silent-rules
# --disable-rpath doesn't work for the configure script
%{__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}
%check
export LD_LIBRARY_PATH=${RPM_BUILD_DIR}/%{name}-%{version}/.libs
%{__make} check
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS NEWS ChangeLog README
%license COPYING
%{_bindir}/modhex
%{_bindir}/ykparse
%{_bindir}/ykgenerate
%{_libdir}/libyubikey.so.0
%{_libdir}/libyubikey.so.0.1.7
%{_mandir}/man1/ykgenerate.1.gz
%{_mandir}/man1/ykparse.1.gz
%{_mandir}/man1/modhex.1.gz
%files devel
%defattr(-,root,root,-)
%{_includedir}/yubikey.h
%{_libdir}/libyubikey.so
%exclude %{_libdir}/libyubikey.la
%changelog
9 years ago
* Wed Nov 18 2015 Nick Bebout <nb@fedoraproject.org> - 1.13-1
- Update to 1.13
* Fri Jun 19 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12-4
- Reflect SONAME bump (Fix FTFBS).
- Add %%license.
- Append --disable-silent-rules to %%configure.
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.12-2
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
10 years ago
* Wed Nov 26 2014 Nick Bebout <nb@fedoraproject.org - 1.12-1
- Update to 1.12
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Nov 28 2013 - Maxim Burgerhout <wzzrd@fedoraproject.org> - 1.11-1
- New upstream release 1.11; adds man pages
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon May 13 2013 - Maxim Burgerhout <wzzrd@fedoraproject.org> - 1.10-1
- New upstream release 1.10; enables build warnings
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Oct 1 2012 - Maxim Burgerhout <wzzrd@fedoraproject.org> - 1.9-1
- New upstream release 1.9 with memory leak and rpath fixes, gnulib update
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun Jan 8 2012 - Maxim Burgerhout <maxim@wzzrd.com> - 1.7-2
- Rebuild for gcc 4.7
* Sun Feb 6 2011 - Maxim Burgerhout <maxim@wzzrd.com> - 1.7-1
- New upstream version 1.7; new features in 1.6 and 1.7 listed below
- yubikey.h: Possible to use from C++ using extern namespace scoping.
- New API to generate OTPs.
- ykgenerate: New tool to generate OTPs.
- ykdebug/ykparse: The old tool "ykdebug" has been renamed to "ykparse"
* Sun Jan 24 2010 - Maxim Burgerhout <maxim@wzzrd.com> - 1.5-4
- Reverted inserting compilerflags
- Put README, modhex and ykdebug back into main package
- Adapted defattr to (-,root,root,-)
- Set INSTALL variable in make install line
* Sun Jan 24 2010 - Maxim Burgerhout <maxim@wzzrd.com> - 1.5-3
- Took out the dep on libusb1-devel
- Moved README doc to -devel: it's mostly about ykdebug and modhex
* Sun Jan 24 2010 - Maxim Burgerhout <maxim@wzzrd.com> - 1.5-2
- Used macros in Source0
- URL no longer point to redirect
- Removed INSTALL from documentation
- Moved modhex and ykdebug to -devel
- Inserted compilerflags
- Inserted INSTALLFLAGS to keep timestamps
- Some more macros for make and sed
* Wed Jan 20 2010 - Maxim Burgerhout <maxim@wzzrd.com> - 1.5-1
- First packaged release