File python-django-projector.spec of Package python-django-projector
#
# spec file for package python-django-projector
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-django-projector
Version: 0.2.0
Release: 0
Summary: Project management application
License: MIT
Group: Development/Libraries/Python
Url: http://bitbucket.org/lukaszb/django-projector
Source: http://pypi.python.org/packages/source/d/django-projector/django-projector-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
# Documentation requirements:
BuildRequires: python-Sphinx
BuildRequires: python-django-autoslug
BuildRequires: python-django-guardian
BuildRequires: python-django-richtemplates
# Test requirements:
BuildRequires: python-djalog
BuildRequires: python-django
BuildRequires: python-vcs
Requires: docutils
Requires: mercurial
Requires: python-Pygments
Requires: python-South
Requires: python-djalog
Requires: python-django
Requires: python-django-autoslug
Requires: python-django-celery
Requires: python-django-guardian
Requires: python-django-pagination >= 1.0.7
Requires: python-django-registration
Requires: python-django-richtemplates
Requires: python-django-tagging
Requires: python-vcs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
Django-projector is a project management application with task tracker and repository backend integration.
Aimed to work with upcoming, version 1.2 of Django framework. We are sick of Trac and wanted to create
simple application which can be easily customized or plugged into existing systems.
%prep
%setup -q -n django-projector-%{version}
sed -i "s|'exts'||" docs/conf.py # There is no 'exts' Sphinx extension
%build
python setup.py build
python setup.py build_sphinx
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
#%%check
#python tests.py
%files
%defattr(-,root,root)
%doc LICENSE README.rst docs/build/html
%{python_sitelib}/*
%changelog