libtasn1-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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.9
  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. * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.9-1
  84. - Updated to release 2.9
  85. * Sat Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.8-1
  86. - Updated to release 2.8
  87. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.2-3
  88. - build with rpm-4.8.1-1 for pkg-config file
  89. * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 2.2-2
  90. - added compat32 package for x86_64 arch support
  91. - added --disable-static %%configure option
  92. * Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2-1vl5
  93. - Updated to release 2.2
  94. * Sun Apr 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1-1vl5
  95. - Updated to release 2.1
  96. * Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0-1vl5
  97. - Updated to release 2.0
  98. - spec in UTF-8
  99. - fixed %files devel (comment out %{_bindir}/libtasn1-config)
  100. * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8-1vl5
  101. - Updated to release 1.8
  102. - fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4)
  103. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-1vl5
  104. - initial build for Vine
  105. * Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.9-1
  106. - Updated to release 0.3.9.
  107. * Sat Nov 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.8-1
  108. - Updated to release 0.3.8.
  109. * Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1
  110. - Updated to release 0.3.5.
  111. * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1.2
  112. - Rebuild for Fedora Core 5.
  113. * Fri Mar 03 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1
  114. - Updated to release 0.3.0.
  115. * Sun Feb 12 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.18-1
  116. - Updated to release 0.2.18.
  117. * Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.2.17-1
  118. - Updated to release 0.2.17.
  119. * Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.2.9-1
  120. - Updated to release 0.2.9.
  121. * Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.2.5-0
  122. - Initial package. (using DAR)