]> git.pld-linux.org Git - packages/gtranslator.git/blob - gtranslator.spec
- up to version 1.1.6
[packages/gtranslator.git] / gtranslator.spec
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
3 Name:           gtranslator
4 Version:        1.1.6
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Vendor:         GNOME Project
9 Group:          Development/Tools
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtranslator/1.1/%{name}-%{version}.tar.bz2
11 # Source0-md5:  e3aab4a220ab4a3a88e08dde9e1c461c
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)
27
28 %description
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.
32
33 %description -l pl
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.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42
43 mv -f po/{no,nb}.po
44 sed -i 's/Categories=.*/Categories=GTK;GNOME;Development;/' data/desktop/gtranslator.desktop.in
45
46 %build
47 glib-gettextize --copy --force
48 intltoolize
49 %{__aclocal}
50 %{__autoheader}
51 %{__automake}
52 %{__autoconf}
53 %configure
54 %{__make}
55 %{__make} check
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         Applicationdir=%{_desktopdir}
63
64 %find_lang %{name} --with-gnome
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /usr/bin/scrollkeeper-update
70 %postun -p /usr/bin/scrollkeeper-update
71
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/*
81 %{_pixmapsdir}/*
82 %{_desktopdir}/*.desktop
83 %{_mandir}/man1/*
84 %{_omf_dest_dir}/%{name}
This page took 0.030535 seconds and 3 git commands to generate.