Browse Source

trac-0.12.2-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3407 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
25abecfa00
1 changed files with 13 additions and 7 deletions
  1. 13 7
      t/trac/trac-vl.spec

+ 13 - 7
t/trac/trac-vl.spec

@@ -1,5 +1,5 @@
 %define name trac
-%define version 0.11.7
+%define version 0.12.2
 %define release 1%{?_dist_release}
 %define japanize ja1
 
@@ -9,14 +9,13 @@ Name: %{name}
 Version: %{version}
 Release: %{release}
 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
 Group: Applications/Development
 URL: http://trac.edgewall.org/
 
 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"
 ## pysqlite included in python-2.6
 Requires: python >= 2.6
@@ -24,7 +23,7 @@ Requires: python >= 2.6
 Requires: python
 Requires: pysqlite
 %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
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
@@ -53,7 +52,6 @@ Trac の全てのアスペクトは、一つの目標のもとに設計されて
 %prep
 %setup -q -n Trac-%{version}.%{japanize}
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__python} setup.py build
@@ -64,7 +62,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %{__mkdir } ${RPM_BUILD_ROOT}%{python_sitelib}/tracext
 
 ## deleting files
-%{__rm} -f contrib/trac-post-commit-hook.cmd
+%{__rm} -f contrib/trac-svn-post-commit-hook.cmd
 %{__rm} -rf contrib/rpm
 
 %clean
@@ -77,9 +75,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/*
 %{python_sitelib}/Trac-*.egg-info
 %{python_sitelib}/trac
+%{python_sitelib}/tracopt
 %dir %{python_sitelib}/tracext
 
 %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
 - new upstream release
 - add BuildRequires: unzip