libksba-vl.spec 4.7 KB

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