rpms/Django/devel Django.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Fri Nov 24 19:50:18 UTC 2006
Author: salimma
Update of /cvs/extras/rpms/Django/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10336/devel
Modified Files:
.cvsignore sources
Added Files:
Django.spec
Log Message:
auto-import Django-0.95-1 on branch devel from Django-0.95-1.src.rpm
--- NEW FILE Django.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
Name: Django
Version: 0.95
Release: 1%{?dist}
Summary: A high-level Python Web framework
Group: Development/Languages
License: BSD
URL: http://www.djangoproject.com/
Source0: http://media.djangoproject.com/releases/%{version}/Django-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Note: No longer required in development version > 0.95
BuildRequires: python-setuptools
#Requires:
%description
Django is a high-level Python Web framework that encourages rapid
development and a clean, pragmatic design. It focuses on automating as
much as possible and adhering to the DRY (Don't Repeat Yourself)
principle.
%package docs
Summary: Documentation for Django
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description docs
This package contains the documentation for the Django high-level
Python Web framework.
%prep
%setup -q
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
# Documentation
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/
chmod +x examples/manage.py
mv examples $RPM_BUILD_ROOT%{_datadir}/%{name}/
# Permission fixes
pushd $RPM_BUILD_ROOT%{python_sitelib}/django
chmod +x conf/project_template/manage.py
cd bin
chmod +x {{compile,unique,make}-messages,django-admin}.py
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README
%{_bindir}/django-admin.py
%exclude %{_bindir}/django-admin.py?
%{python_sitelib}/django
%{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info
%files docs
%defattr(-,root,root,-)
%doc docs/*
%{_datadir}/%{name}
%changelog
* Sun Nov 12 2006 Michel Salim <michel.salim at gmail.com> - 0.95-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/Django/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 24 Nov 2006 19:48:48 -0000 1.1
+++ .cvsignore 24 Nov 2006 19:49:48 -0000 1.2
@@ -0,0 +1 @@
+Django-0.95.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/Django/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 24 Nov 2006 19:48:48 -0000 1.1
+++ sources 24 Nov 2006 19:49:48 -0000 1.2
@@ -0,0 +1 @@
+9ed7d6a0daa147c012e31d0894802951 Django-0.95.tar.gz
More information about the scm-commits
mailing list