diff --git a/README.md b/README.md index 0f8495d..9ffaf4e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # translate-toolkit +Tools for localization: Pootle: web based translation management system. Virtaal: Computer Aided Translation (CAT) tool, Translate Toolkit: QA, format conversion and support (PO, Java .properties, OpenOffice, Mozilla, XLIFF, TMX, TBX, CSV, Qt .ts). + diff --git a/translate-toolkit.spec b/translate-toolkit.spec new file mode 100644 index 0000000..74fa23b --- /dev/null +++ b/translate-toolkit.spec @@ -0,0 +1,55 @@ +Name: translate-toolkit +Version: 1.10.0 +Release: 1mamba +Summary: Tools for localization +Group: Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/translate/ +Source: http://downloads.sourceforge.net/project/translate/Translate%20Toolkit/%{version}/translate-toolkit-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 translate-toolkit' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Tools for localization: Pootle: web based translation management system. Virtaal: Computer Aided Translation (CAT) tool, Translate Toolkit: QA, format conversion and support (PO, Java .properties, OpenOffice, Mozilla, XLIFF, TMX, TBX, CSV, Qt .ts). + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/* +%dir %{python_sitearch}/translate +%{python_sitearch}/translate/* +%{python_sitearch}/translate_toolkit-*-py*.egg-info +%{python_sitearch}/docs/* +%{python_sitearch}/share/* +%doc COPYING +#README + +%changelog +* Tue Oct 29 2013 Automatic Build System 1.10.0-1mamba +- automatic version update by autodist + +* Wed Oct 12 2011 Silvan Calarco 1.9.0-1mamba +- update to 1.9.0 + +* Wed Oct 12 2011 Silvan Calarco 1.8.1-1mamba +- package created by autospec