Name: poedit Version: 3.5.1 Release: 1%{?dist} Summary: GUI editor for GNU gettext .po files Summary(de): Grafischer Editor für GNU Gettext-Dateien License: MIT URL: https://poedit.net/ Source0: https://github.com/vslavik/%{name}/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz Source1: https://src.fedoraproject.org/rpms/%{name}/raw/rawhide/f/%{name}.1.de.po BuildRequires: make BuildRequires: wxGTK-devel >= 3.2 BuildRequires: gtkspell3-devel BuildRequires: libappstream-glib BuildRequires: lucene++-devel BuildRequires: gcc-c++ BuildRequires: boost-devel BuildRequires: desktop-file-utils BuildRequires: po4a BuildRequires: libsecret-devel BuildRequires: openssl-devel BuildRequires: openssl-devel-engine BuildRequires: cpprest-devel # cld2 is not available for ppc64 s390x %ifnarch ppc64 s390x BuildRequires: cld2-devel %endif # Use json.hpp from Fedora and not the version bundled with Poedit BuildRequires: json-devel BuildRequires: pkgconfig(pugixml) >= 1.9 Requires: gettext %description This program is a GUI frontend to GNU Gettext utilities and a catalogs editor/source code parser. It helps with translating applications into other languages. %description -l de Dieses Programm stellt eine grafische Benutzeroberfläche für die Dienstprogramme aus GNU Gettext bereit, sowie einen Katalogeditor und einen Quellcode-Parser. Es hilft beim Übersetzen von Anwendungen in andere Sprachen. %prep %autosetup -p1 # Remove bundled sources rm -rf deps/ %build %ifarch ppc64 s390x # cld2 is not available for ppc64 s390x %configure --with-wx-config=/usr/bin/wx-config-3.2 --with-cpprest %else %configure --with-wx-config=/usr/bin/wx-config-3.2 --with-cpprest --with-cld2 %endif make %{?_smp_mflags} V=1 %install make install DESTDIR=%{buildroot} INSTALL='install -p' # Install the desktop file desktop-file-install \ --delete-original \ --add-category=GTK \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/net.%{name}.Poedit.desktop # Generate and install localized man pages mkdir -p man/de po4a-translate -M utf-8 -f man \ --option groff_code=verbatim \ -m docs/%{name}.1 -p %{SOURCE1} \ -l man/de/%{name}.1 mkdir -p %{buildroot}%{_mandir}/de/man1 install -p -m 644 man/de/%{name}.1 %{buildroot}%{_mandir}/de/man1 appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/net.%{name}.Poedit.appdata.xml ||: %{find_lang} poedit --with-man %files -f poedit.lang %doc NEWS README.md AUTHORS docs/*.txt %license COPYING %{_bindir}/* %{_datadir}/metainfo/net.%{name}.Poedit.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/poedit %{_mandir}/man?/* %changelog * Sun Sep 15 2024 Wolfgang Stöggl - 3.5.1-1 - New upstream version * Fri Aug 30 2024 Wolfgang Stöggl - 3.5-1 - New upstream version * Sat Jul 27 2024 Wolfgang Stöggl - 3.4.4-3 - Add dependency on openssl-devel-engine * Fri Jul 19 2024 Fedora Release Engineering - 3.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat May 11 2024 Wolfgang Stöggl - 3.4.4-1 - New upstream version * Wed May 08 2024 Wolfgang Stöggl - 3.4.3-1 - New upstream version * Wed Jan 31 2024 Pete Walter - 3.4.2-5 - Rebuild for ICU 74 * Thu Jan 25 2024 Fedora Release Engineering - 3.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 3.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 18 2024 Jonathan Wakely - 3.4.2-2 - Rebuilt for Boost 1.83 * Fri Dec 22 2023 Wolfgang Stöggl - 3.4.2-1 - New upstream version * Fri Oct 27 2023 Wolfgang Stöggl - 3.4.1-1 - New upstream version * Mon Oct 02 2023 Wolfgang Stöggl - 3.4-1 - New upstream version * Fri Jul 21 2023 Fedora Release Engineering - 3.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 František Zatloukal - 3.3.2-2 - Rebuilt for ICU 73.2 * Mon Jun 26 2023 Wolfgang Stöggl - 3.3.2-1 - New upstream version * Tue May 16 2023 Wolfgang Stöggl - 3.3.1-1 - New upstream version * Thu May 11 2023 Wolfgang Stöggl - 3.3-1 - New upstream version * Mon Feb 20 2023 Jonathan Wakely - 3.2.2-4 - Rebuilt for Boost 1.81 * Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Dec 31 2022 Pete Walter - 3.2.2-2 - Rebuild for ICU 72 * Thu Dec 01 2022 Wolfgang Stöggl - 3.2.2-1 - New upstream version * Thu Aug 04 2022 Scott Talbert - 3.1.1-4 - Rebuild with wxWidgets 3.2 * Mon Aug 01 2022 Frantisek Zatloukal - 3.1.1-3 - Rebuilt for ICU 71.1 * Fri Jul 22 2022 Fedora Release Engineering - 3.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 09 2022 Wolfgang Stöggl - 3.1.1-1 - New upstream version * Wed Jun 08 2022 Wolfgang Stöggl - 3.1-1 - New upstream version * Wed May 04 2022 Thomas Rodgers - 3.0.1-4 - Rebuilt for Boost 1.78 * Sun Feb 13 2022 Wolfgang Stöggl - 3.0.1-3 - Add poedit-3.0.1-about-icon.patch * Fri Jan 21 2022 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 11 2021 Wolfgang Stöggl - 3.0.1-1 - New upstream version * Tue Sep 14 2021 Sahana Prasad - 3.0-4 - Rebuilt with OpenSSL 3.0.0 * Sat Aug 07 2021 Jonathan Wakely - 3.0-3 - Rebuilt for Boost 1.76 * Tue Jul 27 2021 Fedora Release Engineering - 3.0-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 05 2021 Wolfgang Stöggl - 3.0-1 - New upstream version * Thu May 20 2021 Pete Walter - 2.4.3-2 - Rebuild for ICU 69 * Mon Apr 26 2021 Wolfgang Stöggl - 2.4.3-1 - New upstream version * Wed Jan 27 2021 Fedora Release Engineering - 2.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 2021 Jonathan Wakely - 2.4.2-2 - Rebuilt for Boost 1.75 * Tue Nov 10 2020 Wolfgang Stöggl - 2.4.2-1 - New upstream version * Mon Aug 10 2020 Wolfgang Stöggl - 2.4.1-1 - New upstream version * Mon Jul 27 2020 Wolfgang Stöggl - 2.4-1 - New upstream version * Thu May 28 2020 Jonathan Wakely - 2.3.1-4 - Rebuilt for Boost 1.73 * Sun May 17 2020 Pete Walter - 2.3.1-3 - Rebuild for ICU 67 * Sat May 16 2020 Pete Walter - 2.3.1-2 - Rebuild for ICU 67 * Sun May 10 2020 Wolfgang Stöggl - 2.3.1-1 - New upstream version * Sat Apr 25 2020 Wolfgang Stöggl - 2.3-3 - Rebuild for cpprest v2.10.16 * Mon Feb 24 2020 Wolfgang Stöggl - 2.3-2 - Rebuild for cpprest v2.10.15 * Mon Feb 03 2020 Wolfgang Stöggl - 2.3-1 - New upstream version * Thu Jan 30 2020 Fedora Release Engineering - 2.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Nov 01 2019 Pete Walter - 2.2.4-2 - Rebuild for ICU 65 * Sun Sep 29 2019 Wolfgang Stöggl - 2.2.4-1 - New upstream version * Thu Sep 19 2019 Wolfgang Stöggl - 2.2.3-3 - Rebuild poedit for pugixml 1.10 pugixml.pc is available now in the Fedora rpm - Drop: poedit-2.1-update_configure_check_for_pugixml.patch - Update URL for poedit.1.de.po * Fri Jul 26 2019 Fedora Release Engineering - 2.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 20 2019 Wolfgang Stöggl - 2.2.3-1 - New upstream version - Drop: poedit-2.2.2-fix_wxBitmap_wxIcon_asserts.patch * Sun May 19 2019 Wolfgang Stöggl - 2.2.2-2 - Add: poedit-2.2.2-fix_wxBitmap_wxIcon_asserts.patch * Wed May 15 2019 Wolfgang Stöggl - 2.2.2-1 - New upstream version - Change dir for net.poedit.Poedit.appdata.xml from appdata to metainfo * Wed Mar 20 2019 Wolfgang Stöggl - 2.2.1-4 - Remove part from %%install section about unnecessary locations. No more files are installed in: applnk, mimelnk, gnome, mime-info - Rebuild for cpprest v2.10.11 * Thu Jan 31 2019 Kalev Lember - 2.2.1-3 - Rebuilt for Boost 1.69 * Wed Jan 23 2019 Pete Walter - 2.2.1-2 - Rebuild for ICU 63 * Tue Jan 15 2019 Wolfgang Stöggl - 2.2.1-1 - New upstream version - Remove patches: poedit-2.0.8-configure_ppc64_ppc64le.patch poedit-2.2-fix_dark_mode_assert.patch poedit-2.2-fix_wayland_incompatibility.patch - Remove obsolete pixmaps/* from files * Fri Jan 11 2019 Wolfgang Stöggl - 2.2-3 - Add patches: poedit-2.2-fix_dark_mode_assert.patch, fixes #1639361 poedit-2.2-fix_wayland_incompatibility.patch, fixes #1659253 * Thu Nov 01 2018 Wolfgang Stöggl - 2.2-2 - Rebuild for cpprest v2.10.7 * Mon Oct 08 2018 Wolfgang Stöggl - 2.2-1 - New upstream version - Use reverse DNS names for appdata and desktop: net.poedit.Poedit.desktop, net.poedit.Poedit.appdata.xml * Tue Aug 07 2018 Wolfgang Stöggl - 2.1.1-1 - New upstream version * Tue Jul 24 2018 Wolfgang Stöggl - 2.1-1 - New upstream version - Add BR pugixml-devel - Add poedit-2.1-update_configure_check_for_pugixml.patch * Mon Jul 23 2018 Wolfgang Stöggl - 2.0.9-3 - Remove bundled sources after autosetup - Removed from spec file: Make sure docs are utf-8 This was obsolete as there were no more *.hpp files since Poedit v1.5 * Fri Jul 13 2018 Fedora Release Engineering - 2.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jul 12 2018 Wolfgang Stöggl - 2.0.9-1 - New upstream version - Update URL * Tue Jul 10 2018 Pete Walter - 2.0.8-4 - Rebuild for ICU 62 * Fri Jun 08 2018 Wolfgang Stöggl - 2.0.8-3 - Use simplified patch poedit-2.0.8-configure_ppc64_ppc64le.patch Fixes build errors on ppc64 and ppc64le (boost library not found) * Thu Jun 07 2018 Wolfgang Stöggl - 2.0.8-2 - Add patch to use configure from Poedit 2.0.7 Fixes build errors on ppc64 and ppc64le (boost library not found) For now, this circumvents commit acdb967 - Update autoconf-archive macros * Tue Jun 05 2018 Wolfgang Stöggl - 2.0.8-1 - New upstream version * Mon Apr 30 2018 Pete Walter - 2.0.7-2 - Rebuild for ICU 61.1 * Mon Apr 23 2018 Wolfgang Stöggl - 2.0.7-1 - New upstream version * Mon Feb 12 2018 Wolfgang Stöggl - 2.0.6-1 - New upstream version * Fri Feb 09 2018 Fedora Release Engineering - 2.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 2.0.4-3 - Remove obsolete scriptlets * Thu Nov 30 2017 Pete Walter - 2.0.4-2 - Rebuild for ICU 60.1 * Fri Oct 13 2017 Wolfgang Stöggl - 2.0.4-1 - New upstream version - Configure without cld2 for ppc64 s390x (instead of ExcludeArch) * Mon Aug 28 2017 Mario Blättermann - 2.0.3-4 - Add ExcludeArch: ppc64 s390x (no cld2 there) - Use cld2-devel for language detection - Add BuildRequires: gcc-c++ * Thu Aug 03 2017 Fedora Release Engineering - 2.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Mario Blättermann - 2.0.3-1 - New upstream version - Use cpprest-devel for Crowdin support * Sat Jun 03 2017 Mario Blättermann - 2.0.2-5 - Thanks to Wolfgang Stöggl for the following changes: - Add upstream fix to enable opening of .po files again in Poedit 2.0.2 - Fix DrawRoundedRectangle assert with wxGTK 3.0 - Add dependency on json-devel (use json.hpp from Fedora and not the version bundled with Poedit - Fixed spurious assert in wxGTK wxDataViewCtrl::EditItem() - Compile with CLD2 language detection from copr c72578/cld2 - Compile with Crowdin integration using cpprest from copr c72578/cpprest - Remove outdated BuildRequires * Mon May 15 2017 Fedora Release Engineering - 2.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Mon May 15 2017 Mario Blättermann - 2.0.2-1 - New upstream version * Fri May 12 2017 Mario Blättermann - 2.0.1-1 - New upstream version * Sun Feb 19 2017 Mario Blättermann - 1.8.12-1 - New upstream version * Sun Oct 30 2016 Mario Blättermann - 1.8.11-1 - New upstream version * Tue Oct 18 2016 Mario Blättermann - 1.8.10-1 - New upstream version - Add libappstream-glib to BuildRequires - Appdata file is now maintained upstream - Use a better URL for the po file * Fri Sep 02 2016 Mario Blättermann - 1.8.9-1 - New upstream version - Added latest features to the appdata file: translation hints, keywords, donations * Wed Jun 01 2016 Mario Blättermann - 1.8.8-1 - New upstream version * Fri Apr 15 2016 David Tardon - 1.8.7.1-2 - rebuild for ICU 57.1 * Sat Feb 27 2016 Mario Blättermann - 1.8.7.1-1 - New upstream version * Thu Feb 04 2016 Fedora Release Engineering - 1.8.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 18 2016 Jonathan Wakely - 1.8.6-3 - Rebuilt for Boost 1.60 * Fri Jan 01 2016 Mario Blättermann - 1.8.6-2 - Fixed appdata file * Fri Jan 01 2016 Mario Blättermann - 1.8.6-1 - New upstream version * Wed Oct 28 2015 David Tardon - 1.8.5-2 - rebuild for ICU 56.1 * Sat Sep 26 2015 Mario Blättermann - 1.8.5-1 - New upstream version * Thu Aug 27 2015 Jonathan Wakely - 1.8.4-3 - Rebuilt for Boost 1.59 * Tue Aug 04 2015 Mario Blättermann - 1.8.4-1 - New upstream version - Updated screenshot for appdata * Wed Jul 29 2015 Fedora Release Engineering - 1.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 * Wed Jul 22 2015 David Tardon - 1.8.2-2 - rebuild for Boost 1.58 * Tue Jul 07 2015 Mario Blättermann - 1.8.2-1 - New upstream version * Thu May 28 2015 Mario Blättermann - 1.8.1-1 - New upstream version * Thu May 21 2015 Mario Blättermann - 1.8-1 - New upstream version * Mon May 04 2015 Mario Blättermann - 1.7.6-1 - New upstream version * Thu Apr 02 2015 Mario Blättermann - 1.7.5-2 - Rebuilt for latest versions of wxGTK3 and lucene++ * Fri Mar 13 2015 Mario Blättermann - 1.7.5-1 - New upstream version - Add screenshot URL to appdata file, thanks to Wolfgang Stöggl - Updated German man page * Thu Mar 05 2015 Mario Blättermann - 1.7.4-1 - New upstream version * Thu Jan 15 2015 Mario Blättermann - 1.7.3-4 - Tweak appdata file and add German summary and description - Spec file cleanup * Wed Jan 14 2015 Mario Blättermann - 1.7.3-3 - Add an appdata file - Some spec file cleanup * Wed Jan 14 2015 Mario Blättermann - 1.7.3-2 - Disable non-working menu entries (backported from upstream's Git) - Add an appdata file - Some spec file cleanup * Sat Jan 10 2015 Mario Blättermann - 1.7.3-1 - New upstream version * Thu Jan 08 2015 Mario Blättermann - 1.7.1-3 - Remove the redundant zip from BuildRequires - Fix directory ownership in %%{_datadir}/icons/hicolor/ * Fri Jan 02 2015 Mario Blättermann - 1.7.1-2 - New upstream version - Use the %%license macro - Install German man page * Sun Aug 17 2014 Fedora Release Engineering - 1.5.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.5.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri May 23 2014 Petr Machata - 1.5.4-9 - Rebuild for boost 1.55.0 * Sun Aug 04 2013 Fedora Release Engineering - 1.5.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 30 2013 Petr Machata - 1.5.4-7 - Rebuild for boost 1.54.0 * Wed Mar 6 2013 Toshio Kuratomi - 1.5.4-6 - Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077 * Thu Feb 14 2013 Fedora Release Engineering - 1.5.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Dec 27 2012 Christoph Wickert - 1.5.4-4 - Make sure translation memory gets built (#870724) * Mon Oct 22 2012 Christoph Wickert - 1.5.4-3 - Really fix file conflict, affects all sizes (#866058) * Mon Oct 15 2012 Christoph Wickert - 1.5.4-2 - Fix file conflict (#866058) * Thu Oct 11 2012 Christoph Wickert - 1.5.4-1 - Update to 1.5.4 * Sat Jul 21 2012 Fedora Release Engineering - 1.4.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 01 2012 Christoph Wickert - 1.4.6.1-6 - Don't ship docs twice (#827472) * Sat Jan 14 2012 Fedora Release Engineering - 1.4.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 1.4.6.1-4 - Rebuild for new libpng * Wed Feb 09 2011 Fedora Release Engineering - 1.4.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 14 2010 Dan Horák - 1.4.6.1-2 - rebuilt against wxGTK-2.8.11-2 * Sat Apr 03 2010 Christoph Wickert - 1.4.6.1-1 - Update to 1.4.6.1 (#579235) - New BuildRequires boost-devel - Update icon cache scriptlets * Fri Feb 05 2010 Haïkel Guémar - 1.4.5-1 * Updated to 1.4.5 * Fri Jan 29 2010 Haïkel Guémar - 1.4.4-1 * Updated to 1.4.4 * Fri Sep 18 2009 Haïkel Guémar - 1.4.3-1 * Updated to 1.4.3 * Sun Jul 26 2009 Fedora Release Engineering - 1.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Mar 26 2009 Bill Nottingham - 1.4.2-4 - rebuild per bug #492193, releng ticket 1432 * Thu Feb 26 2009 Fedora Release Engineering - 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Dec 27 2008 Konstantin Ryabitsev - 1.4.2-2 - We still need desktop-file-utils, just not the post/postun scriptlets * Sat Dec 27 2008 Konstantin Ryabitsev - 1.4.2-1 - Upstream 1.4.2 - Do not depend on desktop-file-utils (#463047) - Fix source location * Tue Feb 19 2008 Fedora Release Engineering - 1.3.9-2 - Autorebuild for GCC 4.3 * Sun Dec 23 2007 Konstantin Ryabitsev - 1.3.9-1 - Upstream 1.3.9 - Make sure all docs are utf-8 * Fri Aug 17 2007 Konstantin Ryabitsev - 1.3.7-1 - Upstream 1.3.7 - Require gettext (#253228) * Sun Dec 17 2006 Konstantin Ryabitsev - 1.3.6-1.2 - Rebuild for new wx in devel * Fri Nov 10 2006 Konstantin Ryabitsev - 1.3.6-1.1 - Rebuild for newer db4 in devel * Mon Oct 30 2006 Konstantin Ryabitsev - 1.3.6-1 - Upstream 1.3.6 * Sun Oct 29 2006 Konstantin Ryabitsev - 1.3.5-1 - Upstream 1.3.5 * Sun Sep 03 2006 Konstantin Ryabitsev - 1.3.4-2.1 - FC6 rebuild * Wed May 24 2006 Konstantin Ryabitsev - 1.3.4-2 - Remove any potential places where makefile may create copies of .desktop files and icons. * Tue May 23 2006 Konstantin Ryabitsev - 1.3.4-1 - Initial packaging