File python-django-rest-interface.spec of Package python-django-rest-interface
Summary: A generic REST interface for Django
Name: python-django-rest-interface
Version: r81
Release: 0
License: BSD
Group: Development/Libraries
URL: http://code.google.com/p/django-rest-interface/
Source: django-rest-interface-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python python-devel
%py_requires
%description
The Django REST interface makes it easy to offer private and public APIs for existing Django models. New generic views simplify data retrieval and modification in a resource-centric architecture and provide model data in formats such as XML, JSON and YAML with very little custom code.
%prep
%setup -q -n django-rest-interface-%{version}
%build
%install
mkdir -p $RPM_BUILD_ROOT%{py_sitedir}
cp -R django_restapi $RPM_BUILD_ROOT%{py_sitedir}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{py_sitedir}*
%changelog
* Sun Jul 8 2007 - Peter Nixon
- first build