54 lines
1.6 KiB
RPMSpec
54 lines
1.6 KiB
RPMSpec
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
Name: django-notification
|
|
Version: 0.1.2
|
|
Release: 2%{?dist}
|
|
Summary: User notification management for the Django web framework
|
|
|
|
Group: Development/Languages
|
|
License: MIT
|
|
URL: http://code.google.com/p/django-notification/
|
|
Source0: http://pypi.python.org/packages/source/d/django-notification/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python-devel python-setuptools
|
|
Requires: 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
|
|
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}/*
|
|
|
|
%changelog
|
|
* Mon Mar 02 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.1.2-2
|
|
- Add Requires: Django
|
|
|
|
* Wed Feb 18 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.1.2-1
|
|
- Initial RPM release
|