Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 17419c9eecc1e0cdc2a896cfe573e61c > files > 2

django-piston-0.2.2-3.fc15.src.rpm

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           django-piston
Version:        0.2.2
Release:        3%{?dist}
Summary:        A mini-framework for Django for creating RESTful APIs

Group:          Development/Languages
License:        BSD
URL:            http://bitbucket.org/jespern/django-piston/
Source:         http://bitbucket.org/jespern/django-piston/downloads/django-piston-0.2.2.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel python-setuptools-devel 
Requires:       Django

%description
Piston is a relatively small Django application that lets you
create application programming interfaces (API) for your sites.

%prep
%setup -q -n %{name}

%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,-)
%{python_sitelib}/*

%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Thu Aug 14 2009 Diego Búrigo Zacarão <diegobz@gmail.com> 0.2.2-1
- Initial RPM release