diff --git a/gedit-plugins-3.22.0.tar.xz b/gedit-plugins-3.22.0.tar.xz deleted file mode 100644 index 381cc13..0000000 --- a/gedit-plugins-3.22.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83a73088de73478841b9a216bd89c2e478aa302b3579a2a8685893d7a6a48fdc -size 1314512 diff --git a/gedit-plugins-3.27.92.tar.xz b/gedit-plugins-3.27.92.tar.xz new file mode 100644 index 0000000..ce8aa67 --- /dev/null +++ b/gedit-plugins-3.27.92.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad961391afed0946cd34ce17294966d934e9048f4323d4e7ada08b1cde1e6548 +size 1359360 diff --git a/gedit-plugins.changes b/gedit-plugins.changes index 8a2c50c..8e27ccf 100644 --- a/gedit-plugins.changes +++ b/gedit-plugins.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Wed Mar 7 16:50:36 UTC 2018 - dimstar@opensuse.org + +- Update to version 3.27.92: + + Fix the new Translate plugin. + + Updated translations. + +------------------------------------------------------------------- +Sun Mar 4 23:16:57 UTC 2018 - luc14n0@linuxmail.org + +- Update to version 3.27.1: + + Introduce new Translate plugin. + + Updated translations. +- Update URL tag to https://wiki.gnome.org/Apps/Gedit/PluginsLists, + the current Gedit's plugins web subpage. +- Drop glib2_gsettings_schema_{post,postun,requires} macros: their + functionality has been moved to RPM file triggers + (RPM 4.13, suse_version >= 1330). +- Add: + + gedit-plugins-translate subpackage. + + gio-2.0, glib-2.0 and libpeas-1.0 pkgconfig and python3-base + BuildRequires to avoid implicit dependencies. +- Simplify multiple fdupes calls to one against the prefix + directory. + +------------------------------------------------------------------- +Wed Feb 28 16:26:16 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Fri Sep 8 22:50:09 UTC 2017 - jengelh@inai.de diff --git a/gedit-plugins.spec b/gedit-plugins.spec index 83e68f4..1fc2fa9 100644 --- a/gedit-plugins.spec +++ b/gedit-plugins.spec @@ -1,7 +1,7 @@ # # spec file for package gedit-plugins # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -18,28 +18,32 @@ Name: gedit-plugins -Version: 3.22.0 +Version: 3.27.92 Release: 0 Summary: A collection of plugins for gedit -License: GPL-2.0+ -Group: Productivity/Editors/Other -Url: http://live.gnome.org/GeditPlugins -Source: http://download.gnome.org/sources/gedit-plugins/3.22/%{name}-%{version}.tar.xz +License: GPL-2.0-or-later +Group: Productivity/Text/Editors +URL: https://wiki.gnome.org/Apps/Gedit/PluginsLists +Source: http://download.gnome.org/sources/gedit-plugins/3.27/%{name}-%{version}.tar.xz Source1: gedit-plugins.SUSE # PATCH-FIX-UPSTREAM bracketcompletion-use-key-release-event-to-work-wi.patch boo#1027448 bgo#778737 hillwood@opensuse.org -- Switch to use key release event for ibus pinyin input method Patch0: bracketcompletion-use-key-release-event-to-work-wi.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkgconfig +BuildRequires: python3-base # configure tests for python gi-bindings of gucharmap BuildRequires: typelib-1_0-Gucharmap-2_90 -BuildRequires: vala +BuildRequires: vala >= 0.28.0 BuildRequires: yelp-tools -BuildRequires: pkgconfig(dbus-python) -BuildRequires: pkgconfig(gedit) >= 3.22.0 +BuildRequires: pkgconfig(dbus-python) >= 0.82 +BuildRequires: pkgconfig(gedit) >= 3.16.0 +BuildRequires: pkgconfig(gio-2.0) >= 2.32.0 +BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.0 -BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.17.3 +BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.21.3 BuildRequires: pkgconfig(libgit2-glib-1.0) >= 0.0.6 +BuildRequires: pkgconfig(libpeas-1.0) >= 1.7.0 BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 1.7.0 BuildRequires: pkgconfig(vte-2.91) BuildRequires: pkgconfig(zeitgeist-2.0) >= 0.9.12 @@ -65,7 +69,6 @@ Suggests: gedit-plugin-terminal Suggests: gedit-plugin-textsize Suggests: gedit-plugin-wordcompletion Enhances: gedit -%glib2_gsettings_schema_requires %if !0%{?is_opensuse} BuildRequires: translation-update-upstream %endif @@ -90,15 +93,15 @@ This package contains a number of plugins for gedit, such as: %package -n %{name}-data Summary: Common data required by gedit plugins -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: gedit %description -n %{name}-data -Common files required by gedit plugins +Common files required by all gedit plugins %package -n gedit-plugin-bookmarks Summary: Gedit bookmarks plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/bookmarks.plugin @@ -107,7 +110,7 @@ The gedit bookmarks plugin. %package -n gedit-plugin-bracketcompletion Summary: Gedit bracketcompletion plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/bracketcompletion.plugin @@ -116,7 +119,7 @@ The gedit bracketcompletion plugin. %package -n gedit-plugin-charmap Summary: Gedit charmap plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/charmap.plugin @@ -125,7 +128,7 @@ The gedit charmap plugin. %package -n gedit-plugin-codecomment Summary: Gedit codecomment plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/codecomment.plugin @@ -134,7 +137,7 @@ The gedit codecomment plugin. %package -n gedit-plugin-colorpicker Summary: Gedit colorpicker plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/colorpicker.plugin @@ -143,7 +146,7 @@ The gedit colorpicker plugin. %package -n gedit-plugin-colorschemer Summary: Gedit colorschemer plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/colorschemer.plugin @@ -152,7 +155,7 @@ The gedit colorschemer plugin. %package -n gedit-plugin-commander Summary: Gedit commander plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/commander.plugin @@ -161,7 +164,7 @@ The gedit commander plugin. %package -n gedit-plugin-dashboard Summary: Gedit dashboard plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/dashboard.plugin @@ -170,7 +173,7 @@ The gedit dashboard plugin. %package -n gedit-plugin-drawspaces Summary: Gedit drawspaces plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/drawspaces.plugin @@ -179,7 +182,7 @@ The gedit drawspaces plugin. %package -n gedit-plugin-findinfiles Summary: Gedit Find In Files plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} %description -n gedit-plugin-findinfiles @@ -187,7 +190,7 @@ The gedit Find In Files plugin. %package -n gedit-plugin-git Summary: Gedit git plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/git.plugin @@ -196,7 +199,7 @@ The gedit git plugin. %package -n gedit-plugin-joinlines Summary: Gedit joinlines plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/joinlines.plugin @@ -205,7 +208,7 @@ The gedit joinlines plugin %package -n gedit-plugin-multiedit Summary: Gedit multiedit plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/multiedit.plugin @@ -214,7 +217,7 @@ The gedit multiedit plugin %package -n gedit-plugin-smartspaces Summary: Gedit smartspaces plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/smartspaces.plugin @@ -223,7 +226,7 @@ The gedit smartspaces plugin %package -n gedit-plugin-synctex Summary: Gedit synctex plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/synctex.plugin @@ -232,7 +235,7 @@ The gedit synctex plugin %package -n gedit-plugin-terminal Summary: Gedit terminal plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/terminal.plugin @@ -241,7 +244,7 @@ The gedit terminal plugin %package -n gedit-plugin-textsize Summary: Gedit textsize plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/textsize.plugin @@ -250,17 +253,25 @@ The gedit textsize plugin %package -n gedit-plugin-wordcompletion Summary: Gedit wordcompletion plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data = %{version} Provides: gedit-plugins:%{_libdir}/gedit/plugins/wordcompletion.plugin +%package -n gedit-plugin-translate +Summary: Gedit translate plugin +Group: Productivity/Text/Editors +Requires: %{name}-data = %{version} +Provides: gedit-plugins:%{_libdir}/gedit/plugins/translate.plugin + +%description -n gedit-plugin-translate +The gedit translate plugin + %description -n gedit-plugin-wordcompletion The gedit wordcompletion plugin %package -n gedit-plugin-zeitgeist Summary: Zeitgeist dataprovider for gedit -# For dashboard plugin -Group: Productivity/Editors/Other +Group: Productivity/Text/Editors Requires: %{name}-data Requires: gedit Requires: zeitgeist @@ -275,7 +286,7 @@ logs access and leave event for documents used with gedit. %prep %setup -q %patch0 -p1 -install %{SOURCE1} . +install -m644 %{SOURCE1} . %if !0%{?is_opensuse} translation-update-upstream %endif @@ -286,37 +297,16 @@ make %{?_smp_mflags} %install %make_install -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print -%find_lang %{name} -%find_lang gedit %{name}.lang -%fdupes %{buildroot}/%{_datadir}/gedit/plugins -%fdupes %{buildroot}/%{_libdir}/gedit/plugins -%fdupes %{buildroot}/%{_datadir}/help - -%post -n gedit-plugin-drawspaces -%glib2_gsettings_schema_post - -%post -n gedit-plugin-terminal -%glib2_gsettings_schema_post - -%post -n gedit-plugin-wordcompletion -%glib2_gsettings_schema_post - -%postun -n gedit-plugin-drawspaces -%glib2_gsettings_schema_postun - -%postun -n gedit-plugin-terminal -%glib2_gsettings_schema_postun - -%postun -n gedit-plugin-wordcompletion -%glib2_gsettings_schema_postun +find %{buildroot} -type f -name "*.la" -delete -print +%find_lang %{name} %{?no_lang_C} +%find_lang gedit %{name}.lang %{?no_lang_C} +%fdupes %{buildroot}%{_prefix} %files -%defattr(-,root,root) %doc gedit-plugins.SUSE +%doc %{_datadir}/help/C/gedit %files -n %{name}-data -%defattr(-,root,root) # Common files %{_libdir}/gedit/plugins/gpdefs.py* %dir %{_libdir}/gedit/plugins/__pycache__ @@ -325,14 +315,12 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-bookmarks ## Explicitly list all plugins so we know when we miss one # bookmarks -%defattr(-,root,root) %{_datadir}/appdata/gedit-bookmarks.metainfo.xml %{_libdir}/gedit/plugins/bookmarks.plugin %{_libdir}/gedit/plugins/libbookmarks.so %files -n gedit-plugin-bracketcompletion # bracketcompletion -%defattr(-,root,root) %{_datadir}/appdata/gedit-bracketcompletion.metainfo.xml %{_libdir}/gedit/plugins/bracketcompletion.plugin %{_libdir}/gedit/plugins/bracketcompletion.py* @@ -340,14 +328,12 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-charmap # charmap -%defattr(-,root,root) %{_datadir}/appdata/gedit-charmap.metainfo.xml %{_libdir}/gedit/plugins/charmap.plugin %{_libdir}/gedit/plugins/charmap/ %files -n gedit-plugin-codecomment # codecomment -%defattr(-,root,root) %{_datadir}/appdata/gedit-codecomment.metainfo.xml %{_libdir}/gedit/plugins/codecomment.plugin %{_libdir}/gedit/plugins/codecomment.py* @@ -355,7 +341,6 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-colorpicker # colorpicker -%defattr(-,root,root) %{_datadir}/appdata/gedit-colorpicker.metainfo.xml %{_libdir}/gedit/plugins/colorpicker.plugin %{_libdir}/gedit/plugins/colorpicker.py* @@ -363,7 +348,6 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-colorschemer # colorschemer -%defattr(-,root,root) %{_datadir}/appdata/gedit-colorschemer.metainfo.xml %{_libdir}/gedit/plugins/colorschemer.plugin %{_datadir}/gedit/plugins/colorschemer/ @@ -371,7 +355,6 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-commander # commander -%defattr(-,root,root) %{_datadir}/appdata/gedit-commander.metainfo.xml %{_libdir}/gedit/plugins/commander.plugin %{_libdir}/gedit/plugins/commander/ @@ -379,14 +362,12 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-dashboard # dashboard -%defattr(-,root,root) %{_datadir}/appdata/gedit-dashboard.metainfo.xml %{_libdir}/gedit/plugins/dashboard.plugin %{_libdir}/gedit/plugins/dashboard/ %files -n gedit-plugin-drawspaces # drawspaces -%defattr(-,root,root) %{_datadir}/appdata/gedit-drawspaces.metainfo.xml %{_libdir}/gedit/plugins/drawspaces.plugin %{_libdir}/gedit/plugins/libdrawspaces.so @@ -394,21 +375,18 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-findinfiles # Find in Files -%defattr(-,root,root) %{_datadir}/appdata/gedit-findinfiles.metainfo.xml %{_libdir}/gedit/plugins/findinfiles.plugin %{_libdir}/gedit/plugins/libfindinfiles.so %files -n gedit-plugin-git # git -%defattr(-,root,root) %{_datadir}/appdata/gedit-git.metainfo.xml %{_libdir}/gedit/plugins/git.plugin %{_libdir}/gedit/plugins/git/ %files -n gedit-plugin-joinlines # joinlines -%defattr(-,root,root) %{_datadir}/appdata/gedit-joinlines.metainfo.xml %{_libdir}/gedit/plugins/joinlines.plugin %{_libdir}/gedit/plugins/joinlines.py* @@ -416,14 +394,12 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-multiedit # multiedit -%defattr(-,root,root) %{_datadir}/appdata/gedit-multiedit.metainfo.xml %{_libdir}/gedit/plugins/multiedit.plugin %{_libdir}/gedit/plugins/multiedit/ %files -n gedit-plugin-smartspaces # smartspaces -%defattr(-,root,root) %{_datadir}/appdata/gedit-smartspaces.metainfo.xml %{_libdir}/gedit/plugins/smartspaces.plugin %{_libdir}/gedit/plugins/smartspaces.py* @@ -431,14 +407,12 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-synctex # synctex -%defattr(-,root,root) %{_datadir}/appdata/gedit-synctex.metainfo.xml %{_libdir}/gedit/plugins/synctex.plugin %{_libdir}/gedit/plugins/synctex/ %files -n gedit-plugin-terminal # terminal -%defattr(-,root,root) %{_datadir}/appdata/gedit-terminal.metainfo.xml %{_libdir}/gedit/plugins/terminal.plugin %{_libdir}/gedit/plugins/terminal.py* @@ -447,25 +421,30 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %files -n gedit-plugin-textsize # textsize -%defattr(-,root,root) %{_datadir}/appdata/gedit-textsize.metainfo.xml %{_libdir}/gedit/plugins/textsize.plugin %{_libdir}/gedit/plugins/textsize/ +%files -n gedit-plugin-translate +# translate +%{_datadir}/appdata/gedit-translate.metainfo.xml +%{_libdir}/gedit/plugins/translate.plugin +%{_libdir}/gedit/plugins/translate/ +%{_datadir}/gedit/plugins/translate/ +%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.translate.gschema.xml + %files -n gedit-plugin-wordcompletion # wordcompletion -%defattr(-,root,root) %{_datadir}/appdata/gedit-wordcompletion.metainfo.xml %{_libdir}/gedit/plugins/wordcompletion.plugin %{_libdir}/gedit/plugins/libwordcompletion.so %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.wordcompletion.gschema.xml -%files lang -f %{name}.lang - %files -n gedit-plugin-zeitgeist -%defattr(-, root, root) %{_datadir}/appdata/gedit-zeitgeist.metainfo.xml %{_libdir}/gedit/plugins/zeitgeist.plugin %{_libdir}/gedit/plugins/libzeitgeist.so +%files lang -f %{name}.lang + %changelog