|
# $Id: translate-toolkit.spec,v 1.10 2009/10/20 20:46:55 slords Exp $ |
|
|
# Authority: slords |
|
|
# Name: Shad L. Lords |
|
|
|
|
1 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
2 |
|
|
3 |
Name: translate-toolkit |
Name: translate-toolkit |
4 |
Version: 1.4.1 |
Version: 1.5.3 |
5 |
Release: 2%{?dist} |
Release: 2%{?dist} |
6 |
Summary: Tools to assist with translation and software localization |
Summary: Tools to assist with translation and software localization |
7 |
|
|
8 |
Group: Development/Tools |
Group: Development/Tools |
9 |
License: GPLv2+ |
License: GPLv2+ |
10 |
URL: http://translate.sourceforge.net/wiki/toolkit/index |
URL: http://translate.sourceforge.net/wiki/toolkit/index |
11 |
Source0: http://downloads.sourceforge.net/project/translate/Translate%20Toolkit/1.4.0/%{name}-%{version}.tar.bz2 |
Source0: http://downloads.sourceforge.net/project/translate/Translate%20Toolkit/%{version}/%{name}-%{version}.tar.bz2 |
12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
13 |
|
|
14 |
Patch0: translate-toolkit-1.2.1-stoplist.patch |
Patch0: translate-toolkit-1.5.3-stoplist.patch |
15 |
Patch1: translate-toolkit-1.4.1-sourcelencmp.patch |
Patch1: translate-toolkit-1.5.0-langmodel_dir.patch |
16 |
|
Patch2: translate-toolkit-1.5.3-bug1372_filesystem_encoding.patch |
17 |
|
|
18 |
BuildArch: noarch |
BuildArch: noarch |
19 |
BuildRequires: python-devel |
BuildRequires: python-devel |
20 |
# The following are needed for man page generation |
# The following are needed for man page generation |
21 |
BuildRequires: python-lxml |
BuildRequires: python-lxml |
|
BuildRequires: python-iniparse |
|
22 |
BuildRequires: python-simplejson |
BuildRequires: python-simplejson |
23 |
BuildRequires: python-vobject |
BuildRequires: python-vobject |
24 |
Requires: gettext |
Requires: gettext-libs |
25 |
Requires: python-enchant |
Requires: python-enchant |
26 |
Requires: python-iniparse |
Requires: python-iniparse |
27 |
Requires: python-Levenshtein |
Requires: python-Levenshtein |
42 |
* Formats: |
* Formats: |
43 |
* Core localization formats - XLIFF and Gettext PO |
* Core localization formats - XLIFF and Gettext PO |
44 |
* Other localization formats - TMX, TBX, Qt Linguist (.ts), |
* Other localization formats - TMX, TBX, Qt Linguist (.ts), |
45 |
Java .properties, Wordfast TM |
Java .properties, Wordfast TM, OmegaT glossary |
46 |
* Compiled formats: Gettext MO, Qt .qm |
* Compiled formats: Gettext MO, Qt .qm |
47 |
* Other formats - OpenDocument Format (ODF), text, HTML, CSV, INI, |
* Other formats - OpenDocument Format (ODF), text, HTML, CSV, INI, |
48 |
wiki (MediaWiki, DokuWiki), iCal |
wiki (MediaWiki, DokuWiki), iCal |
69 |
%setup -q |
%setup -q |
70 |
%patch0 -p1 |
%patch0 -p1 |
71 |
%patch1 -p1 |
%patch1 -p1 |
72 |
|
%patch2 -p2 |
73 |
|
|
74 |
|
|
75 |
%build |
%build |
103 |
# Move data files to /usr/share |
# Move data files to /usr/share |
104 |
mkdir $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit |
mkdir $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit |
105 |
mv $RPM_BUILD_ROOT/%{python_sitelib}/translate/share/stoplist* $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit |
mv $RPM_BUILD_ROOT/%{python_sitelib}/translate/share/stoplist* $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit |
106 |
|
mv $RPM_BUILD_ROOT/%{python_sitelib}/translate/share/langmodels $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit |
107 |
|
rmdir $RPM_BUILD_ROOT/%{python_sitelib}/translate/share |
108 |
|
|
109 |
|
|
110 |
%clean |
%clean |
126 |
|
|
127 |
|
|
128 |
%changelog |
%changelog |
129 |
* Tue Oct 20 2009 Shad L. Lords <slords@mail.com> - 1.4.1-2 |
* Mon Feb 22 2010 Dwayne Bailey <dwayne@translate.org.za> - 1.5.3-2 |
130 |
- Update to 1.4.1 final |
- Bug #1372: Decode fulesystem paths correctly |
131 |
- Add sourcelencmp routine back in so updatetm still works |
|
132 |
|
* Thu Feb 4 2010 Dwayne Bailey <dwayne@translate.org.za> - 1.5.3-1 |
133 |
|
- Update to 1.5.3 |
134 |
|
- Plural information for more languages |
135 |
|
- Cleaner language names (for the benefit of Pootle and Virtaal) |
136 |
|
- Skype support for prop2po and po2prop [by Filip Miletić] |
137 |
|
- Small improvement to Qt .ts support |
138 |
|
- Other small bugfixes |
139 |
|
- Redo stoplist patch |
140 |
|
- Drop gaupol and iniparse from BuildRequires |
141 |
|
|
142 |
|
* Mon Jan 11 2010 Dwayne Bailey <dwayne@translate.org.za> - 1.5.2-1 |
143 |
|
- Update to 1.5.2 |
144 |
|
- Initial support for '#' type comments in the PHP converters (#1298) |
145 |
|
- Reliability improvements for Pootle concerning Xapian and Python 2.4 |
146 |
|
- A small fix affecting searching in Virtaal |
147 |
|
- Classify XML tags as editable placeables for Virtaal (#1287) |
148 |
|
- Correctly handle language codes with '@' in them (like ca@valencia) |
149 |
|
- Don't unnecessarily add empty 'note' nodes in XLIFF (#1319) |
150 |
|
- Allow for the translation of 'title' attributes in XML (#1294) |
151 |
|
|
152 |
|
* Thu Nov 26 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.5.1-1 |
153 |
|
- Update to 1.5.1 |
154 |
|
- Support for OmegaT glossary files |
155 |
|
- Fixes for the fast (but still experimental) C PO parser |
156 |
|
- Fixes for the LRU cache |
157 |
|
- Fixes for correct and faster language identification |
158 |
|
- Remove backports introduced in 1.5.0-1 |
159 |
|
|
160 |
|
* Tue Nov 24 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.5.0-1 |
161 |
|
- Update to 1.5.0 |
162 |
|
- The tmserver will now be multithreaded if cherrypy is installed |
163 |
|
- New faster PO parser for testing |
164 |
|
- Optionally preserve HTML comments in html2po. Bug #1183 |
165 |
|
- Many reliability and API improvements for the upcoming versions of Pootle and Virtaal |
166 |
|
- Move langmodels into /usr/share/translate-toolkit |
167 |
|
- Remove backports introduced in 1.4.1-2 |
168 |
|
- Backports: |
169 |
|
- r13226, r13234 - fix and optimise language identification |
170 |
|
- r13225 - check for units based on source and target text |
171 |
|
|
172 |
|
* Fri Nov 6 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.1-3 |
173 |
|
- Backport various fixes needed for Pootle 1.3 |
174 |
|
- r12685 index speedup |
175 |
|
- r12686 id index |
176 |
|
- r12724 hassuggestion speedup |
177 |
|
- r12727 msgidcomment |
178 |
|
|
179 |
|
* Thu Oct 15 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.1-2 |
180 |
|
- Retag |
181 |
|
|
182 |
|
* Thu Oct 15 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.1-1 |
183 |
|
- Update to 1.4.1 |
184 |
|
- Better support for printf (including numbered) variables (bug 1118) |
185 |
|
- Fixes for the upcoming Pootle, including combined searches (bug 1036) |
186 |
|
- subtle bug in tmserver handling of the percent sign (%) (bug 1101) |
187 |
|
- obsolete messages seen as translatable (bug 1114) |
188 |
|
- Drop patch bug#1114 - obsolete messages should not be translatable |
189 |
|
|
190 |
* Mon Aug 24 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-2 |
* Mon Aug 24 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-2 |
191 |
- Upstream bug #1114 - obsolete messages should not be translatable |
- Upstream bug #1114 - obsolete messages should not be translatable |
193 |
* Wed Aug 5 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-1 |
* Wed Aug 5 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-1 |
194 |
- Update to 1.4.0 final |
- Update to 1.4.0 final |
195 |
|
|
196 |
|
* Fri Jul 31 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.5.rc2 |
197 |
|
- Fix tarball reference |
198 |
|
|
199 |
* Fri Jul 31 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.4.rc2 |
* Fri Jul 31 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.4.rc2 |
200 |
- Update to 1.4.0 rc2: |
- Update to 1.4.0 rc2 |
201 |
- Some small fixes for XLIFF support |
- Some small fixes for XLIFF support |
202 |
- API documentation has been augmented with diagrams |
- API documentation has been augmented with diagrams |
203 |
|
|
204 |
* Fri Jul 24 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.3.rc1 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.3.rc1 |
205 |
- Update to 1.4.0 rc1: |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
206 |
|
|
207 |
Improvements since beta 1: |
* Fri Jul 24 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.2.rc1 |
208 |
* Improved support for Windows .rc files. |
- Update to 1.4.0 rc1 |
|
* Small fixes to Mozilla support. |
|
|
* Improvements to some pofilter checks. |
|
|
* The tmserver now has more startup options to control behaviour. |
|
|
* Better handling of spaces between inline elements in XLIFF |
|
|
|
|
|
There were also other bugfixes and small improvements, especially for |
|
|
the sake of the rich editing features in the upcoming version of |
|
|
Virtaal. |
|
|
|
|
|
* Mon Jun 29 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.2.beta1 |
|
|
- Retag |
|
209 |
|
|
210 |
* Sat Jun 27 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.1.beta1 |
* Sat Jun 27 2009 Dwayne Bailey <dwayne@translate.org.za> - 1.4.0-0.1.beta1 |
211 |
- Update to 1.4.0 beta1 |
- Update to 1.4.0 beta1 |