File python-djabberdjaw.spec of Package python-djabberdjaw
# norootforbuild
Name: python-djabberdjaw
Version: 0.1
Release: 1
Summary: A Jabber bot with a Django-backend for user management
License: GPL
Group: Development/Libraries/Python
Source: djabberdjaw-%{version}.tar.gz
URL: http://matienzo.org/project/djabberdjaw
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django, python-xmpppy, python-dnspython, python-jabberbot
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
A Jabber bot with a Django-backend for user management.
Author:
--------
Mark A. Matienzo <mark@matienzo.org>
%prep
%setup -q -n djabberdjaw-%{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)