[521] | 1 | Summary: A high-level Python Web framework |
---|
| 2 | Summary(ja): Python の高度なウェブフレームワーク |
---|
| 3 | Name: python-django |
---|
| 4 | Version: 1.1.1 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | Group: Development/Languages |
---|
| 7 | BuildArch: noarch |
---|
| 8 | License: BSD |
---|
| 9 | URL: http://www.djangoproject.com/ |
---|
| 10 | Source0: Django-%{version}.tar.gz |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | Packager: <owa> |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Django is a high-level Python Web framework that encourages rapid |
---|
| 20 | development and a clean, pragmatic design. It focuses on automating as |
---|
| 21 | much as possible and adhering to the DRY (Don't Repeat Yourself) |
---|
| 22 | principle. |
---|
| 23 | |
---|
| 24 | %description -l ja |
---|
| 25 | Django はハイレベルな Python Web フレームワークであり、素早い開発と |
---|
| 26 | クリーンで実用的な設計を勧めています。Django は可能な限りの自動化と |
---|
| 27 | 無駄な繰返しを徹底的に排除することに注目しています。 |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %package docs |
---|
| 31 | Summary: Documentation for Django |
---|
| 32 | Group: Documentation |
---|
| 33 | Requires: %{name} = %{version}-%{release} |
---|
| 34 | |
---|
| 35 | %description docs |
---|
| 36 | This package contains the documentation for the Django high-level |
---|
| 37 | Python Web framework. |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q -n Django-%{version} |
---|
| 41 | |
---|
| 42 | %build |
---|
| 43 | %{__python} setup.py build |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | # Documentation |
---|
| 50 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} |
---|
| 51 | chmod +x examples/manage.py |
---|
| 52 | mv examples $RPM_BUILD_ROOT%{_datadir}/%{name}/ |
---|
| 53 | |
---|
| 54 | # Permission fixes |
---|
| 55 | pushd $RPM_BUILD_ROOT%{python_sitelib}/django |
---|
| 56 | chmod +x conf/project_template/manage.py |
---|
| 57 | chmod +x bin/compile-messages.py |
---|
| 58 | chmod +x bin/daily_cleanup.py |
---|
| 59 | chmod +x bin/django-admin.py |
---|
| 60 | chmod +x bin/make-messages.py |
---|
| 61 | chmod +x bin/unique-messages.py |
---|
| 62 | popd |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | rm -rf $RPM_BUILD_ROOT |
---|
| 66 | |
---|
| 67 | %files |
---|
| 68 | %defattr(-,root,root,-) |
---|
| 69 | %doc AUTHORS LICENSE README |
---|
| 70 | %{_bindir}/django-admin.py |
---|
| 71 | %{python_sitelib}/django |
---|
| 72 | %{python_sitelib}/Django-%{version}-py%{pyver}.egg-info |
---|
| 73 | |
---|
| 74 | %files docs |
---|
| 75 | %defattr(-,root,root,-) |
---|
| 76 | %doc docs/* |
---|
| 77 | %{_datadir}/%{name} |
---|
| 78 | |
---|
| 79 | %changelog |
---|
| 80 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.1-2 |
---|
| 81 | - rebuild with python-2.6 |
---|
| 82 | |
---|
| 83 | * Sun Oct 18 2009 Shu KONNO <owa@bg.wakwak.com> 1.1.1-1 |
---|
| 84 | - updated Django to 1.1.1 |
---|
| 85 | |
---|
| 86 | * Fri Jul 31 2009 Shu KONNO <owa@bg.wakwak.com> 1.1-1 |
---|
| 87 | - updated Django to 1.1 |
---|
| 88 | - added japanese description |
---|
| 89 | |
---|
| 90 | * Fri Nov 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.2-1vl5 |
---|
| 91 | - updated Django to 1.0.2-final |
---|
| 92 | |
---|
| 93 | * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-1vl5 |
---|
| 94 | - packaged new |
---|
| 95 | |
---|