1 Summary: gtranslator - a comfortable po file editor with many bells and whistles
2 Summary(pl): gtranslator - wygodny edytor plików po z ró¿nymi wodotryskami
9 Group: Development/Tools
10 Source0: http://dl.sourceforge.net/gtranslator/%{name}-%{version}.tar.gz
11 # Source0-md5: 2cd24e8471362ab76348fc202a1f957f
12 Patch0: %{name}-configure_in.patch
13 Patch1: %{name}-locale_names.patch
14 URL: http://gtranslator.sf.net/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gnome-common >= 2.8.0
18 BuildRequires: gnome-vfs2-devel >= 2.0.0
19 BuildRequires: gtk+2-devel >= 1:2.0.0
20 BuildRequires: intltool
21 BuildRequires: libbonoboui-devel >= 2.0.0
22 BuildRequires: libgnomeui-devel >= 2.0.0
23 BuildRequires: libxml2-devel >= 2.4.12
24 BuildRequires: pkgconfig
25 BuildRequires: scrollkeeper
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 gtranslator is a comfortable po file editor with many bells and
30 whistles. It features many useful function which ease the work of
31 translators of po files immenantly.
34 gtranslator jest wygodnym edytorem plików po z wieloma wodotryskami.
35 Dostarcza du¿o u¿ytecznych funkcji u³atwiaj±cych pracê przy
36 t³umaczeniach plików po.
44 sed -i 's/Categories=.*/Categories=GTK;GNOME;Development;/' data/desktop/gtranslator.desktop.in
47 glib-gettextize --copy --force
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT \
62 Applicationdir=%{_desktopdir}
64 %find_lang %{name} --with-gnome
67 rm -rf $RPM_BUILD_ROOT
69 %post -p /usr/bin/scrollkeeper-update
70 %postun -p /usr/bin/scrollkeeper-update
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog DEPENDS HACKING NEWS README THANKS TODO
75 %attr(755,root,root) %{_bindir}/*
76 %dir %{_datadir}/%{name}
77 %{_datadir}/%{name}/colorschemes
78 %{_datadir}/%{name}/dtd
79 %attr(755,root,root) %{_datadir}/%{name}/scripts
80 %{_datadir}/mime-info/*
82 %{_desktopdir}/*.desktop
84 %{_omf_dest_dir}/%{name}