|
@@ -1,5 +1,5 @@
|
|
%define name trac
|
|
%define name trac
|
|
-%define version 0.11.7
|
|
|
|
|
|
+%define version 0.12.2
|
|
%define release 1%{?_dist_release}
|
|
%define release 1%{?_dist_release}
|
|
%define japanize ja1
|
|
%define japanize ja1
|
|
|
|
|
|
@@ -9,14 +9,13 @@ Name: %{name}
|
|
Version: %{version}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Release: %{release}
|
|
Source0: http://www.i-act.co.jp/project/products/downloads/Trac-%{version}.%{japanize}.zip
|
|
Source0: http://www.i-act.co.jp/project/products/downloads/Trac-%{version}.%{japanize}.zip
|
|
-Patch0: trac-0.11.4.ja1-default_charset.patch
|
|
|
|
-Patch1: trac-0.11.3.ja1-fix_sourceforge2trac.py.patch
|
|
|
|
|
|
+Patch0: trac-0.12.2.ja1-default_charset.patch
|
|
License: modified BSD-style License
|
|
License: modified BSD-style License
|
|
Group: Applications/Development
|
|
Group: Applications/Development
|
|
URL: http://trac.edgewall.org/
|
|
URL: http://trac.edgewall.org/
|
|
|
|
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
-Requires: python, python-genshi >= 0.5, python-setuptools >= 0.6b1
|
|
|
|
|
|
+Requires: python, python-genshi >= 0.6, python-setuptools >= 0.6b1
|
|
%if %{?_dist_release} == "vl6"
|
|
%if %{?_dist_release} == "vl6"
|
|
## pysqlite included in python-2.6
|
|
## pysqlite included in python-2.6
|
|
Requires: python >= 2.6
|
|
Requires: python >= 2.6
|
|
@@ -24,7 +23,7 @@ Requires: python >= 2.6
|
|
Requires: python
|
|
Requires: python
|
|
Requires: pysqlite
|
|
Requires: pysqlite
|
|
%endif
|
|
%endif
|
|
-BuildRequires: python-devel, python-genshi >= 0.5, python-setuptools >= 0.6b1
|
|
|
|
|
|
+BuildRequires: python-devel, python-genshi >= 0.6, python-setuptools >= 0.6b1
|
|
BuildRequires: unzip
|
|
BuildRequires: unzip
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -53,7 +52,6 @@ Trac の全てのアスペクトは、一つの目標のもとに設計されて
|
|
%prep
|
|
%prep
|
|
%setup -q -n Trac-%{version}.%{japanize}
|
|
%setup -q -n Trac-%{version}.%{japanize}
|
|
%patch0 -p1
|
|
%patch0 -p1
|
|
-%patch1 -p1
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
%{__python} setup.py build
|
|
%{__python} setup.py build
|
|
@@ -64,7 +62,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
%{__mkdir } ${RPM_BUILD_ROOT}%{python_sitelib}/tracext
|
|
%{__mkdir } ${RPM_BUILD_ROOT}%{python_sitelib}/tracext
|
|
|
|
|
|
## deleting files
|
|
## deleting files
|
|
-%{__rm} -f contrib/trac-post-commit-hook.cmd
|
|
|
|
|
|
+%{__rm} -f contrib/trac-svn-post-commit-hook.cmd
|
|
%{__rm} -rf contrib/rpm
|
|
%{__rm} -rf contrib/rpm
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -77,9 +75,17 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
%{python_sitelib}/Trac-*.egg-info
|
|
%{python_sitelib}/Trac-*.egg-info
|
|
%{python_sitelib}/trac
|
|
%{python_sitelib}/trac
|
|
|
|
+%{python_sitelib}/tracopt
|
|
%dir %{python_sitelib}/tracext
|
|
%dir %{python_sitelib}/tracext
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.12.2-1
|
|
|
|
+- new upstream release
|
|
|
|
+- update default_charset patch (Patch0)
|
|
|
|
+- drop unnecessary fix_sourceforge2trac.py patch (Patch1)
|
|
|
|
+- update {Build,}Requires: python-genshi version
|
|
|
|
+- add files %%{python_sitelib}/tracopt
|
|
|
|
+
|
|
* Mon Dec 6 2010 IWAI, Masaharu <iwai@alib.jp> 0.11.7-1
|
|
* Mon Dec 6 2010 IWAI, Masaharu <iwai@alib.jp> 0.11.7-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- add BuildRequires: unzip
|
|
- add BuildRequires: unzip
|