[604] | 1 | ## %define python_sitelib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(0)') |
---|
[521] | 2 | %define name trac |
---|
[604] | 3 | %define version 0.11.6 |
---|
[521] | 4 | %define release 1%{?_dist_release} |
---|
| 5 | %define japanize ja1 |
---|
| 6 | |
---|
| 7 | Summary: A web-based software project management and bug/issue tracking system |
---|
| 8 | Summary(ja): Web ベースのソフトウェアプロジェクト管理およびバグ追跡システム |
---|
| 9 | Name: %{name} |
---|
| 10 | Version: %{version} |
---|
| 11 | Release: %{release} |
---|
| 12 | Source0: http://www.i-act.co.jp/project/products/downloads/Trac-%{version}.%{japanize}.zip |
---|
| 13 | Patch0: trac-0.11.4.ja1-default_charset.patch |
---|
| 14 | Patch1: trac-0.11.3.ja1-fix_sourceforge2trac.py.patch |
---|
| 15 | License: modified BSD-style License |
---|
| 16 | Group: Applications/Development |
---|
| 17 | URL: http://trac.edgewall.org/ |
---|
| 18 | |
---|
| 19 | BuildArch: noarch |
---|
| 20 | Requires: python, python-genshi >= 0.5, python-setuptools >= 0.6b1 |
---|
[604] | 21 | #Requires: pysqlite |
---|
[521] | 22 | BuildRequires: python-devel, python-genshi >= 0.5, python-setuptools >= 0.6b1 |
---|
| 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 24 | |
---|
| 25 | Vendor: Project Vine |
---|
| 26 | Distribution: Vine Linux |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | Trac is an enhanced wiki and issue tracking system for software |
---|
| 30 | development projects. Trac uses a minimalistic approach to |
---|
| 31 | web-based software project management. Our mission is to help |
---|
| 32 | developers write great software while staying out of the way. |
---|
| 33 | Trac should impose as little as possible on a team's established |
---|
| 34 | development process and policies. |
---|
| 35 | |
---|
| 36 | %description -l ja |
---|
| 37 | Trac はソフトウェア開発プロジェクトのマネージメントにおける |
---|
| 38 | 最小限のアプローチを提供する Web アプリケーションです。 |
---|
| 39 | ソフトウェア開発の上でのチケット解決、機能追加、および |
---|
| 40 | すべての工程において、効果的なトラッキングとハンドリングを |
---|
| 41 | 簡素化することを目標としています。 |
---|
| 42 | Trac の全てのアスペクトは、一つの目標のもとに設計されています。 |
---|
| 43 | 古びた方法でプロジェクトを運営している、ソフトウェア開発者の |
---|
| 44 | 助けとなること。そのために、チームが既に確立している |
---|
| 45 | 開発プロセスと開発ポリシーに影響をなるべく与えないこと。 |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q -n Trac-%{version}.%{japanize} |
---|
| 49 | %patch0 -p1 |
---|
| 50 | %patch1 -p1 |
---|
| 51 | |
---|
| 52 | %build |
---|
| 53 | %{__python} setup.py build |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 57 | %{__python} setup.py install --root=${RPM_BUILD_ROOT} |
---|
| 58 | |
---|
| 59 | ## deleting files |
---|
| 60 | %{__rm} -f contrib/trac-post-commit-hook.cmd |
---|
| 61 | %{__rm} -rf contrib/rpm |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | %files |
---|
| 67 | %defattr(-,root,root) |
---|
| 68 | %doc AUTHORS COPYING* ChangeLog* README* RELEASE* TESTING-README* THANKS* UPGRADE* |
---|
| 69 | %doc doc sample-plugins wiki-macros contrib |
---|
| 70 | %{_bindir}/* |
---|
| 71 | %{python_sitelib}/Trac-*.egg-info |
---|
| 72 | %{python_sitelib}/trac |
---|
| 73 | |
---|
| 74 | %changelog |
---|
[604] | 75 | * Wed Mar 17 2010 Shu KONNO <owa@bg.wakwak.com> 0.11.6-1 |
---|
| 76 | - updated Trac to 0.11.6.ja1 |
---|
| 77 | - rebuilt with python-2.6 |
---|
| 78 | - dropt BR: pysqlite (included in python-2.6) |
---|
| 79 | |
---|
[521] | 80 | * Sat Apr 25 2009 IWAI, Masaharu <iwai@alib.jp> 0.11.4-1 |
---|
| 81 | - new upstream release |
---|
| 82 | - update default charset patch (Patch0) |
---|
| 83 | - add patching default wiki page |
---|
| 84 | |
---|
| 85 | * Mon Apr 6 2009 IWAI, Masaharu <iwai@alib.jp> 0.11.3-2 |
---|
| 86 | - add Requires: pysqlite |
---|
| 87 | - fix 0.11.3-1 changelog |
---|
| 88 | - update Requires and BuildRequires |
---|
| 89 | |
---|
| 90 | * Sun Apr 5 2009 IWAI, Masaharu <iwai@alib.jp> 0.11.3-1 |
---|
| 91 | - new upstream release |
---|
| 92 | - update License value |
---|
| 93 | - update default_charset patch (Patch0) |
---|
| 94 | - update %%files section |
---|
| 95 | - add fix sourceforge2trac.py.patch (Patch1) |
---|
| 96 | - update Requires |
---|
| 97 | - drop clearsilver, silvercity, pysqlite, python-pyxml, subversion-python |
---|
| 98 | - add python-genshi >= 0.5, python-setuptools >= 0.6b1 |
---|
| 99 | - update BuildRequires |
---|
| 100 | - add python-genshi >= 0.5, python-setuptools >= 0.6b1 |
---|
| 101 | |
---|
| 102 | * Mon Oct 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.5-2 |
---|
| 103 | - added %%python_sitelib macro to be independent of platforms |
---|
| 104 | - added BuildArch: noarch |
---|
| 105 | |
---|
| 106 | * Mon Oct 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.10.5-1 |
---|
| 107 | - upgraded to 0.10.5, the newest 0.10.x line, including security and bug fixes |
---|
| 108 | - spec in UTF-8 |
---|
| 109 | - modified Patch0 to set utf-8 as default encoding |
---|
| 110 | |
---|
| 111 | * Wed Aug 22 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.10.4-0vl1 |
---|
| 112 | - initial build for Vine Linux |
---|
| 113 | - add Patch0 to change default_charset to euc-jp |
---|
| 114 | |
---|