%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: django-typepad Version: 1.2.1 Release: 1%{?dist} Summary: A helper Django app for making TypePad applications Group: Development/Languages License: BSD URL: http://sixapart.github.com/typepadapp/ Source0: http://pypi.python.org/packages/source/t/typepadapp/typepadapp-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: Django python-devel python-setuptools-devel Requires: Django python-batchhttp python-feedparser python-httplib2 Requires: python-oauth python-remoteobjects python-simplejson python-typepad %description The typepadapp Django application provides all the necessary underpinnings for you to build TypePad cloud applications. %prep %setup -q -n typepadapp-%{version} %build python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --skip-build --root $RPM_BUILD_ROOT chmod 0755 $RPM_BUILD_ROOT%{python_sitelib}/typepadapp/conf/project_template/app.wsgi chmod 0644 $RPM_BUILD_ROOT%{python_sitelib}/typepadapp/static/soundmanager/soundmanager2.js chmod 0644 $RPM_BUILD_ROOT%{python_sitelib}/typepadapp/static/soundmanager/soundmanager2-nodebug-jsmin.js %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitelib}/* %changelog * Thu Nov 22 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.2.1-1 - new upstream version * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Fri Jul 02 2010 Sebastian Dziallas <sebastian@when.com> - 1.1.3-1 - new upstream release * Tue Jan 26 2010 Sebastian Dziallas <sebastian@when.com> - 1.1.1-1 - new upstream release * Wed Nov 18 2009 Sebastian Dziallas <sebastian@when.com> - 1.0.2-1 - update to new upstream release * Tue Oct 06 2009 Sebastian Dziallas <sebastian@when.com> - 1.0.1-1 - initial packaging