diff --git a/README.md b/README.md index fcbc5f1..79ad22d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # poedit +poEdit is cross-platform gettext catalogs (.po files) editor. +It is built with wxWidgets toolkit and can run on any platform supported by it. +It aims to provide more convenient approach to editing catalogs than launching vi and editing the file by hand. + diff --git a/poedit-1.4.6.1-desktop.patch b/poedit-1.4.6.1-desktop.patch new file mode 100644 index 0000000..41201d4 --- /dev/null +++ b/poedit-1.4.6.1-desktop.patch @@ -0,0 +1,70 @@ +diff -Nru poedit-1.4.2.orig/install/poedit.desktop poedit-1.4.2/install/poedit.desktop +--- poedit-1.4.2.orig/install/poedit.desktop 2008-10-22 06:24:41.000000000 +0200 ++++ poedit-1.4.2/install/poedit.desktop 2008-10-22 20:37:24.000000000 +0200 +@@ -1,5 +1,66 @@ + [Desktop Entry] + Name=Poedit ++GenericName=Translation Tool ++GenericName[af]=Vertaling Program ++GenericName[ar]=أداة الترجمة ++GenericName[bg]=Инструмент за превод ++GenericName[br]=Ostilh troidigezh ++GenericName[bs]=Alat za prevođenje ++GenericName[ca]=Eina de traducció ++GenericName[cs]=Překladatelský nástroj ++GenericName[cy]=Erfyn Cyfieithu ++GenericName[da]=Oversættelsesværktøj ++GenericName[de]=Übersetzungsprogramm ++GenericName[el]=Εργαλείο μετάφρασης ++GenericName[eo]=Tradukilo por Qt-programoj ++GenericName[es]=Herramienta de traducción ++GenericName[et]=Tõlkimise rakendus ++GenericName[eu]=Itzulpen tresna ++GenericName[fa]=ابزار ترجمه ++GenericName[fi]=Käännöstyökalu ++GenericName[fo]=Umsetingaramboð ++GenericName[fr]=Outil de traduction ++GenericName[ga]=Uirlis Aistriúcháin ++GenericName[gl]=Ferramenta de tradución ++GenericName[he]=כלי תרגום ++GenericName[hi]=अनुवाद औज़ार ++GenericName[hr]=Uslužni program za prevođenje ++GenericName[hu]=Fordítássegítő eszköz ++GenericName[is]=Þýðingaforrit ++GenericName[it]=Strumento di traduzione ++GenericName[ja]=翻訳ツール ++GenericName[kk]=Аудару құралы ++GenericName[lt]=Vertimo įrankis ++GenericName[lv]=Tulkošanas Rīks ++GenericName[ms]=Perkakasan Penterjemahan ++GenericName[mt]=Għodda tat-traduzzjoni ++GenericName[nb]=Oversettingsverktøy ++GenericName[nds]=Översettenwarktüüch ++GenericName[nl]=Vertaalprogramma ++GenericName[nn]=Omsetjingsverktøy ++GenericName[nso]=Sebereka sa Thlathollo ++GenericName[pa]=ਅਨੁਵਾਦ ਸੰਦ ++GenericName[pl]=Narzędzie dla tłumaczy ++GenericName[pt]=Ferramenta de Tradução ++GenericName[pt_BR]=Ferramenta de Tradução ++GenericName[ro]=Utilitar de traducere ++GenericName[ru]=Локализация приложений ++GenericName[sk]=Prekladací nástroj ++GenericName[sl]=Orodje za prevajanje ++GenericName[sr]=Алат за превођење ++GenericName[sr@Latn]=Alat za prevođenje ++GenericName[sv]=Översättningsverktyg ++GenericName[ta]=மொழிபெயர்ப்பு கருவி ++GenericName[tg]=Утилитаи маҳалликунонии гузориш ++GenericName[th]=เครื่องมือแปลภาษา ++GenericName[tr]=Çeviri Aracı ++GenericName[uk]=Засіб для перекладів ++GenericName[ven]=Zwishumiswa zwau Dologa ++GenericName[vi]=Công cụ dịch ++GenericName[xh]=Isixhobo Soguqulelo lomsebenzi kolunye ulwimi ++GenericName[zh_CN]=翻译工具 ++GenericName[zh_TW]=翻譯工具 ++GenericName[zu]=Ithuluzi Lokuguqulela + Comment=Gettext catalogs editor + Comment[fr]=Outil de traduction + MimeType=application/x-po;application/x-gettext;application/x-gettext-translation;text/x-gettext-translation;text/x-po; diff --git a/poedit.spec b/poedit.spec new file mode 100644 index 0000000..5725b40 --- /dev/null +++ b/poedit.spec @@ -0,0 +1,70 @@ +Name: poedit +Version: 1.5.4 +Release: 1mamba +Summary: A cross-platform gettext catalogs (.po files) editor +Group: Graphical Desktop/Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.poedit.net +Source: http://downloads.sourceforge.net/poedit/poedit-%{version}.tar.gz +Patch: %{name}-1.4.6.1-desktop.patch +License: MIT +BuildRequires: libwxBaseu-devel +BuildRequires: libgtkspell-devel +BuildRequires: libdb47-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +poEdit is cross-platform gettext catalogs (.po files) editor. +It is built with wxWidgets toolkit and can run on any platform supported by it. +It aims to provide more convenient approach to editing catalogs than launching vi and editing the file by hand. + +%prep +%setup -q +#%patch -p1 + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/%{name} +%{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.* +%{_datadir}/icons/hicolor/*/mimetypes/*.png +%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg +%{_datadir}/pixmaps/%{name}.png +%{_mandir}/man1/* +%doc AUTHORS COPYING +#NEWS README TODO + +%changelog +* Tue Jan 15 2013 Automatic Build System 1.5.4-1mamba +- automatic version update by autodist + +* Wed Jan 02 2013 Automatic Build System 1.5-1mamba +- automatic version update by autodist + +* Thu May 27 2010 Automatic Build System 1.4.6.1-1mamba +- automatic update by autodist + +* Mon Jun 08 2009 Automatic Build System 1.4.2-2mamba +- automatic rebuild by autodist + +* Thu Oct 23 2008 Silvan Calarco 1.4.2-1mamba +- automatic update by autodist + +* Wed Jun 06 2007 Stefano Cotta Ramusino 1.3.6-1mamba +- package created by autospec