p11-kit-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: p11-kit
  3. Version: 0.23.22
  4. Release: 1%{?_dist_release}
  5. Summary: Provides a way to load and enumerate PKCS#11 modules
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPLv2+
  10. URL: https://p11-glue.github.io/p11-glue/p11-kit.html
  11. Source0: https://github.com/p11-glue/p11-kit/releases/download/%{version}/%{name}-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libtasn1-devel
  14. BuildRequires: libffi-devel
  15. BuildRequires: ca-certificates
  16. Requires: ca-certificates
  17. %description
  18. Provides a way to load and enumerate PKCS#11 modules. Provides a standard
  19. configuration setup for installing PKCS#11 modules in such a way that
  20. they're discoverable.
  21. Also solves problems with coordinating the use of PKCS#11 by different
  22. components or libraries living in the same process.
  23. %package devel
  24. Summary: Development tools for p11-kit
  25. Summary(ja): p11-kit の開発環境
  26. Group: programming
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. Header files and libraries for building a extension library for the
  31. p11-kit.
  32. %package docs
  33. Summary: Documentation for p11-kit
  34. Summary(ja): p11-kit 用のドキュメント
  35. Group: documentation
  36. Requires: %{name} = %{version}-%{release}
  37. BuildArch: noarch
  38. %description docs
  39. This package contains documentation for p11-kit.
  40. # compat32
  41. %package -n compat32-%{name}
  42. Summary: Provides a way to load and enumerate PKCS#11 modules
  43. Group: system
  44. Requires: %{name} = %{version}-%{release}
  45. %description -n compat32-%{name}
  46. Provides a way to load and enumerate PKCS#11 modules. Provides a standard
  47. configuration setup for installing PKCS#11 modules in such a way that
  48. they're discoverable.
  49. Also solves problems with coordinating the use of PKCS#11 by different
  50. components or libraries living in the same process.
  51. %package -n compat32-%{name}-devel
  52. Summary: Development tools for p11-kit
  53. Summary(ja): p11-kit の開発環境
  54. Group: programming
  55. Requires: compat32-%{name} = %{version}-%{release}
  56. Requires: %{name}-devel = %{version}-%{release}
  57. %description -n compat32-%{name}-devel
  58. Header files and libraries for building a extension library for the
  59. p11-kit.
  60. %debug_package
  61. %prep
  62. %setup -q
  63. %build
  64. %configure \
  65. --disable-static \
  66. %{nil}
  67. make V=0
  68. %install
  69. rm -rf $RPM_BUILD_ROOT
  70. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  71. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT
  74. %post -p /sbin/ldconfig
  75. %postun -p /sbin/ldconfig
  76. %post -n compat32-%{name} -p /sbin/ldconfig
  77. %postun -n compat32-%{name} -p /sbin/ldconfig
  78. %files
  79. %defattr(-,root,root,-)
  80. %license COPYING
  81. %doc ChangeLog AUTHORS NEWS README*
  82. %{_sysconfdir}/pkcs11/pkcs11.conf.example
  83. %{_bindir}/p11-kit
  84. %{_bindir}/trust
  85. %{_libdir}/libp11-kit.so.*
  86. %{_libdir}/p11-kit-proxy.so
  87. %{_libdir}/pkcs11/p11-kit-trust.so
  88. %{_libdir}/pkcs11/p11-kit-client.so
  89. %{_libexecdir}/p11-kit/p11-kit-remote
  90. %{_libexecdir}/p11-kit/p11-kit-server
  91. %{_libexecdir}/p11-kit/trust-extract-compat
  92. %{_datadir}/%{name}
  93. %files devel
  94. %defattr(-, root, root,-)
  95. %{_includedir}/p11-kit-1
  96. %{_libdir}/libp11-kit.so
  97. %{_libdir}/pkgconfig/p11-kit-1.pc
  98. %files docs
  99. %defattr(-, root, root,-)
  100. %{_datadir}/gtk-doc/html/p11-kit
  101. # compat32
  102. %if %{build_compat32}
  103. %files -n compat32-%{name}
  104. %defattr(-, root, root)
  105. %{_libdir}/lib*.so.*
  106. %files -n compat32-%{name}-devel
  107. %defattr(-, root, root)
  108. %{_libdir}/lib*.so
  109. %endif
  110. %changelog
  111. * Sat Dec 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.22-1
  112. - new upstream release.
  113. * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-2
  114. - rebuilt with libffi-3.3.
  115. * Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-1
  116. - new upstream release.
  117. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-1
  118. - new upstream release
  119. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
  120. - new upstream release
  121. * Sun Sep 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.5-1
  122. - new upstream release
  123. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.3-1
  124. - new upstream release
  125. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.2-1
  126. - new upstream release
  127. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-2
  128. - rebuild with VineSeed environment
  129. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-1
  130. - new upstream release
  131. - add BuildRequires: libffi-devel
  132. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.1-1
  133. - new upstream release
  134. - add BuildRequires: libtasn1-devel, ca-certificates
  135. - add Requires: ca-certificates
  136. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
  137. - new upstream release
  138. * Fri Mar 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12-1
  139. - new upstream release
  140. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
  141. - new upstream release
  142. - create compat32 sub packages
  143. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3-1
  144. - initial build for Vine Linux