]> git.pld-linux.org Git - packages/gtranslator.git/blob - gtranslator.spec
- remove " (Rarian version..." from "scrollkeeper-config --version" output
[packages/gtranslator.git] / gtranslator.spec
1 Summary:        gtranslator - a comfortable po file editor with many bells and whistles
2 Summary(pl.UTF-8):      gtranslator - wygodny edytor plików po z różnymi wodotryskami
3 Name:           gtranslator
4 Version:        1.1.7
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          Development/Tools
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtranslator/1.1/%{name}-%{version}.tar.bz2
10 # Source0-md5:  47531195b74b22a6284dad609377cbb0
11 Patch0:         %{name}-configure_in.patch
12 Patch1:         %{name}-locale_names.patch
13 URL:            http://gtranslator.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
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:  gtkspell-devel >= 2.0.2
21 BuildRequires:  intltool
22 BuildRequires:  libbonoboui-devel >= 2.0.0
23 BuildRequires:  libgnomeui-devel >= 2.0.0
24 BuildRequires:  libxml2-devel >= 2.4.12
25 BuildRequires:  pkgconfig
26 BuildRequires:  scrollkeeper
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 gtranslator is a comfortable po file editor with many bells and
31 whistles. It features many useful function which ease the work of
32 translators of po files immenantly.
33
34 %description -l pl.UTF-8
35 gtranslator jest wygodnym edytorem plików po z wieloma wodotryskami.
36 Dostarcza dużo użytecznych funkcji ułatwiających pracę przy
37 tłumaczeniach plików po.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43
44 mv -f po/{no,nb}.po
45 sed -i 's/Categories=.*/Categories=GTK;GNOME;Development;Translation;/' data/desktop/gtranslator.desktop.in
46
47 %build
48 %{__glib_gettextize}
49 %{__intltoolize}
50 %{__aclocal}
51 %{__autoheader}
52 %{__automake}
53 %{__autoconf}
54 %configure
55 %{__make}
56 %{__make} check
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT \
63         Applicationdir=%{_desktopdir}
64
65 %find_lang %{name} --with-gnome
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /usr/bin/scrollkeeper-update
71 %postun -p /usr/bin/scrollkeeper-update
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog DEPENDS HACKING NEWS README THANKS TODO
76 %attr(755,root,root) %{_bindir}/*
77 %dir %{_datadir}/%{name}
78 %{_datadir}/%{name}/colorschemes
79 %{_datadir}/%{name}/dtd
80 %attr(755,root,root) %{_datadir}/%{name}/scripts
81 %{_datadir}/mime-info/*
82 %{_pixmapsdir}/*
83 %{_desktopdir}/*.desktop
84 %{_mandir}/man1/*
85 %{_omf_dest_dir}/%{name}
This page took 0.031044 seconds and 3 git commands to generate.