gtranslator/gtranslator.spec

113 lines
3.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gtranslator (Version 1.9.11)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gtranslator
Version: 1.9.11
Release: 2
License: GPLv3+
Summary: A GNOME po file editor with many bells and whistles
Group: Development/Tools/Other
Url: http://gtranslator.sourceforge.net
Source: http://www.kabalak.net/gtranslator/download/releases/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: gconf2-devel
BuildRequires: gdl-devel
BuildRequires: glib2-devel
BuildRequires: gnome-utils-devel
BuildRequires: gtk2-devel >= 2.16
BuildRequires: gtksourceview-devel
BuildRequires: gtkspell-devel
BuildRequires: gucharmap-devel
BuildRequires: intltool
BuildRequires: libgda-devel
BuildRequires: libsoup-devel
BuildRequires: libunique-devel
BuildRequires: libxml2-devel
BuildRequires: update-desktop-files
%gconf_schemas_prereq
%description
gtranslator is a comfortable po file editor with many bells and whistles.
It features many useful function which ease the work of translators of po
files imminently.
%package devel
Summary: A GNOME po file editor with many bells and whistles
Group: Development/Tools/Other
License: GPLv3+
%description devel
gtranslator is a comfortable po file editor with many bells and whistles.
It features many useful function which ease the work of translators of po
files imminently.
%lang_package
%prep
%setup -q
%build
%configure \
--disable-static \
--disable-scrollkeeper \
--with-gtkspell \
--with-dictionary
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file %{name}
%find_gconf_schemas
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.schemas_list
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
%doc %{_mandir}/man?/*
%{_bindir}/*
%{_libdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/gtranslator.*
%{_datadir}/pixmaps/%{name}/
%files devel
%defattr(-, root, root)
%{_includedir}/gtranslator-2.0
%{_libdir}/pkgconfig/gtranslator.pc
%{_datadir}/gtk-doc/html/%{name}
%files lang -f %{name}.lang
%changelog