Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

@ -1 +1 @@
c5ca7e425fb2c1daa233973de9644ae2fe0d6453 SOURCES/gedit-plugins-40.1.tar.xz
ff3cebf0ad62519c4919fab98018f85b66aa0984 SOURCES/gedit-plugins-3.28.1.tar.xz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/gedit-plugins-40.1.tar.xz
SOURCES/gedit-plugins-3.28.1.tar.xz

@ -1,60 +1,62 @@
# Filter provides for plugin .so files
%global __provides_exclude_from ^%{_libdir}/gedit/plugins/
%if 0%{?fedora} > 12
%global with_zeitgeist 1
%else
%global with_zeitgeist 0
%endif
%global tarball_version %%(echo %{version} | tr '~' '.')
%global __python %{__python3}
Name: gedit-plugins
Version: 40.1
Release: 2%{?dist}
Version: 3.28.1
Release: 8%{?dist}
Summary: Plugins for gedit
License: GPLv2+
URL: https://wiki.gnome.org/Apps/Gedit
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
BuildRequires: atk-devel
BuildRequires: cairo-devel
BuildRequires: gedit-devel
BuildRequires: perl(XML::Parser)
BuildRequires: gettext
BuildRequires: gtksourceview4-devel
BuildRequires: itstool
BuildRequires: libappstream-glib-devel
%if !0%{?rhel}
BuildRequires: libgit2-glib-devel
%endif
BuildRequires: libpeas-devel
BuildRequires: meson
BuildRequires: pygobject3-devel
BuildRequires: cairo-devel
BuildRequires: atk-devel
BuildRequires: python3-devel
BuildRequires: python3-gobject
BuildRequires: intltool
BuildRequires: libpeas-devel
BuildRequires: vala
BuildRequires: vte291-devel
BuildRequires: yelp-tools
BuildRequires: itstool
%if %{with_zeitgeist}
BuildRequires: zeitgeist-devel
%endif
Obsoletes: gedit-plugin-synctex < 3.28.1-4%{?dist}
Provides: gedit-plugin-synctex = 3.28.1-4%{?dist}
# this is a metapackage dragging in all the plugins
Requires: gedit-plugin-bookmarks
Requires: gedit-plugin-bracketcompletion
%if !0%{?rhel}
Requires: gedit-plugin-charmap
%endif
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-findinfiles
%if !0%{?rhel}
Requires: gedit-plugin-git
%endif
Requires: gedit-plugin-joinlines
Requires: gedit-plugin-multiedit
Requires: gedit-plugin-sessionsaver
Requires: gedit-plugin-smartspaces
Requires: gedit-plugin-synctex
Requires: gedit-plugin-terminal
Requires: gedit-plugin-textsize
Requires: gedit-plugin-translate
Requires: gedit-plugin-wordcompletion
%if %{with_zeitgeist}
Requires: gedit-plugin-zeitgeist
%endif
%description
A collection of plugins for gedit.
@ -79,16 +81,6 @@ Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-bracketcompletion
The gedit bracketcompletion plugin.
%if !0%{?rhel}
%package -n gedit-plugin-charmap
Summary: gedit charmap plugin
Requires: %{name}-data = %{version}-%{release}
Requires: gucharmap-libs
Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-charmap
The gedit charmap plugin.
%endif
%package -n gedit-plugin-codecomment
Summary: gedit codecomment plugin
Requires: %{name}-data = %{version}-%{release}
@ -117,6 +109,15 @@ Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-commander
The gedit commander plugin.
%if %{with_zeitgeist}
%package -n gedit-plugin-dashboard
Summary: gedit dashboard plugin
Requires: %{name}-data = %{version}-%{release}
Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-dashboard
The gedit dashboard plugin.
%endif
%package -n gedit-plugin-drawspaces
Summary: gedit drawspaces plugin
Requires: %{name}-data = %{version}-%{release}
@ -129,16 +130,6 @@ Requires: %{name}-data = %{version}-%{release}
%description -n gedit-plugin-findinfiles
The gedit findinfiles plugin.
%if !0%{?rhel}
%package -n gedit-plugin-git
Summary: gedit git plugin
Requires: %{name}-data = %{version}-%{release}
Requires: libgit2-glib
Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-git
The gedit git plugin.
%endif
%package -n gedit-plugin-joinlines
Summary: gedit joinlines plugin
Requires: %{name}-data = %{version}-%{release}
@ -153,13 +144,6 @@ Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-multiedit
The gedit multiedit plugin.
%package -n gedit-plugin-sessionsaver
Summary: gedit sessionsaver plugin
Requires: %{name}-data = %{version}-%{release}
Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-sessionsaver
The gedit sessionsaver plugin.
%package -n gedit-plugin-smartspaces
Summary: gedit smartspaces plugin
Requires: %{name}-data = %{version}-%{release}
@ -167,13 +151,6 @@ Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-smartspaces
The gedit smartspaces plugin.
%package -n gedit-plugin-synctex
Summary: gedit synctex plugin
Requires: %{name}-data = %{version}-%{release}
Requires: libpeas-loader-python3%{?_isa}
%description -n gedit-plugin-synctex
The gedit synctex plugin.
%package -n gedit-plugin-terminal
Summary: gedit terminal plugin
Requires: %{name}-data = %{version}-%{release}
@ -202,35 +179,72 @@ 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
%autosetup -p1 -n %{name}-%{tarball_version}
%setup -q
%build
%meson \
%if 0%{?rhel}
-Dplugin_charmap=false \
-Dplugin_git=false \
%if %{with_zeitgeist}
%configure --enable-python
%else
%configure --enable-python --disable-zeitgeist
%endif
%nil
%meson_build
%install
%meson_install
make %{?_smp_mflags}
%py_byte_compile %{__python3} %{buildroot}%{_libdir}/gedit/plugins/
%install
%make_install
%find_lang %{name} --with-gnome
%find_lang gedit --with-gnome
find $RPM_BUILD_ROOT/%{_libdir}/gedit/plugins -name "*.la" -exec rm {} \;
%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 -n gedit-plugin-terminal
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%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 || :
# Empty files section for the metapackage to make sure it's created
%files
%files data -f %{name}.lang -f gedit.lang
%license COPYING
%doc README.md NEWS AUTHORS
%doc README NEWS AUTHORS
%dir %{_libdir}/gedit/plugins/
%dir %{_libdir}/gedit/plugins/__pycache__/
%dir %{_datadir}/gedit/plugins/
@ -240,233 +254,123 @@ The gedit wordcompletion plugin.
%files -n gedit-plugin-bookmarks
%{_libdir}/gedit/plugins/bookmarks.plugin
%{_libdir}/gedit/plugins/libbookmarks.so
%{_datadir}/metainfo/gedit-bookmarks.metainfo.xml
%{_datadir}/appdata/gedit-bookmarks.metainfo.xml
%files -n gedit-plugin-bracketcompletion
%{_libdir}/gedit/plugins/bracketcompletion.*
%{_libdir}/gedit/plugins/__pycache__/bracketcompletion.*
%{_datadir}/metainfo/gedit-bracketcompletion.metainfo.xml
%if !0%{?rhel}
%files -n gedit-plugin-charmap
%{_libdir}/gedit/plugins/charmap
%{_libdir}/gedit/plugins/charmap.plugin
%{_datadir}/metainfo/gedit-charmap.metainfo.xml
%endif
%{_datadir}/appdata/gedit-bracketcompletion.metainfo.xml
%files -n gedit-plugin-codecomment
%{_libdir}/gedit/plugins/codecomment.*
%{_libdir}/gedit/plugins/__pycache__/codecomment.*
%{_datadir}/metainfo/gedit-codecomment.metainfo.xml
%{_datadir}/appdata/gedit-codecomment.metainfo.xml
%files -n gedit-plugin-colorpicker
%{_libdir}/gedit/plugins/colorpicker.*
%{_libdir}/gedit/plugins/__pycache__/colorpicker.*
%{_datadir}/metainfo/gedit-colorpicker.metainfo.xml
%{_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}/metainfo/gedit-colorschemer.metainfo.xml
%{_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}/metainfo/gedit-commander.metainfo.xml
%{_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}/metainfo/gedit-drawspaces.metainfo.xml
%{_datadir}/appdata/gedit-drawspaces.metainfo.xml
%files -n gedit-plugin-findinfiles
%{_libdir}/gedit/plugins/findinfiles.plugin
%{_libdir}/gedit/plugins/libfindinfiles.so
%{_datadir}/metainfo/gedit-findinfiles.metainfo.xml
%if !0%{?rhel}
%files -n gedit-plugin-git
%{_libdir}/gedit/plugins/git
%{_libdir}/gedit/plugins/git.plugin
%{_datadir}/metainfo/gedit-git.metainfo.xml
%endif
%{_datadir}/appdata/gedit-findinfiles.metainfo.xml
%files -n gedit-plugin-joinlines
%{_libdir}/gedit/plugins/joinlines.*
%{_libdir}/gedit/plugins/__pycache__/joinlines.*
%{_datadir}/metainfo/gedit-joinlines.metainfo.xml
%{_datadir}/appdata/gedit-joinlines.metainfo.xml
%files -n gedit-plugin-multiedit
%{_libdir}/gedit/plugins/multiedit
%{_libdir}/gedit/plugins/multiedit.plugin
%{_datadir}/metainfo/gedit-multiedit.metainfo.xml
%files -n gedit-plugin-sessionsaver
%{_datadir}/gedit/plugins/sessionsaver
%{_libdir}/gedit/plugins/sessionsaver
%{_libdir}/gedit/plugins/sessionsaver.plugin
%{_datadir}/appdata/gedit-multiedit.metainfo.xml
%files -n gedit-plugin-smartspaces
%{_libdir}/gedit/plugins/libsmartspaces.so
%{_libdir}/gedit/plugins/smartspaces.plugin
%{_datadir}/metainfo/gedit-smartspaces.metainfo.xml
%files -n gedit-plugin-synctex
%{_libdir}/gedit/plugins/synctex
%{_libdir}/gedit/plugins/synctex.plugin
%{_datadir}/metainfo/gedit-synctex.metainfo.xml
%{_libdir}/gedit/plugins/__pycache__/smartspaces.*
%{_libdir}/gedit/plugins/smartspaces.*
%{_datadir}/appdata/gedit-smartspaces.metainfo.xml
%files -n gedit-plugin-terminal
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml
%{_libdir}/gedit/plugins/__pycache__/terminal.*
%{_libdir}/gedit/plugins/terminal.*
%{_datadir}/metainfo/gedit-terminal.metainfo.xml
%{_datadir}/appdata/gedit-terminal.metainfo.xml
%files -n gedit-plugin-textsize
%{_libdir}/gedit/plugins/textsize
%{_libdir}/gedit/plugins/textsize.plugin
%{_datadir}/metainfo/gedit-textsize.metainfo.xml
%{_datadir}/appdata/gedit-textsize.metainfo.xml
%files -n gedit-plugin-translate
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.translate.gschema.xml
%{_libdir}/gedit/plugins/translate/
%{_libdir}/gedit/plugins/translate.plugin
%{_datadir}/metainfo/gedit-translate.metainfo.xml
%{_datadir}/appdata/gedit-translate.metainfo.xml
%{_datadir}/gedit/plugins/translate/
%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}/metainfo/gedit-wordcompletion.metainfo.xml
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 40.1-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed May 05 2021 Kalev Lember <klember@redhat.com> - 40.1-1
- Update to 40.1
* Tue May 04 2021 Ray Strode <rstrode@redhat.com> - 40.0-4
- Rebuild
Related: #1951302
* Tue Apr 20 2021 Kalev Lember <klember@redhat.com> - 40.0-3
- Avoid depending on tepl as it's unmainained upstream
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Mar 24 2021 Kalev Lember <klember@redhat.com> - 40.0-1
- Update to 40.0
- Filter provides for plugin .so files
* Fri Feb 05 2021 Kalev Lember <klember@redhat.com> - 3.38.1-3
- Don't build gedit-plugin-charmap and gedit-plugin-git for RHEL
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Nov 25 2020 Kalev Lember <klember@redhat.com> - 3.38.1-1
- Update to 3.38.1
%{_datadir}/appdata/gedit-wordcompletion.metainfo.xml
* Fri Sep 11 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
- Update to 3.38.0
* Fri Sep 04 2020 Kalev Lember <klember@redhat.com> - 3.37.92-1
- Update to 3.37.92
- Explicitly byte-compile python files using py_byte_compile macro
- Fix FTBFS (#1863608)
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.2-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 02 2020 Adam Williamson <awilliam@redhat.com> - 3.36.2-2
- Rebuild for new libgedit
* Fri Mar 27 2020 Kalev Lember <klember@redhat.com> - 3.36.2-1
- Update to 3.36.2
* Wed Mar 11 2020 Kalev Lember <klember@redhat.com> - 3.36.1-1
- Update to 3.36.1
* Fri Mar 06 2020 Kalev Lember <klember@redhat.com> - 3.36.0-1
- Update to 3.36.0
* Tue Feb 04 2020 Kalev Lember <klember@redhat.com> - 3.35.90-1
- Update to 3.35.90
- Remove the zeitgeist plugin
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.35.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 20 2020 Kalev Lember <klember@redhat.com> - 3.35.1-1
- Update to 3.35.1
* Wed Nov 27 2019 Kalev Lember <klember@redhat.com> - 3.34.1-1
- Update to 3.34.1
- Re-add synctex plugin
* Wed Sep 11 2019 Kalev Lember <klember@redhat.com> - 3.34.0-2
- Fix building with zeitgeist disabled
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
- Update to 3.34.0
* Tue Sep 03 2019 Kalev Lember <klember@redhat.com> - 3.33.92-1
- Update to 3.33.92
* Sun Aug 25 2019 Kalev Lember <klember@redhat.com> - 3.33.90-2
- Spec file cleanups after the meson port
* Thu Aug 08 2019 Phil Wyett <philwyett@kathenas.org> - 3.33.90-1
- Update to 3.33.90.
- This release removes 'synctex' plugin.
- This release adds new 'sessionsaver' plugin.
- Update 'zeitgeist' plugin conditonal. Fedora only, not in RHEL.
- Remove old patches.
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 15 2019 Kalev Lember <klember@redhat.com> - 3.32.2-1
- Update to 3.32.2
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
- Update to 3.32.0
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 3.31.90-2
- Rebuilt for gtksourceview4
%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
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 3.31.90-1
- Update to 3.31.90
%changelog
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.28.1-8
- Rebuilt for MSVSphere 8.8
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed May 01 2019 Ray Strode <rstrode@redhat.com> - 3.28.1-8
- bump release for correctly start gating process
Related: #1698642
* Thu Jan 10 2019 Kalev Lember <klember@redhat.com> - 3.31.4-1
- Update to 3.31.4
- Drop gedit-plugin-dashboard as the plugin is removed upstream
* Wed Sep 26 2018 Kalev Lember <klember@redhat.com> - 3.30.1-1
- Update to 3.30.1
* Wed May 01 2019 Ray Strode <rstrode@redhat.com> - 3.28.1-7
- Add obsoletes/provides for dropped plugin
Related: #1698642
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
- Update to 3.30.0
* Mon Oct 15 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-4
- Drop unused dependencies
Resolves: #1599393
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.28.1-3
- Remove gnome-doc-utils dependency
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.28.1-2
- Rebuilt for Python 3.7
* Thu May 10 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-2
- Drop gucharmap plugin
Resolves: #1576731
- Drop libgit plugin too
* Mon Apr 09 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
- Update to 3.28.1

Loading…
Cancel
Save