rpms/python-configobj/devel python-configobj.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Wed Jul 19 15:10:25 UTC 2006


Author: lmacken

Update of /cvs/extras/rpms/python-configobj/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5252/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-configobj.spec 
Log Message:
auto-import python-configobj-4.3.2-2 on branch devel from python-configobj-4.3.2-2.src.rpm


--- NEW FILE python-configobj.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-configobj
Version:        4.3.2
Release:        2%{?dist}
Summary:        Config file reading, writing, and validation

Group:          System Environment/Libraries
License:        BSD
URL:            http://www.voidspace.org.uk/python/configobj.html
Source0:        http://dl.sf.net/configobj/configobj-4.3.2.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python-setuptools

%description
ConfigObj is a simple but powerful config file reader and writer: an ini file
round tripper. Its main feature is that it is very easy to use, with a
straightforward programmer's interface and a simple syntax for config files. 
It has lots of other features though:
    * Nested sections (subsections), to any level
    * List values
    * Multiple line values
    * String interpolation (substitution)
    * Integrated with a powerful validation system
          o including automatic type checking/conversion
          o repeated sections
          o and allowing default values
    * All comments in the file are preserved
    * The order of keys/sections is preserved
    * No external dependencies
    * Full Unicode support
    * A powerful unrepr mode for storing basic datatypes


%prep
%setup -q -n configobj-%{version}


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc docs
%{python_sitelib}/*.py
%{python_sitelib}/*.pyc
%ghost %{python_sitelib}/*.pyo



%changelog
* Tue Jul 18 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-2
- Fix typo in the url

* Mon Jul 10 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-configobj/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Jul 2006 15:10:06 -0000	1.1
+++ .cvsignore	19 Jul 2006 15:10:25 -0000	1.2
@@ -0,0 +1 @@
+configobj-4.3.2.zip


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-configobj/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Jul 2006 15:10:06 -0000	1.1
+++ sources	19 Jul 2006 15:10:25 -0000	1.2
@@ -0,0 +1 @@
+d3ecc19bbc3180547432b8d688b384fe  configobj-4.3.2.zip




More information about the fedora-extras-commits mailing list