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.sf.net/%{name}/%{name}-%{version}.tar.bz2
11 Source1: %{name}.desktop
13 Patch0: %{name}-system_libs.patch
14 URL: http://poedit.sourceforge.net/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gtk+2-devel
18 BuildRequires: wxGTK2-unicode-devel >= 2.4.0-0.8
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 poEdit is cross-platform gettext catalogs (.po files) editor. It is
25 built with wxWindows toolkit and can run on Unix or Windows. It aims
26 to provide convenient way of editing gettext catalogs. It features
27 UTF-8 support, fuzzy and untranslated records highlighting,
28 whitespaces highlighting, references browser, headers editing and can
29 be used to create new catalogs or update existing catalogs from source
33 poEdit jest wieloplatformowym edytorem katalogów gettexta (plików
34 .po). U¿ywa toolkitu wxWindows, wiêc mo¿e dzia³aæ pod uniksem oraz pod
35 Windows. Mo¿liwo¶ci programu to: obs³uga UTF-8, pod¶wietlanie rekordów
36 nie przet³umaczonych i "fuzzy", pod¶wietlanie odstêpów, przegl±darka
37 odwo³añ, edycja nag³ówków, tworzenie nowych katalogów oraz
38 uaktualnianie istniej±cych z plików ¼ród³owych przez jedno klikniêcie.
47 --with-wx-config=wxgtk2u-2.4-config
48 %{__make} EXTRADIR="" gizmoslib="-lwx_gtk2u_gizmos-2.4" xrclib="-lwx_gtk2u_xrc-2.4" expatlib="-lexpat"
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
55 DESTDIR=$RPM_BUILD_ROOT
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
63 rm -rf $RPM_BUILD_ROOT
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 #%doc NEWS LICENSE README AUTHORS docs/*.html docs/img
68 %attr(755,root,root) %{_bindir}/poedit