File python-lighttpdrecipe.spec of Package python-lighttpdrecipe
# norootforbuild
Name: python-lighttpdrecipe
Version: 0.2.5
Release: 1
Summary: Buildout recipe for generating lighttpd configuration files
License: BSD License
Group: Development/Libraries/Python
Source: lighttpdrecipe-%{version}.tar.gz
URL: http://github.com/redvasily/lighttpdrecipe
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: zc.recipe.egg python-jinja2
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
This recipe is intended for generation of lighttpd configuration files.
Author:
--------
Vasily Sulatskov <redvasily@gmail.com>
%prep
%setup -q -n lighttpdrecipe-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)