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