source: projects/specs/trunk/p/python-configobj/python-configobj-vl.spec @ 8896

Revision 8896, 3.4 KB checked in by kudoh, 10 years ago (diff)

new upstream release and rebuilt

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