Dominique Leuenberger
c6b15ee995
- Clean up spec file + Update Summary & Url + Switch to Meson build system - Update to version 3.32.0: + Stable release, updated translations - Update to 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 - Update to version 3.30.1: + Fix locale lookup dir + Added itstool dependency to Meson + Fix loading help + New interface image in help + Update Brazilian Portuguese translation + Update Polish translation - Update to 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 - Conditionalize pkgconfig(gdict-1.0) BuildRequires, only available on older versions of openSUSE, gnome-dictionary 3.26.0 made this symbol private. - Inject -Wno-error=format-nonliteral into CFLAGS: fix build with GCC 7 (boo#1041213). - Own appdata dir on older versions of openSUSE. - Update to version 2.91.7: + Misc bugfixes. + Updated translations. - Drop gtranslator-gtkspell3.patch: fixed upstream. - Drop gnome-common BuildRequires and call to autoreconf, as we no longer carry any patches. - Add missing libgda-5_0-sqlite runtime dependency. Fix bnc#780249. - Port to gtkspell3: + Add gtranslator-gtkspell3.patch + Replace pkgconfig(gtkspell-3.0) BuildRequires with pkgconfig(gtkspell3-3.0). + Add gnome-common BuildRequires and call to autoreconf, as above patch touches the build system. - Update to version 2.91.6: + Misc bugfixes. + Updated translations. - Drop gtranslator-gdl362.patch: fixed upstream. - Replace gnome-doc-utils-devel BuildRequires with yelp-tools, following upstreams port to the new documentation infrastructure. - Add gtranslator-gdl362.patch: Fix build with gdl 3.6.2. - Update to version 2.91.5: + Add/update X-Generator header in PO file + Misc bug fixes + Updated translations - No longer install anything in %{_datadir}/pixmaps/%{name}/. - Update to version 2.91.4: + Add app menu + Move libgtranslator-private library to pkglibdir + Better handling of the table message + Update TM when a new po file is loaded + Try using Content-Type charset if the file is not UTF-8 + Remove ok/cancel buttons to add new comments + Fix a crash when dropping an item to the toolbar + Misc bugfixes + Updated translations. - Update to version 2.91.3: + Port to GResource + Misc bugfixes + Updated translations. - Update to version 2.91.2: + Use new libpeas API + Complete list of plural forms + Misc bugfixes + Updated translations. - Update to version 2.91.1: + Make translation memory a standalone plugin + Misc bugfixes + Updated translations. - Update to version 2.90.8: + Make it build with latest GTK+. + Add support for gda 5. + Misc bugfixes. + Updated translations. - Drop patches fixed upstream: + gtranslator-libgda-5.0.patch + gtranslator-gtkspell3.patch - Remove gnome-common BuildRequires and gnome-autogen.sh call: we don't carry any patches touching the build system anymore. - Update to version 2.90.7: + Relicense some files as GPLv3+. + Don't normalize translations stored in the translation memory. + Update translation. - Update to version 2.90.6: + Misc bugfixes. + Updated translations. - Rebase gtranslator-libgda-5.0.patch and gtranslator-gtkspell3.patch. - Change --with-gtkspell configure option to --with-gtkspell3, following upstream change. - Add iso-codes Requires since the iso-codes data is used at runtime. - Add support spell check with gtkspell3. + Add gtranslator-gtkspell3.patch: add support for gtkspell3. + Change pkgconfig(gtkspell-2.0) BuildRequires to pkgconfig(gtkspell-3.0) so we can build with the new gtkspell. - Add optional port to libgda 5.0: + Add gtranslator-libgda-5.0.patch: add support for libgda-5.0 with a new --with-gda parameter. + Add gnome-common BuildRequires and call to gnome-autogen.sh, needed for the patch to be taken into account. + Replace pkgconfig(libgda-4.0) BuildRequires with libgda-devel: this allows us to use libgda-4.0 and libgda-5.0 without knowledge of what version is in the repository. + Pass --with-gda=4.0|5.0 to configure: the version (4.0 or 5.0) is extracted from the rpm database, based on the libgda-devel package that has been installed. - Update to version 2.90.5: + Misc bugfixes + Updated translations. - Update to version 2.90.4: + Misc bugfixes - Changes from version 2.90.3: + Put the gdl container inside the tab + Add a tab activatable extension point - Changes from version 2.90.2: + UI cleanup - Changes from version 2.90.1: + Automatize profile generation + Fix preferences dialog space + Remove interface tab from preferences dialog + Fix remaining issues in the gtk+ 3 port. - Changes from version 2.90.0: + Port to gtk+ 3 + Port to libpeas + Added support for python plugins + Ported charmap to python + Remove --window-new command line option + Port to gsettings + Merge insert-tags plugin into insert-params plugin + Port to GtkApplication + Misc Bugfixes + Updated translations. - Note that gtkspell support is disabled for now because there's no gtk3-powered gtkspell. - Change BuildRequires to pkgconfig()-style and move to GNOME 3: + Old ones: gdl-devel, glib2-devel, gnome-utils-devel, gtk2-devel, gtksourceview-devel, gtkspell-devel, libgda-devel, libxml2-devel. + New ones: gdict-1.0, gdl-3.0, glib-2.0, gtk+-3.0, gtksourceview-3.0, gtkspell-2.0, libgda-4.0, libxml-2.0. - Drop no longer needed BuildRequires: gucharmap-devel, libsoup-devel, libunique-devel. - Add new BuildRequires: pkgconfig(iso-codes), pkgconfig(json-glib-1.0, pkgconfig(libpeas-1.0), pkgconfig(libpeas-gtk-1.0). - Drop gtranslator-disable-update-db.patch: no longer required. - Drop gnome-common BuildRequires, gnome-autogen.sh call during build and --disable-update-mimedb configure flag: obsoleted. - Move .gir file to devel subpackage. - Add call to ldconfig in %post/%postun scriptlet because of the new library in the package. - Added support for translation-update-upstream. - Call relevant macros in %post/%postun: + %desktop_database_post/postun because the package ships at least one desktop file. + %icon_theme_cache_post/postun because the package ships themed icons. - Pass %{?no_lang_C} to %find_lang so that english documentation can be packaged with the program, and not in the lang subpackage. - Add Recommends for lang subpackage. - Update to version 1.9.13: + Enable use of local mirrors of open-tran.eu + Adapt the OpenTran plugin to the new open-tran.eu API + Misc Bugfixes + Updated translations. - Add gtranslator-disable-update-db.patch: add a --disable-update-mimedb configure option to not run update-desktop-database on install. - Pass --disable-update-mimedb to configure. - Update to version 1.9.12: + Port to GSettings + Make it work with GSEAL enabled + Misc Bugfixes + Updated translations. - Remove gconf schemas handling: + remove gconf2-devel BuildRequires. + remove %gconf_schemas_prereq, %find_gconf_schemas and schemas-related scriptlets. - Use %glib2_gsettings_schema_* macros for GSettings schemas. - Add pkgconfig(gsettings-desktop-schemas) BuildRequires and gsettings-desktop-schemas Requires, since the schemas are needed at runtime too. - Fix license: gtranslator is GPLv3+, not GPLv2+. Fix bnc#595680. - Remove unneeded libdb-4_5-devel BuildRequires: it was needed for the old memory backend. - Remove unneeded libneon-devel BuildRequires: this is replaced by libsoup now. - Remove subversion-devel BuildRequires: the subversion plugin is gone. - Update to version 1.9.11: + Add the option to remove entries from the memory translation + New memory translation backend using libgda - Changes from version 1.9.10: + Factored out the tab label + Make the translation memory always visible + Updated translations. - Add libgda-devel BuildRequires. - Update to version 1.9.9: + Add Profile quick selector + Rewriting profile manager to use GtrProfileManager + Converted GtrApplication into an UniqueAPP using libunique + Misc bugfixes + Updated translations. - Add libunique-devel BuildRequires. - Update to version 1.9.8: + Refactor methods and file names from gtranslator to gtr + Modernize autotools configuration + Added new tango icons and logo + Removed Subversion plugin + Misc Bugfixes + Updated translations. - Change group from Development/Tools to Development/Tools/Other to fix rpmlint warning. - Update to version 1.9.7: + Show percentage of translated messages + Fixed several compiler warnings + Update toolbar editor + Make header inherit from GtranslatorMsg + Ported gtranslator from MessageArea to GtkInfoBar + Misc Bugfixes + Updated translations. - Remove renaming of sr@Latn locale to sr@latin. - Update to version 1.9.6: + Adapted gtranslator in order to work on Windows + bgo#579775 - Fixed format string attack + bgo#582430 - Added some header files + bgo#555672 - Fixed CRITICAL: editor_create_item_from_name + bgo#557096 - Fixed GtkSpinButton problem changing to GtkBuilder + bgo#569061 - Displaying an error message before saving a read only file + bgo#569062 - Use a "standard" tabs menu instead of Go->Next/Prev File + bgo#569068 - Made more clear the message in the status bar + bgo#571497 - Fixed crash on first-time startup with po-file as argument + bgo#575128 - Removed deprecated GTK+ symbols + bgo#579775 - Fixed Format string attack danger + bgo#582430 - Some of the header files weren't included in the source code + bgo#583961 - Fixed to build with gdl 2.27.2 + bgo#584692 - Show the next message of the one you are editing + bgo#591594 - Fixed problem that made Edit header only made effect when you close gtranslator + bgo#592210 - Removed duplicated define in configure.ac + bgo#592214 - Fixed some gcc warnings + bgo#592215 - Wrong arguments to gtranslator_statusbar_flash_message() + bgo#592226 - Fixed Error widget built wrongly + bgo#592227 - Source code did not working due to a wrong widget name + bgo#569054 - Fixed empty line insertion before translator email in header + Updated translations. - Drop gtranslator-gdl-2.27.patch and gtranslator-profile.patch: fixed upstream. - Add gtranslator-gdl-2.27.patch to fix build with latest gdl. - Update gtranslator-profile.patch to fix more build issues. - Add BuildRequires for features: gnome-utils-devel, gtkspell-devel, gucharmap-devel, libneon-devel, libsoup-devel, subversion-devel - Pass --disable-static, --with-gtkspell and --with-dictionary to configure, and remove --enable-mime-bind and --with-gconf that don't exist. - Clean up file list a bit; do not ship help files twice. - Initial package. OBS-URL: https://build.opensuse.org/request/show/705505 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=64
103 lines
3.1 KiB
RPMSpec
103 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package gtranslator
|
|
#
|
|
# 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
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: gtranslator
|
|
Version: 3.32.1
|
|
Release: 0
|
|
Summary: An enhanced gettext po file editor for the GNOME desktop
|
|
License: GPL-3.0+
|
|
Group: Development/Tools/Other
|
|
Url: https://wiki.gnome.org/Apps/Gtranslator
|
|
Source: https://download.gnome.org/sources/gtranslator/3.32/%{name}-%{version}.tar.xz
|
|
BuildRequires: fdupes
|
|
BuildRequires: intltool
|
|
BuildRequires: itstool
|
|
BuildRequires: meson >= 0.46.0
|
|
BuildRequires: gettext-tools
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(libgda-5.0)
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.20
|
|
BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.2
|
|
BuildRequires: pkgconfig(iso-codes)
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.0
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
|
|
BuildRequires: pkgconfig(gspell-1) >= 1.2.0
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
BuildRequires: pkgconfig(gtk-doc)
|
|
Requires: gsettings-desktop-schemas
|
|
Requires: iso-codes
|
|
Requires: libgda-5_0-sqlite
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%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.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson \
|
|
-D gtk_doc=true
|
|
%meson_build
|
|
|
|
%install
|
|
%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}
|
|
|
|
%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
|
|
%defattr(-,root,root,0755)
|
|
%license COPYING
|
|
%doc AUTHORS MAINTAINERS NEWS README.md THANKS
|
|
%doc %{_datadir}/gtk-doc/html/%{name}/
|
|
%doc %{_mandir}/man?/*
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}/
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Gtranslator*.svg
|
|
%{_datadir}/metainfo/org.gnome.Gtranslator.appdata.xml
|
|
%{_datadir}/pixmaps/gtranslator-*.png
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|