- 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
epel9
Maxim Burgerhout 15 years ago
parent ce8739b2a3
commit 531512eefd

@ -0,0 +1 @@
libyubikey-1.5.tar.gz

@ -0,0 +1 @@
libyubikey-1_5-4_fc12:HEAD:libyubikey-1.5-4.fc12.src.rpm:1264577651

@ -0,0 +1,84 @@
Name: libyubikey
Version: 1.5
Release: 4%{?dist}
Summary: C library for decrypting and parsing Yubikey One-time passwords
Group: Development/Libraries
License: BSD
URL: http://code.google.com/p/yubico-c/
Source0: http://yubico-c.googlecode.com/files/%{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-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
%{__make} check LD_LIBRARY_PATH=".libs"
%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 COPYING NEWS ChangeLog README
%{_bindir}/modhex
%{_bindir}/ykdebug
%{_libdir}/libyubikey.so.0
%{_libdir}/libyubikey.so.0.1.0
%files devel
%defattr(-,root,root,-)
%{_includedir}/yubikey.h
%{_libdir}/libyubikey.so
%exclude %{_libdir}/libyubikey.la
%changelog
* 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

@ -0,0 +1 @@
387518eb89c1a9e44cbff95a32edaada libyubikey-1.5.tar.gz
Loading…
Cancel
Save