From 4a062d9d8fcf86e1aee633739ad6651f95e27c77 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 03:53:04 +0000 Subject: import gedit-plugins-3.14.1-2.el7 --- diff --git a/.gedit-plugins.metadata b/.gedit-plugins.metadata index cc595d7..fae07d5 100644 --- a/.gedit-plugins.metadata +++ b/.gedit-plugins.metadata @@ -1 +1 @@ -8330612158fc2ef22b54e6ee172d9b0a3f5b2777 SOURCES/gedit-plugins-3.8.3.tar.xz +c078f4a2b3940e3588e6ec4ab18b30ecc2d2830b SOURCES/gedit-plugins-3.14.1.tar.xz diff --git a/.gitignore b/.gitignore index c8a1efa..922877f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gedit-plugins-3.8.3.tar.xz +SOURCES/gedit-plugins-3.14.1.tar.xz diff --git a/SOURCES/gedit-plugins-disable-python3.patch b/SOURCES/gedit-plugins-disable-python3.patch index cf7e104..86f2ca2 100644 --- a/SOURCES/gedit-plugins-disable-python3.patch +++ b/SOURCES/gedit-plugins-disable-python3.patch @@ -1,5 +1,16 @@ ---- gedit-plugins-3.8.1/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in +--- a/configure.ac ++++ b/configure.ac +@@ -126,7 +126,7 @@ AM_CONDITIONAL([ENABLE_ZEITGEIST], test + # ================================================================ + if test "x$enable_python" = "xyes" + then +- AM_PATH_PYTHON(3) ++ AM_PATH_PYTHON + PLUGINS="$PLUGINS $PY_PLUGINS" + + # ================================================================ +--- a/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in ++++ b/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -7,8 +18,8 @@ Module=bracketcompletion IAge=3 _Name=Bracket Completion ---- gedit-plugins-3.8.1/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in +--- a/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in ++++ b/plugins/bracketcompletion/bracketcompletion.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -16,8 +27,8 @@ Module=bracketcompletion IAge=3 _Name=Bracket Completion ---- gedit-plugins-3.8.1/plugins/charmap/charmap.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/charmap/charmap.plugin.desktop.in +--- a/plugins/charmap/charmap.plugin.desktop.in ++++ b/plugins/charmap/charmap.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -25,8 +36,8 @@ Module=charmap IAge=3 _Name=Character Map ---- gedit-plugins-3.8.1/plugins/charmap/charmap.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/charmap/charmap.plugin.desktop.in.in +--- a/plugins/charmap/charmap.plugin.desktop.in.in ++++ b/plugins/charmap/charmap.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -34,26 +45,26 @@ Module=charmap IAge=3 _Name=Character Map ---- gedit-plugins-3.8.1/plugins/codecomment/codecomment.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/codecomment/codecomment.plugin.desktop.in +--- a/plugins/codecomment/codecomment.plugin.desktop.in ++++ b/plugins/codecomment/codecomment.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 +Loader=python Module=codecomment IAge=3 - _Name=Code comment ---- gedit-plugins-3.8.1/plugins/codecomment/codecomment.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/codecomment/codecomment.plugin.desktop.in.in + _Name=Code Comment +--- a/plugins/codecomment/codecomment.plugin.desktop.in.in ++++ b/plugins/codecomment/codecomment.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 +Loader=python Module=codecomment IAge=3 - _Name=Code comment ---- gedit-plugins-3.8.1/plugins/colorpicker/colorpicker.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/colorpicker/colorpicker.plugin.desktop.in + _Name=Code Comment +--- a/plugins/colorpicker/colorpicker.plugin.desktop.in ++++ b/plugins/colorpicker/colorpicker.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -61,8 +72,8 @@ Module=colorpicker IAge=3 _Name=Color Picker ---- gedit-plugins-3.8.1/plugins/colorpicker/colorpicker.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/colorpicker/colorpicker.plugin.desktop.in.in +--- a/plugins/colorpicker/colorpicker.plugin.desktop.in.in ++++ b/plugins/colorpicker/colorpicker.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -70,8 +81,8 @@ Module=colorpicker IAge=3 _Name=Color Picker ---- gedit-plugins-3.8.1/plugins/colorschemer/colorschemer.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/colorschemer/colorschemer.plugin.desktop.in +--- a/plugins/colorschemer/colorschemer.plugin.desktop.in ++++ b/plugins/colorschemer/colorschemer.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -79,8 +90,8 @@ Module=colorschemer IAge=3 _Name=Color Scheme Editor ---- gedit-plugins-3.8.1/plugins/colorschemer/colorschemer.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/colorschemer/colorschemer.plugin.desktop.in.in +--- a/plugins/colorschemer/colorschemer.plugin.desktop.in.in ++++ b/plugins/colorschemer/colorschemer.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -88,8 +99,8 @@ Module=colorschemer IAge=3 _Name=Color Scheme Editor ---- gedit-plugins-3.8.1/plugins/commander/commander.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/commander/commander.plugin.desktop.in +--- a/plugins/commander/commander.plugin.desktop.in ++++ b/plugins/commander/commander.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -97,8 +108,8 @@ Module=commander IAge=3 _Name=Commander ---- gedit-plugins-3.8.1/plugins/commander/commander.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/commander/commander.plugin.desktop.in.in +--- a/plugins/commander/commander.plugin.desktop.in.in ++++ b/plugins/commander/commander.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -106,8 +117,8 @@ Module=commander IAge=3 _Name=Commander ---- gedit-plugins-3.8.1/plugins/dashboard/dashboard.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/dashboard/dashboard.plugin.desktop.in +--- a/plugins/dashboard/dashboard.plugin.desktop.in ++++ b/plugins/dashboard/dashboard.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -115,8 +126,8 @@ Module=dashboard IAge=3 _Name=Dashboard ---- gedit-plugins-3.8.1/plugins/dashboard/dashboard.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/dashboard/dashboard.plugin.desktop.in.in +--- a/plugins/dashboard/dashboard.plugin.desktop.in.in ++++ b/plugins/dashboard/dashboard.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -124,8 +135,8 @@ Module=dashboard IAge=3 _Name=Dashboard ---- gedit-plugins-3.8.1/plugins/joinlines/joinlines.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/joinlines/joinlines.plugin.desktop.in +--- a/plugins/joinlines/joinlines.plugin.desktop.in ++++ b/plugins/joinlines/joinlines.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -133,8 +144,8 @@ Module=joinlines IAge=3 _Name=Join/Split Lines ---- gedit-plugins-3.8.1/plugins/joinlines/joinlines.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/joinlines/joinlines.plugin.desktop.in.in +--- a/plugins/joinlines/joinlines.plugin.desktop.in.in ++++ b/plugins/joinlines/joinlines.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -142,8 +153,8 @@ Module=joinlines IAge=3 _Name=Join/Split Lines ---- gedit-plugins-3.8.1/plugins/multiedit/multiedit.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/multiedit/multiedit.plugin.desktop.in +--- a/plugins/multiedit/multiedit.plugin.desktop.in ++++ b/plugins/multiedit/multiedit.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -151,8 +162,8 @@ Module=multiedit IAge=3 _Name=Multi Edit ---- gedit-plugins-3.8.1/plugins/multiedit/multiedit.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/multiedit/multiedit.plugin.desktop.in.in +--- a/plugins/multiedit/multiedit.plugin.desktop.in.in ++++ b/plugins/multiedit/multiedit.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -160,8 +171,8 @@ Module=multiedit IAge=3 _Name=Multi Edit ---- gedit-plugins-3.8.1/plugins/smartspaces/smartspaces.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/smartspaces/smartspaces.plugin.desktop.in +--- a/plugins/smartspaces/smartspaces.plugin.desktop.in ++++ b/plugins/smartspaces/smartspaces.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -169,8 +180,8 @@ Module=smartspaces IAge=3 _Name=Smart Spaces ---- gedit-plugins-3.8.1/plugins/smartspaces/smartspaces.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/smartspaces/smartspaces.plugin.desktop.in.in +--- a/plugins/smartspaces/smartspaces.plugin.desktop.in.in ++++ b/plugins/smartspaces/smartspaces.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -178,8 +189,8 @@ Module=smartspaces IAge=3 _Name=Smart Spaces ---- gedit-plugins-3.8.1/plugins/synctex/synctex.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/synctex/synctex.plugin.desktop.in +--- a/plugins/synctex/synctex.plugin.desktop.in ++++ b/plugins/synctex/synctex.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -187,8 +198,8 @@ Module=synctex IAge=3 _Name=SyncTeX ---- gedit-plugins-3.8.1/plugins/synctex/synctex.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/synctex/synctex.plugin.desktop.in.in +--- a/plugins/synctex/synctex.plugin.desktop.in.in ++++ b/plugins/synctex/synctex.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -196,8 +207,8 @@ Module=synctex IAge=3 _Name=SyncTeX ---- gedit-plugins-3.8.1/plugins/terminal/terminal.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/terminal/terminal.plugin.desktop.in +--- a/plugins/terminal/terminal.plugin.desktop.in ++++ b/plugins/terminal/terminal.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -205,8 +216,8 @@ Module=terminal IAge=3 _Name=Embedded Terminal ---- gedit-plugins-3.8.1/plugins/terminal/terminal.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/terminal/terminal.plugin.desktop.in.in +--- a/plugins/terminal/terminal.plugin.desktop.in.in ++++ b/plugins/terminal/terminal.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -214,8 +225,8 @@ Module=terminal IAge=3 _Name=Embedded Terminal ---- gedit-plugins-3.8.1/plugins/textsize/textsize.plugin.desktop.in -+++ gedit-plugins-3.8.1/plugins/textsize/textsize.plugin.desktop.in +--- a/plugins/textsize/textsize.plugin.desktop.in ++++ b/plugins/textsize/textsize.plugin.desktop.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -223,8 +234,8 @@ Module=textsize IAge=3 _Name=Text Size ---- gedit-plugins-3.8.1/plugins/textsize/textsize.plugin.desktop.in.in -+++ gedit-plugins-3.8.1/plugins/textsize/textsize.plugin.desktop.in.in +--- a/plugins/textsize/textsize.plugin.desktop.in.in ++++ b/plugins/textsize/textsize.plugin.desktop.in.in @@ -1,5 +1,5 @@ [Plugin] -Loader=python3 @@ -232,3 +243,39 @@ Module=textsize IAge=3 _Name=Text Size +--- a/plugins/commander/commander/entry.py ++++ b/plugins/commander/commander/entry.py +@@ -89,7 +89,7 @@ class Entry(Gtk.Box): + + def _setup_keybindings(self): + css = Gtk.CssProvider() +- css.load_from_data(bytes(""" ++ css.load_from_data(""" + @binding-set terminal-like-bindings { + unbind "A"; + +@@ -110,7 +110,7 @@ GtkEntry#gedit-commander-entry { + border: 0; + } + +-""", 'utf-8')) ++""") + + self._entry.get_style_context().add_provider(css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) + +--- a/plugins/commander/commander/info.py ++++ b/plugins/commander/commander/info.py +@@ -93,11 +93,11 @@ class Info(Gtk.Box): + self._sw.set_border_width(6) + + css = Gtk.CssProvider() +- css.load_from_data(bytes(""" ++ css.load_from_data(""" + .trough { + background: transparent; + } +-""", 'utf-8')) ++""") + + self._sw.get_vscrollbar().get_style_context().add_provider(css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) + diff --git a/SPECS/gedit-plugins.spec b/SPECS/gedit-plugins.spec index 60b1ff2..5add7fa 100644 --- a/SPECS/gedit-plugins.spec +++ b/SPECS/gedit-plugins.spec @@ -1,6 +1,6 @@ %if 0%{?fedora} > 12 %global with_zeitgeist 1 -%global with_python3 1 +%global with_python3 0 %else %global with_zeitgeist 0 %global with_python3 0 @@ -11,18 +11,19 @@ %endif Name: gedit-plugins -Version: 3.8.3 -Release: 4%{?dist} +Version: 3.14.1 +Release: 2%{?dist} Summary: Plugins for gedit Group: Applications/Editors License: GPLv2+ URL: http://live.gnome.org/GeditPlugins -Source0: ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/3.8/%{name}-%{version}.tar.xz +Source0: http://download.gnome.org/sources/%{name}/3.14/%{name}-%{version}.tar.xz Patch0: gedit-plugins-disable-python3.patch BuildRequires: gedit-devel BuildRequires: gnome-doc-utils +BuildRequires: gucharmap-devel BuildRequires: perl(XML::Parser) BuildRequires: gettext BuildRequires: cairo-devel @@ -37,18 +38,158 @@ BuildRequires: pygobject3-devel BuildRequires: intltool BuildRequires: libpeas-devel BuildRequires: dbus-python-devel -BuildRequires: vte3-devel +BuildRequires: vte291-devel +BuildRequires: yelp-tools +BuildRequires: itstool +%if %{with_zeitgeist} +BuildRequires: zeitgeist-devel +%endif +BuildRequires: autoconf, automake, libtool, intltool, gettext + +# this is a metapackage dragging in all the plugins +Requires: gedit-plugin-bookmarks +Requires: gedit-plugin-bracketcompletion +Requires: gedit-plugin-charmap +Requires: gedit-plugin-codecomment +Requires: gedit-plugin-colorpicker +Requires: gedit-plugin-colorschemer +Requires: gedit-plugin-commander +%if %{with_zeitgeist} +Requires: gedit-plugin-dashboard +%endif +Requires: gedit-plugin-drawspaces +Requires: gedit-plugin-joinlines +Requires: gedit-plugin-multiedit +Requires: gedit-plugin-smartspaces +Requires: gedit-plugin-synctex +Requires: gedit-plugin-terminal +Requires: gedit-plugin-textsize +Requires: gedit-plugin-wordcompletion +%if %{with_zeitgeist} +Requires: gedit-plugin-zeitgeist +%endif + +%description +A collection of plugins for gedit. + +%package data +Summary: Common data required by plugins Requires: gedit %if %{with_python3} Requires: python3-gobject >= %{pygo_version} %endif -# these are needed for gobject-introspection -Requires: vte3 >= 0.27.90-2.fc15 +%description data +Common files required by all plugins. + +%package -n gedit-plugin-bookmarks +Summary: gedit bookmarks plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-bookmarks +The gedit bookmarks plugin. + +%package -n gedit-plugin-bracketcompletion +Summary: gedit bracketcompletion plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-bracketcompletion +The gedit bracketcompletion plugin. + +%package -n gedit-plugin-charmap +Summary: gedit charmap plugin +Requires: %{name}-data = %{version}-%{release} Requires: gucharmap >= 2.33.2-6.fc15 +%description -n gedit-plugin-charmap +The gedit charmap plugin. + +%package -n gedit-plugin-codecomment +Summary: gedit codecomment plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-codecomment +The gedit codecomment plugin. + +%package -n gedit-plugin-colorpicker +Summary: gedit colorpicker plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-colorpicker +The gedit colorpicker plugin. + +%package -n gedit-plugin-colorschemer +Summary: gedit colorschemer plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-colorschemer +The gedit colorschemer plugin. + +%package -n gedit-plugin-commander +Summary: gedit commander plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-commander +The gedit commander plugin. -%description -A collection of plugins for gedit. +%if %{with_zeitgeist} +%package -n gedit-plugin-dashboard +Summary: gedit dashboard plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-dashboard +The gedit dashboard plugin. +%endif + +%package -n gedit-plugin-drawspaces +Summary: gedit drawspaces plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-drawspaces +The gedit drawspaces plugin. + +%package -n gedit-plugin-joinlines +Summary: gedit joinlines plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-joinlines +The gedit joinlines plugin. + +%package -n gedit-plugin-multiedit +Summary: gedit multiedit plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-multiedit +The gedit multiedit plugin. + +%package -n gedit-plugin-smartspaces +Summary: gedit smartspaces plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-smartspaces +The gedit smartspaces plugin. + +%package -n gedit-plugin-synctex +Summary: gedit synctex plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-synctex +The gedit synctex plugin. + +%package -n gedit-plugin-terminal +Summary: gedit terminal plugin +Requires: %{name}-data = %{version}-%{release} +Requires: vte291 +%description -n gedit-plugin-terminal +The gedit terminal plugin. + +%package -n gedit-plugin-textsize +Summary: gedit textsize plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-textsize +The gedit textsize plugin. + +%package -n gedit-plugin-wordcompletion +Summary: gedit wordcompletion plugin +Requires: %{name}-data = %{version}-%{release} +%description -n gedit-plugin-wordcompletion +The gedit wordcompletion plugin. +%if %{with_zeitgeist} +%package -n gedit-plugin-zeitgeist +Summary: gedit zeitgeist plugin +Requires: %{name}-data = %{version}-%{release} +Requires: zeitgeist +Obsoletes: gedit-zeitgeist < 2:3.13.0 +%description -n gedit-plugin-zeitgeist +The gedit zeitgeist plugin. +%endif %prep %setup -q @@ -57,46 +198,161 @@ A collection of plugins for gedit. %endif %build +aclocal +automake +autoconf %if %{with_zeitgeist} -%configure --disable-schemas-install --enable-python +%configure --enable-python %else -%configure --disable-schemas-install --enable-python --with-plugins=bookmarks,bracketcompletion,charmap,codecomment,colorpicker,colorschemer,commander,drawspaces,joinlines,multiedit,smartspaces,synctex,terminal,textsize,wordcompletion +%configure --enable-python --disable-zeitgeist %endif -#--with-plugins=bracketcompletion,charmap,codecomment,colorpicker,drawspaces,joinlines,showtabbar,smartspaces,terminal,bookmarks make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT -%find_lang %{name} +%find_lang %{name} --with-gnome +%find_lang gedit --with-gnome find $RPM_BUILD_ROOT/%{_libdir}/gedit/plugins -name "*.la" -exec rm {} \; -%postun +%check +[ -f ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/terminal.py ] + + +%postun -n gedit-plugin-drawspaces if [ $1 -eq 0 ]; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : fi +%posttrans -n gedit-plugin-drawspaces +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : + + +%postun -n gedit-plugin-terminal +if [ $1 -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : +fi -%posttrans +%posttrans -n gedit-plugin-terminal glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -%check -[ -f ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/terminal.py ] +%postun -n gedit-plugin-wordcompletion +if [ $1 -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : +fi + +%posttrans -n gedit-plugin-wordcompletion +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -%files -f %{name}.lang -%defattr(-,root,root,-) +# Empty files section for the metapackage to make sure it's created +%files + +%files data -f %{name}.lang -f gedit.lang %doc README NEWS AUTHORS COPYING -%{_libdir}/gedit/plugins/* -%{_datadir}/gedit/plugins/* +%dir %{_libdir}/gedit/plugins/ +%dir %{_datadir}/gedit/plugins/ +%{_libdir}/gedit/plugins/gpdefs.* + +%files -n gedit-plugin-bookmarks +%{_libdir}/gedit/plugins/bookmarks.plugin +%{_libdir}/gedit/plugins/libbookmarks.so +%{_datadir}/appdata/gedit-bookmarks.metainfo.xml + +%files -n gedit-plugin-bracketcompletion +%{_libdir}/gedit/plugins/bracketcompletion.* +%{_datadir}/appdata/gedit-bracketcompletion.metainfo.xml + +%files -n gedit-plugin-charmap +%{_libdir}/gedit/plugins/charmap +%{_libdir}/gedit/plugins/charmap.plugin +%{_datadir}/appdata/gedit-charmap.metainfo.xml + +%files -n gedit-plugin-codecomment +%{_libdir}/gedit/plugins/codecomment.* +%{_datadir}/appdata/gedit-codecomment.metainfo.xml + +%files -n gedit-plugin-colorpicker +%{_libdir}/gedit/plugins/colorpicker.* +%{_datadir}/appdata/gedit-colorpicker.metainfo.xml + +%files -n gedit-plugin-colorschemer +%{_datadir}/gedit/plugins/colorschemer/ui/schemer.ui +%{_libdir}/gedit/plugins/colorschemer +%{_libdir}/gedit/plugins/colorschemer.plugin +%{_datadir}/appdata/gedit-colorschemer.metainfo.xml + +%files -n gedit-plugin-commander +%{_datadir}/gedit/plugins/commander +%{_libdir}/gedit/plugins/commander +%{_libdir}/gedit/plugins/commander.plugin +%{_datadir}/appdata/gedit-commander.metainfo.xml + +%if %{with_zeitgeist} +%files -n gedit-plugin-dashboard +%{_libdir}/gedit/plugins/dashboard +%{_libdir}/gedit/plugins/dashboard.plugin +%{_datadir}/appdata/gedit-dashboard.metainfo.xml +%endif + +%files -n gedit-plugin-drawspaces %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml +%{_libdir}/gedit/plugins/drawspaces.plugin +%{_libdir}/gedit/plugins/libdrawspaces.so +%{_datadir}/appdata/gedit-drawspaces.metainfo.xml + +%files -n gedit-plugin-joinlines +%{_libdir}/gedit/plugins/joinlines.* +%{_datadir}/appdata/gedit-joinlines.metainfo.xml + +%files -n gedit-plugin-multiedit +%{_libdir}/gedit/plugins/multiedit +%{_libdir}/gedit/plugins/multiedit.plugin +%{_datadir}/appdata/gedit-multiedit.metainfo.xml + +%files -n gedit-plugin-smartspaces +%{_libdir}/gedit/plugins/smartspaces.* +%{_datadir}/appdata/gedit-smartspaces.metainfo.xml + +%files -n gedit-plugin-synctex +%{_libdir}/gedit/plugins/synctex +%{_libdir}/gedit/plugins/synctex.plugin +%{_datadir}/appdata/gedit-synctex.metainfo.xml + +%files -n gedit-plugin-terminal %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml +%{_libdir}/gedit/plugins/terminal.* +%{_datadir}/appdata/gedit-terminal.metainfo.xml + +%files -n gedit-plugin-textsize +%{_libdir}/gedit/plugins/textsize +%{_libdir}/gedit/plugins/textsize.plugin +%{_datadir}/appdata/gedit-textsize.metainfo.xml +%files -n gedit-plugin-wordcompletion +%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.wordcompletion.gschema.xml +%{_libdir}/gedit/plugins/libwordcompletion.so +%{_libdir}/gedit/plugins/wordcompletion.plugin +%{_datadir}/appdata/gedit-wordcompletion.metainfo.xml +%if %{with_zeitgeist} +%files -n gedit-plugin-zeitgeist +%{_libdir}/gedit/plugins/libzeitgeist.so +%{_libdir}/gedit/plugins/zeitgeist.plugin +%{_datadir}/appdata/gedit-zeitgeist.metainfo.xml +%endif %changelog +* Thu Jun 25 2015 Ray Strode 3.14.1-2 +- Updated python2 support patch from Matěj Cepl + Related: #1230752 + +* Fri Jun 19 2015 Ray Strode 3.14.1-1 +- Update to 3.14.1 + Resolves: #1230752 + * Fri Jan 24 2014 Daniel Mach - 3.8.3-4 - Mass rebuild 2014-01-24