Accepting request 710944 from GNOME:Apps
OBS-URL: https://build.opensuse.org/request/show/710944 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtranslator?expand=0&rev=37
This commit is contained in:
commit
c60736ded0
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2b25b45b33e4aa856953b4a5da1d98bd51a343ddb479aeae3934bfe0c3651f9d
|
|
||||||
size 2835836
|
|
3
gtranslator-3.32.1.tar.xz
Normal file
3
gtranslator-3.32.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e1b37b0436684eb3079916eff7b6eeac2cd51ebbf8d2d6f35b5480ca0391b4da
|
||||||
|
size 2771008
|
@ -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
|
Thu Sep 14 12:11:48 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
122
gtranslator.spec
122
gtranslator.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gtranslator
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: gtranslator
|
||||||
Version: 2.91.7
|
Version: 3.32.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A GNOME po file editor with many bells and whistles
|
Summary: An enhanced gettext po file editor for the GNOME desktop
|
||||||
License: GPL-3.0+
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://gtranslator.sourceforge.net
|
URL: https://wiki.gnome.org/Apps/Gtranslator
|
||||||
Source: http://download.gnome.org/sources/gtranslator/2.91/%{name}-%{version}.tar.xz
|
Source: https://download.gnome.org/sources/gtranslator/3.32/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gettext-tools
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: yelp-tools
|
BuildRequires: itstool
|
||||||
# Not using a pkgconfig() BuildRequires, to allow building against libgda 4.0 and 5.0
|
BuildRequires: meson >= 0.46.0
|
||||||
BuildRequires: libgda-devel
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: translation-update-upstream
|
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
%if 0%{?suse_version} <= 1320
|
BuildRequires: yelp-tools
|
||||||
BuildRequires: pkgconfig(gdict-1.0)
|
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
|
||||||
%endif
|
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
|
||||||
BuildRequires: pkgconfig(gdl-3.0) >= 3.6.0
|
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
|
|
||||||
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.2
|
BuildRequires: pkgconfig(gspell-1) >= 1.2.0
|
||||||
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.0.0
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.20
|
||||||
BuildRequires: pkgconfig(gtkspell3-3.0) >= 3.0.0
|
BuildRequires: pkgconfig(gtk-doc)
|
||||||
|
BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.2
|
||||||
BuildRequires: pkgconfig(iso-codes)
|
BuildRequires: pkgconfig(iso-codes)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.0
|
||||||
BuildRequires: pkgconfig(libpeas-1.0) >= 1.2.0
|
BuildRequires: pkgconfig(libgda-5.0)
|
||||||
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
BuildRequires: pkgconfig(libsoup-2.4)
|
||||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
|
||||||
Requires: gsettings-desktop-schemas
|
Requires: gsettings-desktop-schemas
|
||||||
Requires: iso-codes
|
Requires: iso-codes
|
||||||
Requires: libgda-5_0-sqlite
|
Requires: libgda-5_0-sqlite
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Obsoletes: gtranslator-devel <= 2.91.7
|
||||||
%glib2_gsettings_schema_requires
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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.
|
|
||||||
|
|
||||||
%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.
|
|
||||||
It features many useful function which ease the work of translators of po
|
It features many useful function which ease the work of translators of po
|
||||||
files imminently.
|
files imminently.
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
translation-update-upstream
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -Wno-error=format-nonliteral"
|
%meson \
|
||||||
%configure \
|
-D gtk_doc=true
|
||||||
--disable-static \
|
%meson_build
|
||||||
--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}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%meson_install
|
||||||
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "gtr-marshal.h" -delete -print
|
||||||
%suse_update_desktop_file %{name}
|
%suse_update_desktop_file -r org.gnome.Gtranslator GNOME GTK Development Translation
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name}
|
||||||
%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
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, 0755)
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
|
%doc AUTHORS MAINTAINERS NEWS README.md THANKS
|
||||||
%doc %{_datadir}/help/C/%{name}/
|
%doc %{_datadir}/gtk-doc/html/%{name}/
|
||||||
%doc %{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libdir}/%{name}/
|
|
||||||
%{_datadir}/%{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}/applications/*.desktop
|
||||||
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
||||||
%{_datadir}/icons/hicolor/*/apps/gtranslator.*
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Gtranslator*.svg
|
||||||
# .gir file goes to -devel package
|
%{_datadir}/metainfo/org.gnome.Gtranslator.appdata.xml
|
||||||
%exclude %{_datadir}/%{name}/gir-1.0/
|
%{_datadir}/pixmaps/gtranslator-*.png
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_includedir}/gtranslator-3.0/
|
|
||||||
%{_libdir}/pkgconfig/gtranslator.pc
|
|
||||||
%doc %{_datadir}/gtk-doc/html/%{name}/
|
|
||||||
%{_datadir}/%{name}/gir-1.0/
|
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user