]> git.pld-linux.org Git - packages/gtranslator.git/blob - gtranslator.spec
- massive attack: add missing gtk+2-devel epoch in BR
[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.5
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Vendor:         GNOME Project
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)
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.585572 seconds and 4 git commands to generate.