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