2024-01-05 17:51:16 +01:00
|
|
|
Name: OmegaT
|
2024-09-09 10:30:57 +02:00
|
|
|
Version: 6.0.1
|
2024-01-05 17:51:16 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: OmegaT® - multiplatform CAT tool
|
|
|
|
Group: Graphical Desktop/Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 17:51:16 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:51:19 +01:00
|
|
|
URL: https://omegat.org/
|
2024-01-05 17:51:16 +01:00
|
|
|
Source0: http://downloads.sourceforge.net/omegat/OmegaT_%{version}_Without_JRE.zip
|
2024-01-05 17:51:16 +01:00
|
|
|
Source1: omegat.desktop
|
2024-01-05 17:51:16 +01:00
|
|
|
Source2: omegat.sh
|
2024-01-05 17:51:16 +01:00
|
|
|
License: GPL
|
2024-01-05 17:51:16 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
2024-01-05 17:51:16 +01:00
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description
|
|
|
|
OmegaT® is a free translation memory application written in Java.
|
|
|
|
It is a tool intended for professional translators.
|
|
|
|
|
|
|
|
OmegaT® has the following features:
|
|
|
|
|
|
|
|
* Fuzzy matching
|
|
|
|
* Match propagation
|
|
|
|
* Simultaneous processing of multiple-file projects
|
|
|
|
* Simultaneous use of multiple translation memories
|
|
|
|
* User glossaries with recognition of inflected forms
|
|
|
|
* Unicode (UTF-8) support: can be used with non-Latin alphabets
|
|
|
|
* Support for right-to-left languages
|
|
|
|
* Integral spelling checker
|
|
|
|
* Compatible with other translation memory applications (TMX)
|
|
|
|
* Interface to Google Translate
|
|
|
|
|
|
|
|
Document file formats include:
|
|
|
|
* XHTML and HTML
|
|
|
|
* Microsoft Office XML
|
|
|
|
* OpenOffice.org/StarOffice
|
|
|
|
* XLIFF (Okapi)
|
|
|
|
* MediaWiki (Wikipedia)
|
|
|
|
* Plain text
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 17:51:16 +01:00
|
|
|
%setup -q -n OmegaT_%{version}_Without_JRE
|
2024-01-05 17:51:16 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 17:51:16 +01:00
|
|
|
mv *.txt docs/
|
|
|
|
install -d %{buildroot}%{_bindir}
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/omegat
|
|
|
|
cp -r * %{buildroot}%{_datadir}/omegat/
|
2024-01-05 17:51:16 +01:00
|
|
|
|
2024-01-05 17:51:16 +01:00
|
|
|
#.desktop file + icon
|
|
|
|
install -Dm644 %{SOURCE1} \
|
|
|
|
%{buildroot}%{_datadir}/applications/omegat.desktop
|
|
|
|
install -Dm644 images/OmegaT.svg \
|
|
|
|
%{buildroot}%{_datadir}/pixmaps/omegat.svg
|
2024-01-05 17:51:16 +01:00
|
|
|
|
2024-01-05 17:51:16 +01:00
|
|
|
#executable file
|
|
|
|
install -Dm755 %{SOURCE2} %{buildroot}%{_bindir}/omegat
|
2024-01-05 17:51:16 +01:00
|
|
|
|
2024-01-05 17:51:16 +01:00
|
|
|
#removing obsolete files
|
|
|
|
rm -rf %{buildroot}%{_datadir}/omegat/{*.{zip,desktop,sh,kaptn},OmegaT,OmegaT.bat}
|
2024-01-05 17:51:16 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
%{_bindir}/update-desktop-database -q %{_datadir}/applications
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/omegat
|
|
|
|
%{_datadir}/applications/omegat.desktop
|
2024-01-05 17:51:16 +01:00
|
|
|
%{_datadir}/pixmaps/omegat.svg
|
2024-01-05 17:51:16 +01:00
|
|
|
%dir %{_datadir}/omegat
|
2024-01-05 17:51:16 +01:00
|
|
|
%{_datadir}/omegat/OmegaT.jar
|
|
|
|
%{_datadir}/omegat/index.html
|
|
|
|
%{_datadir}/omegat/join.html
|
|
|
|
%dir %{_datadir}/omegat/docs
|
|
|
|
%{_datadir}/omegat/docs/*
|
|
|
|
%dir %{_datadir}/omegat/images
|
|
|
|
%{_datadir}/omegat/images/*
|
|
|
|
%dir %{_datadir}/omegat/lib
|
|
|
|
%{_datadir}/omegat/lib/*
|
|
|
|
%dir %{_datadir}/omegat/plugins
|
|
|
|
%{_datadir}/omegat/plugins/*
|
|
|
|
%dir %{_datadir}/omegat/scripts
|
|
|
|
%{_datadir}/omegat/scripts/*
|
|
|
|
%doc docs/OmegaT-license.txt
|
2024-01-05 17:51:16 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-09-09 10:30:57 +02:00
|
|
|
* Mon Sep 09 2024 Automatic Build System <autodist@openmamba.org> 6.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:51:19 +01:00
|
|
|
* Mon Jul 10 2023 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:51:16 +01:00
|
|
|
* Sat Mar 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-1mamba
|
|
|
|
- update to 4.3.2
|
|
|
|
|
|
|
|
* Sat Mar 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.3_08-1mamba
|
|
|
|
- update to 2.6.3_08
|
|
|
|
|
2024-01-05 17:51:16 +01:00
|
|
|
* Thu Mar 10 2011 gil <puntogil@libero.it> 2.2.3-1mamba
|
|
|
|
- update to 2.2.3
|
|
|
|
|
|
|
|
* Sun Dec 05 2010 gil <puntogil@libero.it> 2.0.5-1mamba
|
|
|
|
- package created by autospec
|