1 Summary: Gettext catalogs editor
2 Summary(pl.UTF-8): Edytor katalogów gettexta
7 Group: X11/Applications/Editors
8 Source0: https://github.com/vslavik/poedit/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz
9 # Source0-md5: 83b18a3e983c9444b31f1132a5039819
10 URL: https://poedit.net/
11 BuildRequires: autoconf >= 2.59
12 BuildRequires: automake >= 1:1.9
13 BuildRequires: boost-devel
14 BuildRequires: gtk+3-devel
15 BuildRequires: gtkspell3-devel
16 BuildRequires: lucene++-devel >= 3.0.5
17 BuildRequires: pkgconfig
18 BuildRequires: rpmbuild(macros) >= 1.311
19 BuildRequires: wxGTK3-unicode-devel >= 3.0.3
20 BuildRequires: wxWidgets-utils
21 Requires(post,postun): desktop-file-utils
22 Requires(post,postun): gtk-update-icon-cache
23 Requires(post,postun): hicolor-icon-theme
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 poEdit is cross-platform gettext catalogs (.po files) editor. It is
29 built with wxWindows toolkit and can run on Unix or Windows. It aims
30 to provide convenient way of editing gettext catalogs. It features
31 UTF-8 support, fuzzy and untranslated records highlighting,
32 whitespaces highlighting, references browser, headers editing and can
33 be used to create new catalogs or update existing catalogs from source
36 %description -l pl.UTF-8
37 poEdit jest wieloplatformowym edytorem katalogów gettexta (plików
38 .po). Używa toolkitu wxWindows, więc może działać pod Uniksem oraz pod
39 Windows. Możliwości programu to: obsługa UTF-8, podświetlanie rekordów
40 nie przetłumaczonych i niepewnych ("fuzzy"), podświetlanie odstępów,
41 przeglądarka odwołań, edycja nagłówków, tworzenie nowych katalogów
42 oraz uaktualnianie istniejących z plików źródłowych przez jedno
50 --with-wx-config=wx-gtk3-unicode-config \
51 --%{?debug:en}%{!?debug:dis}able-debug
56 rm -rf $RPM_BUILD_ROOT
58 %{__make} install V=1 \
59 DESTDIR=$RPM_BUILD_ROOT
61 # fix/update locale names
62 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/co
63 %{__mv} $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
68 rm -rf $RPM_BUILD_ROOT
71 %update_desktop_database_post
72 %update_icon_cache hicolor
75 %update_desktop_database_postun
76 %update_icon_cache hicolor
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS COPYING NEWS README.md
81 %attr(755,root,root) %{_bindir}/poedit
83 %{_desktopdir}/net.poedit.Poedit.desktop
84 %{_desktopdir}/net.poedit.PoeditURI.desktop
85 %{_metainfodir}/net.poedit.Poedit.appdata.xml
86 %{_iconsdir}/hicolor/*/*/net.poedit.Poedit.png
87 %{_iconsdir}/hicolor/*/*/net.poedit.Poedit.svg
88 %{_mandir}/man1/poedit.1*