libksba-vl.spec 5.4 KB

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