diff --git a/.cvsignore b/.cvsignore index e69de29..4ef06a0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +columnize-0.3.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..f002579 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +pycolumnize-0_3_2-2_fc11:HEAD:pycolumnize-0.3.2-2.fc11.src.rpm:1245820599 diff --git a/pycolumnize.spec b/pycolumnize.spec new file mode 100644 index 0000000..f77881c --- /dev/null +++ b/pycolumnize.spec @@ -0,0 +1,50 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: pycolumnize +Version: 0.3.2 +Release: 2%{?dist} +Summary: Python module to align in columns a simple list + +Group: Development/Languages +License: MIT +URL: http://code.google.com/p/pycolumnize/ +Source0: http://pycolumnize.googlecode.com/files/columnize-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel, python-setuptools-devel + +%description +A Python module to format a simple (i.e. not nested) list into aligned columns. +A string with embedded newline characters is returned. + +%prep +%setup -q -n columnize-%{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 NEWS README.txt +%{python_sitelib}/*egg-info +%{python_sitelib}/columnize.* + + +%changelog +* Tue Jun 23 2009 Kushal Das 0.3.2-2 +- Removing comments + +* Tue Jun 23 2009 Kushal Das 0.3.2-1 +- Initial release + diff --git a/sources b/sources index e69de29..e16b6ea 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ecd81c0588abddfdc290e6f325a2813e columnize-0.3.2.tar.gz