omab/django-social-auth — pull request #231 by atodorov (2012-01-21 00:39:46+00:00)
Title: add .spec file and Makefile to build RPM package

I've added a .spec file and a helper Makefile to build RPM packages for those who need it.

If you already have django-social-auth-$version.tar.gz in the current directory running `make rpm` will create the following packages:

django-social-auth-$version-1.noarch.rpm
django-social-auth-$version-1.src.rpm
django-social-auth-docs-$version-1.noarch.rpm

The -docs package contains the doc/ and example/ directories. On RHEL6 I can't build the HTML documentation so it's included as-is. The line that builds the html is completely untested since I have no other system at the moment to test it.

I tried to follow Fedora Packaging guidelines as much as possible.

I've tested on RHEL 6.2 and the application is working fine.