libksba-vl.spec 4.9 KB

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