115 lines
3.1 KiB
RPMSpec
115 lines
3.1 KiB
RPMSpec
|
#
|
||
|
# spec file for package gtranslator (Version 1.9.9)
|
||
|
#
|
||
|
# 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.9
|
||
|
Release: 1
|
||
|
License: GPLv2+
|
||
|
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: libdb-4_5-devel
|
||
|
BuildRequires: libneon-devel
|
||
|
BuildRequires: libsoup-devel
|
||
|
BuildRequires: libunique-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
BuildRequires: subversion-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: GPLv2+
|
||
|
|
||
|
%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 TODO
|
||
|
%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
|