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.bz2
11 # Source0-md5: 24935b35ddb32c90fef4d0dee7a44a61
12 Source1: %{name}.desktop
14 Patch0: %{name}-system_libs.patch
15 Patch1: %{name}-DESTDIR.patch
16 URL: http://poedit.sourceforge.net/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gtk+2-devel
20 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
53 --with-wx-config=wxgtk2u-2.4-config \
54 --%{?debug:en}%{!?debug:dis}able-debug
58 gizmoslib="-lwx_gtk2u_gizmos-2.4" \
59 xrclib="-lwx_gtk2u_xrc-2.4" \
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
67 DESTDIR=$RPM_BUILD_ROOT
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
70 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
75 rm -rf $RPM_BUILD_ROOT
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 #%doc NEWS LICENSE README AUTHORS docs/*.html docs/img
80 %attr(755,root,root) %{_bindir}/poedit
82 %{_datadir}/mime-info/%{name}*