2 # - install GNOME and KDE releated files (MIME files)
3 Summary: Gettext catalogs editor
4 Summary(pl): Edytor katalogów gettexta
9 Group: Applications/Editors
10 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
11 # Source0-md5: 1f654a72eea180884bd41ec36b3f5fd1
12 Source1: %{name}.desktop
14 Patch0: %{name}-system_libs.patch
15 URL: http://poedit.sourceforge.net/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gtk+2-devel
19 BuildRequires: wxGTK2-unicode-devel >= 2.4.0-0.8
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 poEdit is cross-platform gettext catalogs (.po files) editor. It is
26 built with wxWindows toolkit and can run on Unix or Windows. It aims
27 to provide convenient way of editing gettext catalogs. It features
28 UTF-8 support, fuzzy and untranslated records highlighting,
29 whitespaces highlighting, references browser, headers editing and can
30 be used to create new catalogs or update existing catalogs from source
34 poEdit jest wieloplatformowym edytorem katalogów gettexta (plików
35 .po). U¿ywa toolkitu wxWindows, wiêc mo¿e dzia³aæ pod Uniksem oraz pod
36 Windows. Mo¿liwo¶ci programu to: obs³uga UTF-8, pod¶wietlanie rekordów
37 nie przet³umaczonych i niepewnych ("fuzzy"), pod¶wietlanie odstêpów,
38 przegl±darka odwo³añ, edycja nag³ówków, tworzenie nowych katalogów
39 oraz uaktualnianie istniej±cych z plików ¼ród³owych przez jedno
52 --with-wx-config=wxgtk2u-2.4-config \
53 --%{?debug:en}%{!?debug:dis}able-debug
57 gizmoslib="-lwx_gtk2u_gizmos-2.4" \
58 xrclib="-lwx_gtk2u_xrc-2.4" \
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/mime-info/}
66 DESTDIR=$RPM_BUILD_ROOT
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
69 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
74 rm -rf $RPM_BUILD_ROOT
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 #%doc NEWS LICENSE README AUTHORS docs/*.html docs/img
79 %attr(755,root,root) %{_bindir}/poedit
81 #%{_datadir}/mime-info/%{name}*