python-egenix-mx-base-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. %define python_platlib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
  2. %define mxlibname egenix-mx-base
  3. Summary: eGenix mx-Extensions for Python - BASE package
  4. Summary(ja): eGenix 配布 Python DateTime ライブラリ
  5. Name: python-%{mxlibname}
  6. Version: 3.1.0
  7. Release: 5%{?_dist_release}
  8. License: eGenix.com Public License (similar to the Python 2.0)
  9. Group: Development/Libraries
  10. URL: http://www.egenix.com/files/python/eGenix-mx-Extensions.html
  11. Source: http://www.egenix.com/files/python/%{mxlibname}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{mxlibname}-%{version}-root
  13. Buildrequires: python-devel
  14. Requires: python >= 2.4
  15. Provides: mxDateTime
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. The eGenix mx Extension Series are a collection of
  20. Python extensions written in ANSI C and Python
  21. which provide a large spectrum of useful additions
  22. to everyday Python programming.
  23. The BASE package includes the Open Source subpackages
  24. of the series and is needed by all other add-on
  25. packages of the series.
  26. This software is brought to you by eGenix.com and
  27. distributed under the eGenix.com Public License.
  28. %prep
  29. %setup -q -n %{mxlibname}-%{version}
  30. %build
  31. CFLAGS="$RPM_OPT_FLAGS" python setup.py build
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. python setup.py install \
  35. --root=$RPM_BUILD_ROOT \
  36. --install-purelib=%{python_platlib} \
  37. --install-platlib=%{python_platlib} \
  38. # disabled below, because '*.h' files have been copied to data's directory
  39. #--install-data=%{_sharedstatedir}/doc/%{name}-%{version}
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root)
  44. %doc mx/Doc mx/LICENSE mx/COPYRIGHT mx/DateTime/README
  45. %{python_platlib}
  46. %changelog
  47. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-5
  48. - rebuild with VineSeed environment
  49. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-4
  50. - rebuild with python-2.7.2
  51. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.1.0-3
  52. - rebuild with python-2.6
  53. * Thu Jul 17 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.0-2vl5
  54. - rebuilt with python-2.5.2
  55. * Thu Jul 17 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.0-1vl5
  56. - updated egenix-mx-base to 3.1.0
  57. - applied new versioning policy and spec in utf-8
  58. - added python_platlib macro
  59. * Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> 3.0.0-0vl2
  60. - updated egenix-mx-base to 3.0.0
  61. - dropt Patch0: egenix-mx-base-2.0.6-mxSetup_x86_64.patch
  62. - fixed prereq, buildrequires pkgs
  63. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl4
  64. - fixed %%install directory
  65. * Sat Oct 14 2006 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl3
  66. - changed url
  67. - added egenix-mx-base-2.0.6-mxSetup_x86_64.patch
  68. - changed options in %%install
  69. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl2
  70. - rebuilded with python-2.4.1
  71. * Sun Mar 20 2005 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl1
  72. - updated egenix-mx-base to 2.0.6
  73. - rebuild with python-2.3.5 for Vine
  74. * Sun Feb 22 2004 Shu KONNO <owa@bg.wakwak.com> 2.0.5-uvl1
  75. - rebuilded with python-2.3
  76. * Sun Aug 31 2003 Shu KONNO <owa@bg.wakwak.com> 2.0.5-py2.1_uvl1
  77. - updated egenix-mx-base to 2.0.5
  78. * Wed Mar 5 2003 Shu KONNO <owa@bg.wakwak.com> 2.0.4-py2.1_0vp1
  79. - updated egenix-mx-base to 2.0.4
  80. - rebuilded with python-2.1
  81. * Mon Jul 1 2002 Shu KONNO <owa@bg.wakwak.com> 2.0.3-0vp1
  82. - created