libksba-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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: 1%{?_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: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2
  13. Source1: ftp://ftp.gnupg.org/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. %doc AUTHORS ChangeLog* COPYING* NEWS README* THANKS
  59. %{_libdir}/lib*.so.*
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %{_bindir}/ksba-config
  63. %{_libdir}/lib*.so
  64. %{_includedir}/*
  65. %{_datadir}/aclocal/*
  66. %{_infodir}/*
  67. %changelog
  68. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.3.5-1
  69. - update to 1.3.5
  70. - update URL tag
  71. - add Packager tag
  72. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.3.4-1
  73. - new upstream release.
  74. * Sat Jan 17 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.2-1
  75. - updated to 1.3.2
  76. - built on current VineSeed
  77. * Sun Jun 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.3-3
  78. - rebuild with Vine6 environment
  79. * Thu Sep 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.3-2
  80. - new upstream release, based on 1.0.3-2 from Fedora 9
  81. - Vine's previous changelogs as follows:
  82. - Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.7-1vl5
  83. - applied new versioning policy, spec in utf-8
  84. - removed *.la
  85. - Sun Mar 7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.7-0vl1
  86. - initial build
  87. * Thu Apr 03 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-2
  88. - multiarch conflicts (#342201)
  89. * Tue Feb 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-1
  90. - libksba-1.0.3
  91. * Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.2-4
  92. - respin (gcc43)
  93. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-3
  94. - BR: gawk
  95. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-2
  96. - respin (ppc32, BuildID)
  97. - License: GPLv3
  98. * Fri Jul 06 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-1
  99. - libksba-1.0.2
  100. * Fri Dec 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1
  101. - libksba-1.0.1
  102. * Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-1.1
  103. - respin
  104. * Thu Aug 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-1
  105. - libksba-1.0.0
  106. * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.15-3
  107. - fc6 respin
  108. * Tue Jun 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.15-2
  109. - 0.9.15
  110. * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2.1
  111. - fc5: gcc/glibc respin
  112. * Wed Nov 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2
  113. - remove hacks
  114. - drop self Obsoletes
  115. * Wed Nov 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-1
  116. - 0.9.13
  117. * Fri Aug 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-3
  118. - botched Obsoletes good, let's try again.
  119. * Fri Aug 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-2
  120. - revert to 0.9.11 (0.9.12 makes gnupg2 fail on x86_64) using Obsoletes
  121. to avoid Epoch or other ugly means.
  122. * Mon Aug 8 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.12-1
  123. - 0.9.12
  124. - --disable-static
  125. * Thu Apr 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-1
  126. - 0.9.11
  127. - drop upstreamed acquote patch
  128. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.9-2
  129. - rebuilt
  130. * Tue Feb 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.9-1
  131. - Minus BR libtool, add epoch to -devel req, fix underquoted ksba.m4.
  132. * Fri Oct 22 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.9.9-0.fdr.2
  133. - remove hard-coded .gz from %%post/%%postun
  134. - add %%check section
  135. * Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.9.9-0.fdr.1
  136. - 0.9.9
  137. * Thu Mar 20 2003 Ville Skytt<ville.skytta at iki.fi> - 0.4.7-0.fdr.1
  138. - Update to 0.4.7, and to current Fedora guidelines.
  139. - Exclude %%{_libdir}/*.la.
  140. * Wed Feb 12 2003 Warren Togami <warren@togami.com> 0.4.6-1.fedora.3
  141. - temporary workaround to lib/dir conflict problem
  142. * Sat Feb 8 2003 Ville Skytt<ville.skytta at iki.fi> - 0.4.6-1.fedora.1
  143. - First Fedora release.