File python-django-timezones.spec of Package python-django-timezones
# norootforbuild
Name: python-django-timezones
Version: 0.1.4
Release: 1
Summary: A Django reusable app to deal with timezone localization for users
License: BSD License
Group: Development/Libraries/Python
Source: django-timezones-%{version}.tar.gz
URL: http://github.com/brosner/django-timezones
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django
%{py_requires}
%description
This simple app is for localizing datetimes for the user. Timezone handling can be
a bit tricky so the goal is to get rid of the guessing game and provide a simple interface to
localizing datetimes for your users.
Author:
--------
Brian Rosner <brosner@gmail.com>
%prep
%setup -q -n django-timezones-%{version}
%build
export CFLAGS="%{optflags}"
%{__python} setup.py build
%install
%{__python} setup.py install --root=%{buildroot} --prefix=%{_prefix} --record-rpm=INSTALLED_FILES
%clean
%{__rm} -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-, root, root)