Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
883fb27e9a | ||
|
|
2d6e10d5d2 | ||
|
|
850944b4ca | ||
|
|
2f07a0601d | ||
|
|
79afe8b56d | ||
|
|
d3f3993e74 |
6 changed files with 1 additions and 65 deletions
|
|
@ -1 +0,0 @@
|
|||
django-piston-0.2.2.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: django-piston
|
||||
# $Id$
|
||||
NAME := django-piston
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
renamed to python-django-piston
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
%{!?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: 1%{?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
|
||||
* Thu Aug 14 2009 Diego Búrigo Zacarão <diegobz@gmail.com> 0.2.2-1
|
||||
- Initial RPM release
|
||||
|
|
@ -1 +0,0 @@
|
|||
django-piston-0_2_2-1_fc11:HEAD:django-piston-0.2.2-1.fc11.src.rpm:1250270826
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
28a2900695fdbcb14ff3c45390e7a4fd django-piston-0.2.2.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue