pyOpenSSL-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: Python wrapper module around the OpenSSL library
  4. Summary(ja): OpenSSL ライブラリの Python ラッパーモジュール
  5. Name: pyOpenSSL
  6. Version: 0.13.1
  7. Release: %{pkg_release}
  8. Source0: http://pyopenssl.sf.net/%{name}-%{version}.tar.gz
  9. Patch2: pyOpenSSL-elinks.patch
  10. Patch3: pyOpenSSL-nopdfout.patch
  11. License: LGPLv2+
  12. Group: Development/Libraries
  13. URL: http://pyopenssl.sourceforge.net/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: openssl-devel, python-devel
  16. #BuildRequires: latex2html
  17. %description
  18. High-level wrapper around a subset of the OpenSSL library, includes
  19. * SSL.Connection objects, wrapping the methods of Python's portable
  20. sockets
  21. * Callbacks written in Python
  22. * Extensive error-handling mechanism, mirroring OpenSSL's error codes
  23. ... and much more ;)
  24. %prep
  25. %setup -q
  26. %patch2 -p1 -b .elinks
  27. %patch3 -p1 -b .nopdfout
  28. %build
  29. CFLAGS="%{optflags}" %{__python} setup.py build
  30. %install
  31. %{__rm} -rf %{buildroot}
  32. %{__python} setup.py install -O1 --skip-build --root %{buildroot}
  33. #pushd doc
  34. #make text
  35. #make dvi
  36. %clean
  37. %{__rm} -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc README ChangeLog LICENSE
  41. #%doc pyOpenSSL.ps pyOpenSSL.txt html
  42. %{python_sitearch}/OpenSSL/
  43. %{python_sitearch}/%{name}*.egg-info
  44. %changelog
  45. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.1-1
  46. - new upstream release
  47. - remove Patch0 (pyOpenSSL-0.7-openssl.patch)
  48. - remove Patch4 (pyOpenSSL-threadsafe.patch)
  49. * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7-4
  50. - rebuild with python-2.7.2
  51. * Sat Jan 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7-3
  52. - rebuilt with openssl-1.0.0c
  53. - remove BuildRequires: tetex
  54. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.7-2
  55. - rebuilt with python-2.6.4
  56. * Tue Dec 23 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7-1
  57. - initial build for Vine Linux based on fedora package
  58. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7-3
  59. - Rebuild for Python 2.6
  60. * Fri Sep 19 2008 Dennis Gilmore <dennis@ausil.us> - 0.7-2
  61. - update threadsafe patch
  62. - bug#462807
  63. * Mon Sep 15 2008 Paul F. Johnson <paul@all-the-johnsons.co.uk> 0.7-1
  64. - bump to new release
  65. - the inevitable patch fixes
  66. * Wed Mar 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6-4
  67. - fix horrific release tag
  68. - fix license tag
  69. - add egg-info
  70. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.6-3.p24.9
  71. - Autorebuild for GCC 4.3
  72. * Wed Dec 5 2007 Jeremy Katz <katzj@redhat.com> - 0.6-2.p24.9
  73. - rebuild for new openssl
  74. * Mon Dec 11 2006 Paul Howarth <paul@city-fan.org> - 0.6-1.p24.9
  75. - add missing buildreq latex2html, needed to build HTML docs
  76. - rewrite to be more in line with Fedora python spec template and use
  77. %%{python_sitearch} rather than a script-generated %%files list
  78. - package is not relocatable - drop Prefix: tag
  79. - buildreq perl not necessary
  80. - fix permissions for files going into debuginfo package
  81. * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.6-1.p24.8
  82. - rebuild for python 2.5
  83. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6-1.p24.7.2.2
  84. - rebuild
  85. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6-1.p24.7.2.1
  86. - bump again for double-long bug on ppc(64)
  87. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6-1.p24.7.2
  88. - rebuilt for new gcc4.1 snapshot and glibc changes
  89. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  90. - rebuilt
  91. * Wed Nov 9 2005 Mihai Ibanescu <misa@redhat.com> - 0.6-1.p24.7
  92. - rebuilt against newer openssl
  93. * Wed Aug 24 2005 Jeremy Katz <katzj@redhat.com> - 0.6-1.p24.6
  94. - add dcbw's patch to fix some threading problems
  95. * Wed Aug 03 2005 Karsten Hopp <karsten@redhat.de> 0.6-1.p24.5
  96. - current rpm creates .pyo files, include them in filelist
  97. * Thu Mar 17 2005 Mihai Ibanescu <misa@redhat.com> 0.6-1.p24.4
  98. - rebuilt
  99. * Mon Mar 14 2005 Mihai Ibanescu <misa@redhat.com> 0.6-1.p24.3
  100. - rebuilt
  101. * Mon Mar 7 2005 Tomas Mraz <tmraz@redhat.com> 0.6-1.p23.2
  102. - rebuild with openssl-0.9.7e
  103. * Tue Nov 9 2004 Nalin Dahyabhai <nalin@redhat.com> 0.6-1.p23.1
  104. - rebuild
  105. * Fri Aug 13 2004 Mihai Ibanescu <misa@redhat.com> 0.6-1
  106. - 0.6 is out
  107. * Tue Aug 10 2004 Mihai Ibanescu <misa@redhat.com> 0.6-0.90.rc1
  108. - release candidate
  109. * Thu Jun 24 2004 Mihai Ibanescu <misa@redhat.com> 0.5.1-24
  110. - rebuilt
  111. * Mon Jun 21 2004 Mihai Ibanescu <misa@redhat.com> 0.5.1-23
  112. - rebuilt
  113. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  114. - rebuilt
  115. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  116. - rebuilt
  117. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  118. - rebuilt
  119. * Wed Nov 5 2003 Mihai Ibanescu <misa@redhat.com> 0.5.1-20
  120. - rebuilt against python 2.3.2
  121. * Fri Aug 8 2003 Mihai Ibanescu <misa@redhat.com> 0.5.1-12
  122. - lynx no longer supported, using elinks instead (patch from
  123. Michael Redinger <michael.redinger@uibk.ac.at>, bug #101947 )
  124. * Wed Jun 4 2003 Elliot Lee <sopwith@redhat.com> 0.5.1-11
  125. - Rebuilt
  126. * Wed Jun 4 2003 Mihai Ibanescu <misa@redhat.com> 0.5.1-10.7.x
  127. - Built on 7.x
  128. * Mon Mar 3 2003 Mihai Ibanescu <misa@redhat.com> 0.5.1-9
  129. - bug #73967: Added Requires: python
  130. * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
  131. - rebuilt
  132. * Fri Feb 21 2003 Mihai Ibanescu <misa@redhat.com> 0.5.1-7
  133. - bug #84803: Added patch to expose more flags
  134. * Fri Jan 31 2003 Mihai Ibanescu <misa@redhat.com> 0.5.1-5
  135. - installing to %%{_libdir}
  136. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  137. - rebuilt
  138. * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 0.5.1-3
  139. - rebuild
  140. * Fri Jan 3 2003 Nalin Dahyabhai <nalin@redhat.com>
  141. - Add -I and -L flags for finding Kerberos headers and libraries, in case
  142. they're referenced
  143. * Tue Dec 3 2002 Mihai Ibanescu <misa@redhat.com>
  144. - Fix for bug 73967: site-packages/OpenSSL not owned by this package
  145. - Adding hacks around the lack of latex2html on ia64
  146. * Tue Sep 24 2002 Mihai Ibanescu <misa@redhat.com>
  147. - 0.5.1
  148. * Thu Aug 29 2002 Mihai Ibanescu <misa@redhat.com>
  149. - Building 0.5.1rc1 with version number 0.5.0.91 (this should also fix the big
  150. error of pushing 0.5pre previously, since it breaks rpm's version comparison
  151. algorithm).
  152. - We use %%{__python}. Too bad I can't pass --define's to distutils.
  153. * Fri Aug 16 2002 Mihai Ibanescu <misa@redhat.com>
  154. - Building 0.5
  155. * Fri Jun 14 2002 Mihai Ibanescu <misa@redhat.com>
  156. - Added documentation