libtasn1-vl.spec 4.1 KB

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