trac-vl.spec 4.5 KB

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