--- rpms/translate-toolkit/contribs8/translate-toolkit.spec 2009/10/20 21:41:47 1.11 +++ rpms/translate-toolkit/contribs8/translate-toolkit.spec 2010/02/24 18:18:37 1.12 @@ -1,31 +1,27 @@ -# $Id: translate-toolkit.spec,v 1.10 2009/10/20 20:46:55 slords Exp $ -# Authority: slords -# Name: Shad L. Lords - %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: translate-toolkit -Version: 1.4.1 +Version: 1.5.3 Release: 2%{?dist} Summary: Tools to assist with translation and software localization Group: Development/Tools License: GPLv2+ URL: http://translate.sourceforge.net/wiki/toolkit/index -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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: translate-toolkit-1.2.1-stoplist.patch -Patch1: translate-toolkit-1.4.1-sourcelencmp.patch +Patch0: translate-toolkit-1.5.3-stoplist.patch +Patch1: translate-toolkit-1.5.0-langmodel_dir.patch +Patch2: translate-toolkit-1.5.3-bug1372_filesystem_encoding.patch BuildArch: noarch BuildRequires: python-devel # The following are needed for man page generation BuildRequires: python-lxml -BuildRequires: python-iniparse BuildRequires: python-simplejson BuildRequires: python-vobject -Requires: gettext +Requires: gettext-libs Requires: python-enchant Requires: python-iniparse Requires: python-Levenshtein @@ -46,7 +42,7 @@ Including: * Formats: * Core localization formats - XLIFF and Gettext PO * Other localization formats - TMX, TBX, Qt Linguist (.ts), - Java .properties, Wordfast TM + Java .properties, Wordfast TM, OmegaT glossary * Compiled formats: Gettext MO, Qt .qm * Other formats - OpenDocument Format (ODF), text, HTML, CSV, INI, wiki (MediaWiki, DokuWiki), iCal @@ -73,6 +69,7 @@ toolkit or to use the libraries in other %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p2 %build @@ -106,6 +103,8 @@ rm $RPM_BUILD_ROOT/%{python_sitelib}/tra # Move data files to /usr/share mkdir $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit mv $RPM_BUILD_ROOT/%{python_sitelib}/translate/share/stoplist* $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit +mv $RPM_BUILD_ROOT/%{python_sitelib}/translate/share/langmodels $RPM_BUILD_ROOT/%{_datadir}/translate-toolkit +rmdir $RPM_BUILD_ROOT/%{python_sitelib}/translate/share %clean @@ -127,9 +126,66 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Tue Oct 20 2009 Shad L. Lords - 1.4.1-2 -- Update to 1.4.1 final -- Add sourcelencmp routine back in so updatetm still works +* Mon Feb 22 2010 Dwayne Bailey - 1.5.3-2 +- Bug #1372: Decode fulesystem paths correctly + +* Thu Feb 4 2010 Dwayne Bailey - 1.5.3-1 +- Update to 1.5.3 + - Plural information for more languages + - Cleaner language names (for the benefit of Pootle and Virtaal) + - Skype support for prop2po and po2prop [by Filip Miletić] + - Small improvement to Qt .ts support + - Other small bugfixes +- Redo stoplist patch +- Drop gaupol and iniparse from BuildRequires + +* Mon Jan 11 2010 Dwayne Bailey - 1.5.2-1 +- Update to 1.5.2 + - Initial support for '#' type comments in the PHP converters (#1298) + - Reliability improvements for Pootle concerning Xapian and Python 2.4 + - A small fix affecting searching in Virtaal + - Classify XML tags as editable placeables for Virtaal (#1287) + - Correctly handle language codes with '@' in them (like ca@valencia) + - Don't unnecessarily add empty 'note' nodes in XLIFF (#1319) + - Allow for the translation of 'title' attributes in XML (#1294) + +* Thu Nov 26 2009 Dwayne Bailey - 1.5.1-1 +- Update to 1.5.1 + - Support for OmegaT glossary files + - Fixes for the fast (but still experimental) C PO parser + - Fixes for the LRU cache + - Fixes for correct and faster language identification +- Remove backports introduced in 1.5.0-1 + +* Tue Nov 24 2009 Dwayne Bailey - 1.5.0-1 +- Update to 1.5.0 + - The tmserver will now be multithreaded if cherrypy is installed + - New faster PO parser for testing + - Optionally preserve HTML comments in html2po. Bug #1183 + - Many reliability and API improvements for the upcoming versions of Pootle and Virtaal +- Move langmodels into /usr/share/translate-toolkit +- Remove backports introduced in 1.4.1-2 +- Backports: + - r13226, r13234 - fix and optimise language identification + - r13225 - check for units based on source and target text + +* Fri Nov 6 2009 Dwayne Bailey - 1.4.1-3 +- Backport various fixes needed for Pootle 1.3 + - r12685 index speedup + - r12686 id index + - r12724 hassuggestion speedup + - r12727 msgidcomment + +* Thu Oct 15 2009 Dwayne Bailey - 1.4.1-2 +- Retag + +* Thu Oct 15 2009 Dwayne Bailey - 1.4.1-1 +- Update to 1.4.1 + - Better support for printf (including numbered) variables (bug 1118) + - Fixes for the upcoming Pootle, including combined searches (bug 1036) + - subtle bug in tmserver handling of the percent sign (%) (bug 1101) + - obsolete messages seen as translatable (bug 1114) +- Drop patch bug#1114 - obsolete messages should not be translatable * Mon Aug 24 2009 Dwayne Bailey - 1.4.0-2 - Upstream bug #1114 - obsolete messages should not be translatable @@ -137,27 +193,19 @@ rm -rf $RPM_BUILD_ROOT * Wed Aug 5 2009 Dwayne Bailey - 1.4.0-1 - Update to 1.4.0 final +* Fri Jul 31 2009 Dwayne Bailey - 1.4.0-0.5.rc2 +- Fix tarball reference + * Fri Jul 31 2009 Dwayne Bailey - 1.4.0-0.4.rc2 -- Update to 1.4.0 rc2: +- Update to 1.4.0 rc2 - Some small fixes for XLIFF support - API documentation has been augmented with diagrams -* Fri Jul 24 2009 Dwayne Bailey - 1.4.0-0.3.rc1 -- Update to 1.4.0 rc1: +* Sun Jul 26 2009 Fedora Release Engineering - 1.4.0-0.3.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Improvements since beta 1: - * Improved support for Windows .rc files. - * 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 - 1.4.0-0.2.beta1 -- Retag +* Fri Jul 24 2009 Dwayne Bailey - 1.4.0-0.2.rc1 +- Update to 1.4.0 rc1 * Sat Jun 27 2009 Dwayne Bailey - 1.4.0-0.1.beta1 - Update to 1.4.0 beta1