libksba-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. Summary: A library to access X.509 and CMS data structures.
  2. Summary(ja): X.509 および CMS データ構造にアクセスするためのライブラリ
  3. Name: libksba
  4. Version: 1.3.5
  5. Release: 2%{?_dist_release}
  6. License: GPLv3/LGPLv3
  7. Group: System Environment/Libraries
  8. URL: https://www.gnupg.org/related_software/libksba/index.html
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: iwaim
  12. Source0: https://gnupg.org/ftp/gcrypt/libksba/libksba-%{version}.tar.bz2
  13. Source1: https://gnupg.org/ftp/gcrypt/libksba/libksba-%{version}.tar.bz2.sig
  14. # quick-n-dirty hack to ksba-config, TODO: consider using pkgconfig instead
  15. Patch1: libksba-1.3.0-multilib.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: gawk
  18. BuildRequires: libgpg-error-devel >= 1.22
  19. %description
  20. KSBA is a library designed to build software based on the X.509 and
  21. CMS protocols.
  22. %package devel
  23. Summary: Development headers and libraries for %{name}
  24. Summary(ja): %{name} 用開発ヘッダ/ライブラリ
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires(post): /sbin/install-info
  28. Requires(preun): /sbin/install-info
  29. %description devel
  30. %{summary}.
  31. %prep
  32. %setup -q
  33. %patch1 -p1 -b .multilib
  34. %build
  35. %configure \
  36. --disable-dependency-tracking \
  37. --disable-static
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  43. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  44. %check
  45. make check
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %post devel
  51. install-info %{_infodir}/ksba.info %{_infodir}/dir ||:
  52. %postun devel
  53. if [ $1 -eq 0 ]; then
  54. install-info --delete %{_infodir}/ksba.info %{_infodir}/dir ||:
  55. fi
  56. %files
  57. %defattr(-,root,root,-)
  58. %license COPYING*
  59. %doc AUTHORS ChangeLog* NEWS README* THANKS
  60. %{_libdir}/lib*.so.*
  61. %files devel
  62. %defattr(-,root,root,-)
  63. %{_bindir}/ksba-config
  64. %{_libdir}/lib*.so
  65. %{_includedir}/*
  66. %{_datadir}/aclocal/*
  67. %{_infodir}/*
  68. %changelog
  69. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.3.5-2
  70. - rebuilt with current environment.
  71. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.3.5-1
  72. - update to 1.3.5
  73. - update URL tag
  74. - add Packager tag
  75. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.3.4-1
  76. - new upstream release.
  77. * Sat Jan 17 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.2-1
  78. - updated to 1.3.2
  79. - built on current VineSeed
  80. * Sun Jun 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.3-3
  81. - rebuild with Vine6 environment
  82. * Thu Sep 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.3-2
  83. - new upstream release, based on 1.0.3-2 from Fedora 9
  84. - Vine's previous changelogs as follows:
  85. - Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.7-1vl5
  86. - applied new versioning policy, spec in utf-8
  87. - removed *.la
  88. - Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.7-0vl1
  89. - initial build
  90. * Thu Apr 03 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-2
  91. - multiarch conflicts (#342201)
  92. * Tue Feb 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-1
  93. - libksba-1.0.3
  94. * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.2-4
  95. - respin (gcc43)
  96. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-3
  97. - BR: gawk
  98. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-2
  99. - respin (ppc32, BuildID)
  100. - License: GPLv3
  101. * Fri Jul 06 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-1
  102. - libksba-1.0.2
  103. * Fri Dec 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1
  104. - libksba-1.0.1
  105. * Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-1.1
  106. - respin
  107. * Thu Aug 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-1
  108. - libksba-1.0.0
  109. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.15-3
  110. - fc6 respin
  111. * Tue Jun 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.15-2
  112. - 0.9.15
  113. * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2.1
  114. - fc5: gcc/glibc respin
  115. * Wed Nov 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2
  116. - remove hacks
  117. - drop self Obsoletes
  118. * Wed Nov 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-1
  119. - 0.9.13
  120. * Fri Aug 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-3
  121. - botched Obsoletes good, let's try again.
  122. * Fri Aug 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-2
  123. - revert to 0.9.11 (0.9.12 makes gnupg2 fail on x86_64) using Obsoletes
  124. to avoid Epoch or other ugly means.
  125. * Mon Aug 8 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.12-1
  126. - 0.9.12
  127. - --disable-static
  128. * Thu Apr 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-1
  129. - 0.9.11
  130. - drop upstreamed acquote patch
  131. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.9-2
  132. - rebuilt
  133. * Tue Feb 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.9-1
  134. - Minus BR libtool, add epoch to -devel req, fix underquoted ksba.m4.
  135. * Fri Oct 22 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.9.9-0.fdr.2
  136. - remove hard-coded .gz from %%post/%%postun
  137. - add %%check section
  138. * Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.9.9-0.fdr.1
  139. - 0.9.9
  140. * Thu Mar 20 2003 Ville Skytt<ville.skytta at iki.fi> - 0.4.7-0.fdr.1
  141. - Update to 0.4.7, and to current Fedora guidelines.
  142. - Exclude %%{_libdir}/*.la.
  143. * Wed Feb 12 2003 Warren Togami <warren@togami.com> 0.4.6-1.fedora.3
  144. - temporary workaround to lib/dir conflict problem
  145. * Sat Feb 8 2003 Ville Skytt<ville.skytta at iki.fi> - 0.4.6-1.fedora.1
  146. - First Fedora release.