File python-django-campaign.spec of Package python-django-campaign

# norootforbuild

Name:           python-django-campaign
Version:        0.1.1
Release:        1
Summary:        A basic newsletter app for the Django webframework
License:        BSD License
Group:          Development/Libraries/Python
Source:         django-campaign-%{version}.tar.gz
URL:            http://code.google.com/p/django-campaign
BuildRequires:  python-devel, python-setuptools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-django
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif


%description
Here is a very brief overview how to use django-campaign:
    - Import (or enter by hand) a number of subscribers into the Subscriber model. Importing json formatted data is possible.
    - Build one or more SubscriberList objects, which hold a bunch of Subscriber objects.
    - Create a Campaign object and the corresponding MailTemplate object.
    - Assign one or more SubscriberList objects as recipients to the Campaign.
    - Finally send the Campaign.

Author:
--------
    Arne Brodowski <arne@rcs4u.de>


%prep
%setup -q -n django-campaign-%{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)
openSUSE Build Service is sponsored by