Dominique Leuenberger 2019-06-20 16:55:32 +00:00 committed by Git OBS Bridge
commit c60736ded0
4 changed files with 86 additions and 86 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b25b45b33e4aa856953b4a5da1d98bd51a343ddb479aeae3934bfe0c3651f9d
size 2835836

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1b37b0436684eb3079916eff7b6eeac2cd51ebbf8d2d6f35b5480ca0391b4da
size 2771008

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Tue Jun 18 20:28:40 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Run spec-cleaner, modernize spec.
- Drop obsolete glib2_gsettings_schema_requires,
glib2_gsettings_schema_post(un), desktop_database_post(un) and
icon_theme_cache_post(un) macros, no longer needed as
file-triggers takes care of this now.
- Drop ldconfig call.
- Obsolete no longer present devel sub-package.
-------------------------------------------------------------------
Sat May 25 15:47:25 UTC 2019 - Dingzhong Chen <wsxy162@gmail.com>
- Update to version 3.32.0:
+ Updated translations.
- Changes from version 3.31.90:
+ XML language syntax for the source view
+ Fix msg status management
+ Use theme_fg_color for translated texts
+ Better prj id version default header
+ Header with default values when doesn't exists
+ codeview: Recover codeview plugin
+ Show context in the original message bar
+ List of languages in a config file instead iso-codes
+ Find & replace and copy text to shortcuts window
+ Ctrl+space to copy original text into translated
+ Native File Chooser for the translation memory
- Changes from version 3.30.1:
+ Fix locale lookup dir
+ Added itstool dependency to Meson
+ Fix loading help
+ New interface image in help
+ Updated translations.
- Changes from version 3.30.0:
+ Full interface redesign to acomplish gnome 3 HIG
+ Fix bug in find & replace that marks all fuzzy as translated
+ Autofill profile based on language
+ A lot of bug fixes
+ Remove plugin system
- Clean up spec file
+ Update Summary & Url
+ Switch to Meson build system
-------------------------------------------------------------------
Thu Sep 14 12:11:48 UTC 2017 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gtranslator
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,122 +12,78 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gtranslator
Version: 2.91.7
Version: 3.32.1
Release: 0
Summary: A GNOME po file editor with many bells and whistles
License: GPL-3.0+
Summary: An enhanced gettext po file editor for the GNOME desktop
License: GPL-3.0-or-later
Group: Development/Tools/Other
Url: http://gtranslator.sourceforge.net
Source: http://download.gnome.org/sources/gtranslator/2.91/%{name}-%{version}.tar.xz
URL: https://wiki.gnome.org/Apps/Gtranslator
Source: https://download.gnome.org/sources/gtranslator/3.32/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: gettext-tools
BuildRequires: intltool
BuildRequires: yelp-tools
# Not using a pkgconfig() BuildRequires, to allow building against libgda 4.0 and 5.0
BuildRequires: libgda-devel
BuildRequires: translation-update-upstream
BuildRequires: itstool
BuildRequires: meson >= 0.46.0
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
%if 0%{?suse_version} <= 1320
BuildRequires: pkgconfig(gdict-1.0)
%endif
BuildRequires: pkgconfig(gdl-3.0) >= 3.6.0
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.2
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.0.0
BuildRequires: pkgconfig(gtkspell3-3.0) >= 3.0.0
BuildRequires: pkgconfig(gspell-1) >= 1.2.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.20
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.2
BuildRequires: pkgconfig(iso-codes)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libpeas-1.0) >= 1.2.0
BuildRequires: pkgconfig(libpeas-gtk-1.0)
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.0
BuildRequires: pkgconfig(libgda-5.0)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
Requires: gsettings-desktop-schemas
Requires: iso-codes
Requires: libgda-5_0-sqlite
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
Obsoletes: gtranslator-devel <= 2.91.7
%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
%description devel
gtranslator is a comfortable po file editor with many bells and whistles.
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
translation-update-upstream
%build
export CFLAGS="%{optflags} -Wno-error=format-nonliteral"
%configure \
--disable-static \
--disable-scrollkeeper \
--with-gtkspell3 \
--with-dictionary \
--with-gda=$(rpm -q --provides $(rpm -q --whatprovides libgda-devel) | grep "pkgconfig(libgda-[45].0)" | cut -b 18-20)
%{__make} %{?_smp_mflags}
%meson \
-D gtk_doc=true
%meson_build
%install
%makeinstall
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%clean
%{__rm} -rf %{buildroot}
%post
/sbin/ldconfig
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
/sbin/ldconfig
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%meson_install
find %{buildroot} -type f -name "gtr-marshal.h" -delete -print
%suse_update_desktop_file -r org.gnome.Gtranslator GNOME GTK Development Translation
%find_lang %{name}
%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
%doc %{_datadir}/help/C/%{name}/
%doc %{_mandir}/man?/*
%license COPYING
%doc AUTHORS MAINTAINERS NEWS README.md THANKS
%doc %{_datadir}/gtk-doc/html/%{name}/
%{_mandir}/man?/*
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_datadir}/%{name}/
# own dir on older version of openSUSE
%if 0%{?suse_version} < 1320
%dir %{_datadir}/appdata/
%endif
%{_datadir}/appdata/gtranslator.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/hicolor/*/apps/gtranslator.*
# .gir file goes to -devel package
%exclude %{_datadir}/%{name}/gir-1.0/
%files devel
%defattr(-, root, root)
%{_includedir}/gtranslator-3.0/
%{_libdir}/pkgconfig/gtranslator.pc
%doc %{_datadir}/gtk-doc/html/%{name}/
%{_datadir}/%{name}/gir-1.0/
%{_datadir}/icons/hicolor/*/apps/org.gnome.Gtranslator*.svg
%{_datadir}/metainfo/org.gnome.Gtranslator.appdata.xml
%{_datadir}/pixmaps/gtranslator-*.png
%files lang -f %{name}.lang