trac-vl.spec 4.8 KB

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