packages: python-django_profile/python-django_profile.spec (NEW) - new
adamg
adamg at pld-linux.org
Tue Aug 18 16:33:07 CEST 2009
Author: adamg Date: Tue Aug 18 14:33:07 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/python-django_profile:
python-django_profile.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-django_profile/python-django_profile.spec
diff -u /dev/null packages/python-django_profile/python-django_profile.spec:1.1
--- /dev/null Tue Aug 18 16:33:07 2009
+++ packages/python-django_profile/python-django_profile.spec Tue Aug 18 16:33:02 2009
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+%define module profile
+%define svnrev r420
+Summary: Django pluggable user profile zone
+Name: python-django_profile
+Version: 0.6
+Release: 1.%{svnrev}.0.1
+License: MIT
+Group: Development/Languages/Python
+#Source0: http://django-profile.googlecode.com/files/django-%{module}-%{version}.tgz
+Source0: django-profile-%{svnrev}.tgz
+# Source0-md5: c0d3893085535bed3389674c550436a5
+URL: http://code.google.com/p/django-profile/
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-modules
+Requires: python-django >= 1.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a Django pluggable user profile zone which can be used and
+customized easily in your social application web platform developed in
+django.
+
+It's developed with Django for the backend framework and uses Jquery
+as the javascript library for the client UI. It avoids big amounts of
+development time process in such a generic thing as the User Profile
+and account utilities.
+
+%prep
+%setup -q -n django-profile
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/demo
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/userprofile-0.6-py2.6.egg-info
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/userprofile
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/08/18 14:33:02 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list