File django-mailer.spec of Package django-mailer

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           django-mailer
Version:        0.1.0
Release:	b397
Summary:        A reusable Django app for queuing the sending of email
License:        MIT
Group:          Development/Libraries/Python
Source:         django-mailer-%{version}.tar.gz
URL:            http://github.com/jtauber/django-mailer
BuildRequires:  python-devel, python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       Django


%description
A reusable Django app for queuing and throttling of email sending, scheduled sending,
consolidation of multiple notifications into single emails and logging of mail failures.

Author:
--------
    James Tauber <jtauber@jtauber.com>


%prep
%setup -q -n django-mailer-%{version}


%build
%{__python} setup.py build


%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES


%files -f INSTALLED_FILES
%defattr(-,root,root)
%{python_sitelib}/mailer
%changelog
* Wed Sep 28 2011 skosyrev@griddynamics.com
- Initial import from https://github.com/jtauber/django-mailer.git at commit 840d25bb
openSUSE Build Service is sponsored by