|
@@ -1,7 +1,6 @@
|
|
-## %define python_sitelib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(0)')
|
|
|
|
%define name trac
|
|
%define name trac
|
|
%define version 0.11.6
|
|
%define version 0.11.6
|
|
-%define release 1%{?_dist_release}
|
|
|
|
|
|
+%define release 2%{?_dist_release}
|
|
%define japanize ja1
|
|
%define japanize ja1
|
|
|
|
|
|
Summary: A web-based software project management and bug/issue tracking system
|
|
Summary: A web-based software project management and bug/issue tracking system
|
|
@@ -18,7 +17,13 @@ URL: http://trac.edgewall.org/
|
|
|
|
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
Requires: python, python-genshi >= 0.5, python-setuptools >= 0.6b1
|
|
Requires: python, python-genshi >= 0.5, python-setuptools >= 0.6b1
|
|
-#Requires: pysqlite
|
|
|
|
|
|
+%if %{?_dist_release} == "vl6"
|
|
|
|
+## pysqlite included in python-2.6
|
|
|
|
+Requires: python >= 2.6
|
|
|
|
+%else
|
|
|
|
+Requires: python
|
|
|
|
+Requires: pysqlite
|
|
|
|
+%endif
|
|
BuildRequires: python-devel, python-genshi >= 0.5, python-setuptools >= 0.6b1
|
|
BuildRequires: python-devel, python-genshi >= 0.5, python-setuptools >= 0.6b1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -55,6 +60,7 @@ Trac の全てのアスペクトは、一つの目標のもとに設計されて
|
|
%install
|
|
%install
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
%{__python} setup.py install --root=${RPM_BUILD_ROOT}
|
|
%{__python} setup.py install --root=${RPM_BUILD_ROOT}
|
|
|
|
+%{__mkdir } ${RPM_BUILD_ROOT}%{python_sitelib}/tracext
|
|
|
|
|
|
## deleting files
|
|
## deleting files
|
|
%{__rm} -f contrib/trac-post-commit-hook.cmd
|
|
%{__rm} -f contrib/trac-post-commit-hook.cmd
|
|
@@ -70,12 +76,20 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
%{python_sitelib}/Trac-*.egg-info
|
|
%{python_sitelib}/Trac-*.egg-info
|
|
%{python_sitelib}/trac
|
|
%{python_sitelib}/trac
|
|
|
|
+%dir %{python_sitelib}/tracext
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Mar 22 2010 IWAI, Masaharu <iwai@alib.jp> 0.11.6-2
|
|
|
|
+- update Requires
|
|
|
|
+ - update R: python >= 2.6 for VineSeed (vl6)
|
|
|
|
+ - add R: python, pysqlite for other version (cf. vl5)
|
|
|
|
+- add %%{python_sitelib}/tracext dir in %%files
|
|
|
|
+- fix 0.11.6-1 changelog: s/BR:/Requires:/
|
|
|
|
+
|
|
* Wed Mar 17 2010 Shu KONNO <owa@bg.wakwak.com> 0.11.6-1
|
|
* Wed Mar 17 2010 Shu KONNO <owa@bg.wakwak.com> 0.11.6-1
|
|
- updated Trac to 0.11.6.ja1
|
|
- updated Trac to 0.11.6.ja1
|
|
- rebuilt with python-2.6
|
|
- rebuilt with python-2.6
|
|
-- dropt BR: pysqlite (included in python-2.6)
|
|
|
|
|
|
+- dropt Requires: pysqlite (included in python-2.6)
|
|
|
|
|
|
* Sat Apr 25 2009 IWAI, Masaharu <iwai@alib.jp> 0.11.4-1
|
|
* Sat Apr 25 2009 IWAI, Masaharu <iwai@alib.jp> 0.11.4-1
|
|
- new upstream release
|
|
- new upstream release
|