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