Package libyubikey: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | %add_optflags %optflags_shared # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: libyubikey Version: 1.13 Release: alt1_8 Summary: C library for decrypting and parsing Yubikey One-time passwords Group: Development/Other License: BSD URL: http://opensource.yubico.com/yubico-c Source0: http://opensource.yubico.com/yubico-c/releases/%{name}-%{version}.tar.gz BuildRequires: gcc Source44: import.info %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/Other 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 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %files %doc AUTHORS NEWS ChangeLog README %doc --no-dereference COPYING %{_bindir}/modhex %{_bindir}/ykparse %{_bindir}/ykgenerate %{_libdir}/libyubikey.so.0 %{_libdir}/libyubikey.so.0.1.7 %{_mandir}/man1/ykgenerate.1* %{_mandir}/man1/ykparse.1* %{_mandir}/man1/modhex.1* %files devel %{_includedir}/yubikey.h %{_libdir}/libyubikey.so %changelog * Wed Oct 10 2018 Igor Vlasenko <viy@altlinux.ru> 1.13-alt1_8 - update to new release by fcimport * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 1.13-alt1_5 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 1.13-alt1_3 - update to new release by fcimport * Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 1.13-alt1_2 - update to new release by fcimport * Sun Dec 27 2015 Igor Vlasenko <viy@altlinux.ru> 1.13-alt1_1 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 1.12-alt1_3 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 1.11-alt1_3 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 1.11-alt1_2 - update to new release by fcimport * Tue Dec 03 2013 Igor Vlasenko <viy@altlinux.ru> 1.11-alt1_1 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 1.10-alt1_2 - update to new release by fcimport * Tue May 21 2013 Igor Vlasenko <viy@altlinux.ru> 1.10-alt1_1 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 1.9-alt1_2 - update to new release by fcimport * Wed Oct 03 2012 Igor Vlasenko <viy@altlinux.ru> 1.9-alt1_1 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 1.7-alt2_3 - update to new release by fcimport * Wed Jan 11 2012 Igor Vlasenko <viy@altlinux.ru> 1.7-alt2_2 - update to new release by fcimport * Fri Dec 23 2011 Igor Vlasenko <viy@altlinux.ru> 1.7-alt2_1 - spec cleanup thanks to ldv@ * Sun Dec 18 2011 Igor Vlasenko <viy@altlinux.ru> 1.7-alt1_1 - initial import by fcimport |