p11-kit-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: p11-kit
  3. Version: 0.23.20
  4. Release: 2%{?_dist_release}
  5. Summary: Provides a way to load and enumerate PKCS#11 modules
  6. Group: System Environment/Libraries
  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: Development/Libraries
  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 Environment/Libraries
  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: Development/Libraries
  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. %prep
  61. %setup -q
  62. %build
  63. %configure \
  64. --disable-static \
  65. make V=0
  66. %install
  67. rm -rf $RPM_BUILD_ROOT
  68. make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
  69. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  70. %clean
  71. rm -rf $RPM_BUILD_ROOT
  72. %post -p /sbin/ldconfig
  73. %postun -p /sbin/ldconfig
  74. %post -n compat32-%{name} -p /sbin/ldconfig
  75. %postun -n compat32-%{name} -p /sbin/ldconfig
  76. %files
  77. %defattr(-,root,root,-)
  78. %license COPYING
  79. %doc ChangeLog AUTHORS NEWS README*
  80. %{_sysconfdir}/pkcs11/pkcs11.conf.example
  81. %{_bindir}/p11-kit
  82. %{_bindir}/trust
  83. %{_libdir}/libp11-kit.so.*
  84. %{_libdir}/p11-kit-proxy.so
  85. %{_libdir}/pkcs11/p11-kit-trust.so
  86. %{_libdir}/pkcs11/p11-kit-client.so
  87. %{_libexecdir}/p11-kit/p11-kit-remote
  88. %{_libexecdir}/p11-kit/p11-kit-server
  89. %{_libexecdir}/p11-kit/trust-extract-compat
  90. %{_datadir}/%{name}
  91. %files devel
  92. %defattr(-, root, root,-)
  93. %{_includedir}/p11-kit-1
  94. %{_libdir}/libp11-kit.so
  95. %{_libdir}/pkgconfig/p11-kit-1.pc
  96. %files docs
  97. %defattr(-, root, root,-)
  98. %{_datadir}/gtk-doc/html/p11-kit
  99. # compat32
  100. %if %{build_compat32}
  101. %files -n compat32-%{name}
  102. %defattr(-, root, root)
  103. %{_libdir}/lib*.so.*
  104. %files -n compat32-%{name}-devel
  105. %defattr(-, root, root)
  106. %{_libdir}/lib*.so
  107. %endif
  108. %changelog
  109. * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-2
  110. - rebuilt with libffi-3.3.
  111. * Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-1
  112. - new upstream release.
  113. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-1
  114. - new upstream release
  115. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
  116. - new upstream release
  117. * Sun Sep 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.5-1
  118. - new upstream release
  119. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.3-1
  120. - new upstream release
  121. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.2-1
  122. - new upstream release
  123. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-2
  124. - rebuild with VineSeed environment
  125. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-1
  126. - new upstream release
  127. - add BuildRequires: libffi-devel
  128. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.1-1
  129. - new upstream release
  130. - add BuildRequires: libtasn1-devel, ca-certificates
  131. - add Requires: ca-certificates
  132. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
  133. - new upstream release
  134. * Fri Mar 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12-1
  135. - new upstream release
  136. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
  137. - new upstream release
  138. - create compat32 sub packages
  139. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3-1
  140. - initial build for Vine Linux