SPECS: python-django_registration.spec (NEW) - initial release

emes emes at pld-linux.org
Tue Sep 16 13:25:06 CEST 2008


Author: emes                         Date: Tue Sep 16 11:25:06 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   python-django_registration.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-django_registration.spec
diff -u /dev/null SPECS/python-django_registration.spec:1.1
--- /dev/null	Tue Sep 16 13:25:06 2008
+++ SPECS/python-django_registration.spec	Tue Sep 16 13:25:00 2008
@@ -0,0 +1,57 @@
+%define		projectname	django-registration
+%define		module		registration
+Summary:	Simple, portable, generic user-registration application for Django projects
+Summary(pl.UTF-8):	Prosta i przenośna aplikacja do rejestrowania użytkowników w projektach Django
+Name:		python-django_registration
+Version:	0.6
+Release:	1
+License:	BSD
+Group:		Development/Languages/Python
+Source0:	http://%{projectname}.googlecode.com/files/%{projectname}-%{version}.tar.gz
+# Source0-md5:	70c24a498443ebefac04b850762fe927
+URL:		http://django-registration.googlecode.com/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+# if py_postclean is used
+BuildRequires:	rpmbuild(macros) >= 1.219
+#%pyrequires_eq	python-libs
+%pyrequires_eq	python-modules
+Requires:	python-django >= 1.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -n %{projectname}-%{version}
+
+%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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/%{module}
+
+%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  2008/09/16 11:25:00  emes
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list