Name: pyjavaproperties Version: 0.5 Release: 1%{?dist} Summary: Python replacement for java.util.Properties Group: Development/Libraries License: MIT URL: http://pypi.python.org/pypi/pyjavaproperties/0.5 Source0: http://pypi.python.org/pypi/pyjavaproperties/0.5/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel %description This module is designed to allow for python-based manipulation and passing of java properties files. %prep %setup -q -n %{name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT chmod 655 $RPM_BUILD_ROOT%{python_sitelib}/*.py %files %defattr(-,root,root,-) %doc README %{python_sitelib}/*.py %{python_sitelib}/*.pyc %{python_sitelib}/*.pyo %{python_sitelib}/%{name}-*.egg-info %changelog * Sun Apr 03 2011 chandankumar 0.5-1 - Initial RPM package