diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..770734f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +typepad-motion-1.0.2.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 3871e8e..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: typepad-motion -# $Id$ -NAME := typepad-motion -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) diff --git a/sources b/sources index e69de29..cfa271d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5e87fb777d779e8e4b129d3d1e7fe089 typepad-motion-1.0.2.tar.gz diff --git a/typepad-motion.spec b/typepad-motion.spec new file mode 100644 index 0000000..43b3255 --- /dev/null +++ b/typepad-motion.spec @@ -0,0 +1,60 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: typepad-motion +Version: 1.0.2 +Release: 1%{?dist} +Summary: A microblogging application for building online communities + +Group: Applications/Publishing +License: BSD +URL: http://developer.typepad.com/motion/create-motion.html +Source0: http://pypi.python.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: Django python-devel python-setuptools-devel +Requires: Django django-flash django-typepad python-batchhttp python-feedparser python-httplib2 +Requires: python-oauth python-remoteobjects python-simplejson python-typepad sqlite + +%description +A Motion site is a place where people come together, on the Web, to share +thoughts, interesting links, favorite photos, great music and exciting +videos. Build Motion as a stand-alone community or integrate it into your +existing website as a flexible community portal. + + +%prep +%setup -q + + +%build +python setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc LICENSE +%{python_sitelib}/* + + +%changelog +* Wed Nov 18 2009 Sebastian Dziallas - 1.0.2-1 +- update to new upstream release + +* Wed Oct 07 2009 Sebastian Dziallas - 1.0.1-3 +- add sqlite dependency + +* Tue Oct 06 2009 Sebastian Dziallas - 1.0.1-2 +- update package requirements + +* Tue Oct 06 2009 Sebastian Dziallas - 1.0.1-1 +- initial packaging