Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b9c44665fd61ae08dae4c7532fcbd283 > files > 2

python-django-notification-0.2-2.mga3.src.rpm

%define realname django-notification

Name:           python-django-notification
Version:        0.2
Release:        %mkrel 2
Summary:        User notification management for the Django web framework

Group:          Development/Python
License:        MIT
URL:            http://code.google.com/p/django-notification/
Source0:        http://pypi.python.org/packages/source/d/django-notification/%{realname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot

BuildArch:      noarch
BuildRequires:  python-devel python-setuptools
Requires:       python-django

%description
Many sites need to notify users when certain events have occurred and to
allow configurable options as to how those notifications are to be received.

The project aims to provide a Django app for this sort of functionality.
This includes:

    * submission of notification messages by other apps
    * notification messages on signing in
    * notification messages via email (configurable by user)
    * notification messages via feed

%prep
%setup -q -n %{realname}-%{version}
# remove bundled egg-info
rm -rf django_notification.egg-info
find -name '._*' -exec rm {} \;

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README docs/
%{python_sitelib}/notification
%{python_sitelib}/django_notification-%{version}-py?.?.egg-info




%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.2-2.mga3
+ Revision: 378684
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Dec 23 2012 philippem <philippem> 0.2-1.mga3
+ Revision: 334311
- Update to 0.2

* Thu Jan 27 2011 ahmad <ahmad> 0.1.5-2.mga1
+ Revision: 42383
- imported package python-django-notification