File python-decoratortools.spec of Package python-decoratortools
%define modname DecoratorTools
Name: python-decoratortools
Version: 1.7
Release: 1
Summary: Class and Function Decorator Tools
URL: http://peak.telecommunity.com/DevCenter/DecoratorTools
License: PSF or ZPL
Group: Development/Libraries/Python
Source: %{modname}-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel python-setuptools unzip
%description
Want to use decorators, but still need to support Python 2.3? Wish you could
have class decorators, decorate arbitrary assignments, or match decorated
function signatures to their original functions? Then you need
"DecoratorTools".
Authors:
--------
Phillip J. Eby <peak@eby-sarna.com>
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README.txt
%changelog
* Tue Nov 11 2008 - Ciaran Farrell <cfarrell1980@gmail.com>
- try building with --record-rpm instead of --record - 1..7-1
* Wed Mar 19 2008 - James Oakley <jfunk@funktronics.ca> - 1.7-1
- Update to 1.7
* Thu Oct 18 2007 - James Oakley <jfunk@funktronics.ca> - 1.4-1
- Initial release