File python-django-yaba.spec of Package python-django-yaba
# norootforbuild
Name: python-django-yaba
Version: 0.2.7
Release: 1
Summary: Yet Another Blog Application
License: BSD License
Group: Development/Libraries/Python
Source: django-yaba-%{version}.tar.gz
URL: http://www.f4ntasmic.com
BuildRequires: python-devel, python-setuptools, fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django, python-twitter, python-simplejson, python-django-south, python-feedparser, python-django-test-extensions, python-django-disqus, python-django-tagging
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
Yet Another Blog Application.
Author:
--------
Mark Rogers <f4nt@f4ntasmic.com>
%prep
%setup -q -n django-yaba-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
# Create symlinks to avoid waste space.
#------------------------------------------------------------------------------------
%fdupes -s %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)