libksba-vl.spec 5.1 KB

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