libtasn1-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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: 2.12
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. URL: http://josefsson.org/libtasn1/
  9. Source: http://josefsson.org/gnutls/releases/libtasn1/libtasn1-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: bison, gcc-c++
  12. %description
  13. This is the ASN.1 library used in GNUTLS.
  14. %package devel
  15. Summary: Header files, libraries and development documentation for %{name}
  16. Group: Development/Libraries
  17. Requires: %{name} = %{version}-%{release}
  18. %description devel
  19. This package contains the header files, static libraries and development
  20. documentation for %{name}. If you like to develop programs using %{name},
  21. you will need to install %{name}-devel.
  22. %package -n compat32-%{name}
  23. Summary: This is the ASN.1 library used in GNUTLS
  24. Group: System Environment/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description -n compat32-%{name}
  27. This is the ASN.1 library used in GNUTLS.
  28. %package -n compat32-%{name}-devel
  29. Summary: Header files, libraries and development documentation for %{name}
  30. Group: Development/Libraries
  31. Requires: compat32-%{name} = %{version}-%{release}
  32. Requires: %{name}-devel = %{version}-%{release}
  33. %description -n compat32-%{name}-devel
  34. This package contains the header files, static libraries and development
  35. documentation for %{name}. If you like to develop programs using %{name},
  36. you will need to install %{name}-devel.
  37. %prep
  38. %setup -q
  39. %build
  40. %configure --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf %{buildroot}
  44. %makeinstall
  45. rm -f %{buildroot}%{_infodir}/dir
  46. ### Clean up buildroot
  47. rm -f %{buildroot}%{_libdir}/*.la
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %post -n compat32-%{name} -p /sbin/ldconfig
  51. %postun -n compat32-%{name} -p /sbin/ldconfig
  52. %clean
  53. rm -rf %{buildroot}
  54. %files
  55. %defattr(-, root, root, 0755)
  56. %doc AUTHORS ChangeLog COPYING* NEWS README THANKS
  57. %doc %{_mandir}/man1/asn1*
  58. %{_libdir}/*.so.*
  59. %{_bindir}/asn1Coding
  60. %{_bindir}/asn1Decoding
  61. %{_bindir}/asn1Parser
  62. %files devel
  63. %defattr(-, root, root, 0755)
  64. %doc doc/*.ps doc/TODO
  65. %{_includedir}/*.h
  66. %{_libdir}/*.so
  67. #%{_bindir}/libtasn1-config
  68. %{_libdir}/pkgconfig/libtasn1.pc
  69. #%{_datadir}/aclocal/libtasn1.m4
  70. %{_infodir}/libtasn1*
  71. %{_mandir}/man3/*asn1*
  72. # compat32
  73. %if %{build_compat32}
  74. %files -n compat32-%{name}
  75. %defattr(-, root, root, 0755)
  76. %{_libdir}/*.so.*
  77. %files -n compat32-%{name}-devel
  78. %defattr(-, root, root, 0755)
  79. %{_libdir}/*.so
  80. %{_libdir}/pkgconfig/libtasn1.pc
  81. %endif
  82. %changelog
  83. * Thu Mar 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.12-1
  84. - new upstream release
  85. * Fri Nov 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.11-1
  86. - new upstream release
  87. * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.9-1
  88. - Updated to release 2.9
  89. * Sat Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.8-1
  90. - Updated to release 2.8
  91. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.2-3
  92. - build with rpm-4.8.1-1 for pkg-config file
  93. * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 2.2-2
  94. - added compat32 package for x86_64 arch support
  95. - added --disable-static %%configure option
  96. * Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2-1vl5
  97. - Updated to release 2.2
  98. * Sun Apr 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1-1vl5
  99. - Updated to release 2.1
  100. * Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0-1vl5
  101. - Updated to release 2.0
  102. - spec in UTF-8
  103. - fixed %files devel (comment out %{_bindir}/libtasn1-config)
  104. * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8-1vl5
  105. - Updated to release 1.8
  106. - fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4)
  107. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-1vl5
  108. - initial build for Vine
  109. * Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.9-1
  110. - Updated to release 0.3.9.
  111. * Sat Nov 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.8-1
  112. - Updated to release 0.3.8.
  113. * Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1
  114. - Updated to release 0.3.5.
  115. * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1.2
  116. - Rebuild for Fedora Core 5.
  117. * Fri Mar 03 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1
  118. - Updated to release 0.3.0.
  119. * Sun Feb 12 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.18-1
  120. - Updated to release 0.2.18.
  121. * Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.2.17-1
  122. - Updated to release 0.2.17.
  123. * Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.2.9-1
  124. - Updated to release 0.2.9.
  125. * Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.2.5-0
  126. - Initial package. (using DAR)