python-configobj-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: python-configobj
  3. Version: 5.0.5
  4. Release: 1%{?_dist_release}
  5. Summary: Config file reading, writing, and validation
  6. Summary(ja): 設定ファイルの読み込み、書き込み、及び評価用のPython ツール
  7. Group: System Environment/Libraries
  8. License: BSD
  9. URL: http://www.voidspace.org.uk/python/configobj.html
  10. Source0: http://dl.sf.net/configobj/configobj-%{version}.tar.gz
  11. BuildRequires: python-devel, python-setuptools
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. ConfigObj is a simple but powerful config file reader and writer: an ini file
  18. round tripper. Its main feature is that it is very easy to use, with a
  19. straightforward programmer's interface and a simple syntax for config files.
  20. It has lots of other features though:
  21. * Nested sections (subsections), to any level
  22. * List values
  23. * Multiple line values
  24. * String interpolation (substitution)
  25. * Integrated with a powerful validation system
  26. o including automatic type checking/conversion
  27. o repeated sections
  28. o and allowing default values
  29. * All comments in the file are preserved
  30. * The order of keys/sections is preserved
  31. * No external dependencies
  32. * Full Unicode support
  33. * A powerful unrepr mode for storing basic datatypes
  34. %prep
  35. %setup -q -n configobj-%{version}
  36. %build
  37. %{__python} setup.py build
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. %{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files
  44. %defattr(-,root,root,-)
  45. #%doc docs
  46. %{python_sitelib}/*.py
  47. %{python_sitelib}/*.pyc
  48. %{python_sitelib}/*.pyo
  49. %{python_sitelib}/configobj-*.egg-info
  50. %changelog
  51. * Fri Aug 08 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.0.5-1
  52. - new upstream release
  53. - changed archive type to tar.gz
  54. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.5.3-4
  55. - rebuild with VineSeed environment
  56. * Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.5.3-3
  57. - rebuild with python-2.7.2
  58. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 4.5.3-2
  59. - rebuilt with python-2.6.4
  60. * Wed Dec 24 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.5.3-1
  61. - initial build for Vine Linux based on fedora package
  62. * Mon Dec 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 4.5.3-3
  63. - Upload Source file so this actually builds.
  64. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 4.5.3-2
  65. - Rebuild for Python 2.6
  66. * Sat Jun 28 2008 Luke Macken <lmacken@redhat.com> - 4.5.3-1
  67. - Update to 4.5.3
  68. * Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> - 4.5.2-1
  69. - Update to 4.5.2
  70. * Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> - 4.4.0-2
  71. - Update for python-setuptools changes in rawhide
  72. * Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> - 4.4.0-1
  73. - 4.4.0
  74. * Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-6
  75. - Rebuild for python 2.5
  76. * Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-5
  77. - Fix dist tag
  78. * Sun Sep 3 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-4
  79. - Rebuild for FC6
  80. * Mon Aug 14 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-3
  81. - Include pyo files
  82. * Tue Jul 18 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-2
  83. - Fix typo in the url
  84. * Mon Jul 10 2006 Luke Macken <lmacken@redhat.com> - 4.3.2-1
  85. - Initial package