1 Summary: Gettext catalogs editor
2 Summary(pl.UTF-8): Edytor katalogów gettexta
7 Group: X11/Applications/Editors
8 Source0: http://dl.sourceforge.net/poedit/%{name}-%{version}.tar.gz
9 # Source0-md5: 2e2b921c9684f1bd9dba2535d97bd34e
10 Patch0: %{name}-locale_names.patch
11 Patch1: %{name}-desktop.patch
12 URL: http://poedit.sourceforge.net/
13 BuildRequires: autoconf >= 2.59
14 BuildRequires: automake >= 1:1.9
15 BuildRequires: gtk+2-devel
16 BuildRequires: gtkspell-devel
17 BuildRequires: pkgconfig
18 BuildRequires: rpmbuild(macros) >= 1.311
19 BuildRequires: wxGTK2-unicode-devel >= 2.6.0
20 BuildRequires: wxWidgets-utils
22 Requires(post,postun): desktop-file-utils
23 Requires(post,postun): gtk+2
24 Requires(post,postun): hicolor-icon-theme
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 poEdit is cross-platform gettext catalogs (.po files) editor. It is
30 built with wxWindows toolkit and can run on Unix or Windows. It aims
31 to provide convenient way of editing gettext catalogs. It features
32 UTF-8 support, fuzzy and untranslated records highlighting,
33 whitespaces highlighting, references browser, headers editing and can
34 be used to create new catalogs or update existing catalogs from source
37 %description -l pl.UTF-8
38 poEdit jest wieloplatformowym edytorem katalogów gettexta (plików
39 .po). Używa toolkitu wxWindows, więc może działać pod Uniksem oraz pod
40 Windows. Możliwości programu to: obsługa UTF-8, podświetlanie rekordów
41 nie przetłumaczonych i niepewnych ("fuzzy"), podświetlanie odstępów,
42 przeglądarka odwołań, edycja nagłówków, tworzenie nowych katalogów
43 oraz uaktualnianie istniejących z plików źródłowych przez jedno
67 --with-wx-config=wx-gtk2-unicode-config \
68 --%{?debug:en}%{!?debug:dis}able-debug
75 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
84 rm -rf $RPM_BUILD_ROOT
87 %update_desktop_database_post
88 %update_icon_cache hicolor
91 %update_desktop_database_postun
92 %update_icon_cache hicolor
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS COPYING NEWS README TODO
97 %attr(755,root,root) %{_bindir}/poedit
99 %{_desktopdir}/poedit.desktop
100 %{_pixmapsdir}/poedit.png
101 %{_iconsdir}/hicolor/*/*/poedit.png
102 %{_iconsdir}/hicolor/*/*/poedit.svg
103 %{_mandir}/man1/poedit.1*