libtasn1-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: This is the ASN.1 library used in GNUTLS
  3. Name: libtasn1
  4. Version: 4.19.0
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. URL: http://www.gnu.org/software/libtasn1/
  11. Source0: https://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz
  12. Patch1: libtasn1-3.4-rpath.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: bison, gcc-c++, texinfo
  15. %description
  16. This is the ASN.1 library used in GNUTLS.
  17. %package devel
  18. Summary: Header files, libraries and development documentation for %{name}
  19. Group: programming
  20. Requires: %{name} = %{version}-%{release}
  21. %description devel
  22. This package contains the header files, static libraries and development
  23. documentation for %{name}. If you like to develop programs using %{name},
  24. you will need to install %{name}-devel.
  25. %package -n compat32-%{name}
  26. Summary: This is the ASN.1 library used in GNUTLS
  27. Group: system,legacy
  28. Requires: %{name} = %{version}-%{release}
  29. %description -n compat32-%{name}
  30. This is the ASN.1 library used in GNUTLS.
  31. %package -n compat32-%{name}-devel
  32. Summary: Header files, libraries and development documentation for %{name}
  33. Group: programming,legacy
  34. Requires: compat32-%{name} = %{version}-%{release}
  35. Requires: %{name}-devel = %{version}-%{release}
  36. %description -n compat32-%{name}-devel
  37. This package contains the header files, static libraries and development
  38. documentation for %{name}. If you like to develop programs using %{name},
  39. you will need to install %{name}-devel.
  40. %debug_package
  41. %prep
  42. %setup -q
  43. %patch1 -p1 -b .rpath
  44. %build
  45. %configure --disable-static
  46. # libtasn1 likes to regenerate docs
  47. touch doc/stamp_docs
  48. make %{?_smp_mflags}
  49. %install
  50. rm -rf %{buildroot}
  51. make DESTDIR="$RPM_BUILD_ROOT" install
  52. rm -f %{buildroot}%{_infodir}/dir
  53. ### Clean up buildroot
  54. rm -f %{buildroot}%{_libdir}/*.la
  55. %clean
  56. rm -rf %{buildroot}
  57. %files
  58. %defattr(-, root, root, 0755)
  59. %license doc/COPYING
  60. %doc AUTHORS NEWS README.md THANKS
  61. %doc %{_mandir}/man1/asn1*
  62. %{_libdir}/*.so.*
  63. %{_bindir}/asn1Coding
  64. %{_bindir}/asn1Decoding
  65. %{_bindir}/asn1Parser
  66. %files devel
  67. %defattr(-, root, root, 0755)
  68. %doc doc/TODO
  69. %{_includedir}/*.h
  70. %{_libdir}/*.so
  71. #{_bindir}/libtasn1-config
  72. %{_libdir}/pkgconfig/libtasn1.pc
  73. #{_datadir}/aclocal/libtasn1.m4
  74. %{_infodir}/libtasn1*
  75. %{_mandir}/man3/*asn1*
  76. # compat32
  77. %if %{build_compat32}
  78. %files -n compat32-%{name}
  79. %defattr(-, root, root, 0755)
  80. %{_libdir}/*.so.*
  81. %files -n compat32-%{name}-devel
  82. %defattr(-, root, root, 0755)
  83. %{_libdir}/*.so
  84. #{_libdir}/pkgconfig/libtasn1.pc
  85. %endif
  86. %changelog
  87. * Wed Oct 26 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.19.0-1
  88. - new upstream release.
  89. * Mon Nov 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.18.0-1
  90. - new upstream release.
  91. * Wed May 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.17.0-1
  92. - new upstream release.
  93. - dropped ldconfig scriptlets.
  94. * Tue Feb 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.16.0-1
  95. - new upstream release.
  96. * Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.13-1
  97. - new upstream release.
  98. * Mon May 9 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.8-1
  99. - new upstream release with security fix
  100. * Mon Dec 28 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.7-1
  101. - new upstream release
  102. * Fri Aug 28 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.5-1
  103. - new upstream release
  104. * Tue Feb 4 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.4-1
  105. - new upstream release
  106. - update patches
  107. - add Vendor/Distri tags
  108. * Thu Sep 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.14-1
  109. - new upstream release
  110. * Mon Jun 04 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.13-1
  111. - new upstream release
  112. * Thu Mar 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.12-1
  113. - new upstream release
  114. * Fri Nov 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.11-1
  115. - new upstream release
  116. * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.9-1
  117. - Updated to release 2.9
  118. * Sat Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.8-1
  119. - Updated to release 2.8
  120. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.2-3
  121. - build with rpm-4.8.1-1 for pkg-config file
  122. * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 2.2-2
  123. - added compat32 package for x86_64 arch support
  124. - added --disable-static %%configure option
  125. * Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2-1vl5
  126. - Updated to release 2.2
  127. * Sun Apr 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1-1vl5
  128. - Updated to release 2.1
  129. * Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0-1vl5
  130. - Updated to release 2.0
  131. - spec in UTF-8
  132. - fixed %files devel (comment out %{_bindir}/libtasn1-config)
  133. * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8-1vl5
  134. - Updated to release 1.8
  135. - fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4)
  136. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-1vl5
  137. - initial build for Vine
  138. * Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.9-1
  139. - Updated to release 0.3.9.
  140. * Sat Nov 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.8-1
  141. - Updated to release 0.3.8.
  142. * Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1
  143. - Updated to release 0.3.5.
  144. * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1.2
  145. - Rebuild for Fedora Core 5.
  146. * Fri Mar 03 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1
  147. - Updated to release 0.3.0.
  148. * Sun Feb 12 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.18-1
  149. - Updated to release 0.2.18.
  150. * Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.2.17-1
  151. - Updated to release 0.2.17.
  152. * Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.2.9-1
  153. - Updated to release 0.2.9.
  154. * Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.2.5-0
  155. - Initial package. (using DAR)