[packages/gedit-plugins] - updated to 3.34.0

qboosh qboosh at pld-linux.org
Fri Nov 8 21:36:32 CET 2019


commit faf7fda5b9639607503a6e9c20d5040e05b528d4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 8 21:36:38 2019 +0100

    - updated to 3.34.0

 gedit-plugins.spec | 132 ++++++++++++++++++++++++++---------------------------
 1 file changed, 64 insertions(+), 68 deletions(-)
---
diff --git a/gedit-plugins.spec b/gedit-plugins.spec
index f421f36..9e00ec2 100644
--- a/gedit-plugins.spec
+++ b/gedit-plugins.spec
@@ -1,50 +1,46 @@
 Summary:	gedit plugins
 Summary(pl.UTF-8):	Wtyczki dla gedita
 Name:		gedit-plugins
-Version:	3.22.0
+Version:	3.34.0
 Release:	1
 License:	GPL v2
 Group:		X11/Applications/Editors
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gedit-plugins/3.22/%{name}-%{version}.tar.xz
-# Source0-md5:	4c904e539fe5da928bf935bcfbd4322d
-URL:		http://www.gnome.org/projects/gedit/
-BuildRequires:	autoconf >= 2.63
-BuildRequires:	automake >= 1:1.11
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gedit-plugins/3.34/%{name}-%{version}.tar.xz
+# Source0-md5:	1edee2f5246f1fa529318a6cd3251960
+URL:		https://wiki.gnome.org/Apps/Gedit
+BuildRequires:	appstream-glib
 BuildRequires:	gedit-devel >= 3.16.0
 BuildRequires:	gettext-tools >= 0.17
 BuildRequires:	glib2-devel >= 1:2.32.0
-BuildRequires:	gtk+3-devel >= 3.9.0
-BuildRequires:	gtksourceview3-devel >= 3.22.0
-# Gucharmap-2.90 typelib
-BuildRequires:	gucharmap-libs >= 3.0.0
-BuildRequires:	intltool >= 0.40.0
-BuildRequires:	libgit2-glib-devel >= 0.0.6
-BuildRequires:	libpeas-devel >= 1.8.0
-BuildRequires:	libpeas-gtk-devel >= 1.8.0
-BuildRequires:	libtool >= 2:2.2
+BuildRequires:	libpeas-devel >= 1.14.1
+BuildRequires:	libpeas-gtk-devel >= 1.14.1
+BuildRequires:	meson >= 0.49.0
+BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
 BuildRequires:	python3 >= 1:3.2
-BuildRequires:	python-dbus-devel >= 0.82
 BuildRequires:	rpm-build >= 4.1-10
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.234
+BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	vala >= 2:0.28.0
-# Vte-2.91 typelib
-BuildRequires:	vte >= 0.38
+BuildRequires:	vala-gedit >= 3.16
 BuildRequires:	xz
 BuildRequires:	yelp-tools
 # pkgconfig(zeitgeist-2.0) + Zeitgeist-2.0 typelib
 BuildRequires:	zeitgeist-devel >= 0.9.12
 Requires:	gedit >= 3.16.0
 Requires:	glib2 >= 1:2.32.0
+# Gtk-3.0 typelib
 Requires:	gtk+3 >= 3.9.0
-Requires:	gtksourceview3 >= 3.22.0
-# Gucharmap-2.90 typelib
+# GtkSource-4 typelib
+Requires:	gtksourceview4 >= 4.0
+# Gucharmap typelib
 Requires:	gucharmap-libs >= 3.0.0
+# Ggit typelib
 Requires:	libgit2-glib >= 0.0.6
-Requires:	libpeas-gtk >= 1.8.0
-Requires:	libpeas-loader-python3 >= 1.8.0
+# Peas-1.0, PeasGtk-1.0 typelibs
+Requires:	libpeas-gtk >= 1.14.1
+Requires:	libpeas-loader-python3 >= 1.14.1
 Requires:	python3-dbus >= 0.82
 Requires:	python3-pycairo
 Requires:	python3-pygobject3 >= 3.0.0
@@ -66,25 +62,17 @@ Zestaw wtyczek dla gedita.
 %setup -q
 
 %build
-%{__intltoolize}
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
-	--enable-python \
-	--disable-silent-rules
-%{__make}
+%meson build
+
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
-# Remove not needed files
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/*.la
+%py3_comp $RPM_BUILD_ROOT%{_libdir}/gedit/plugins
+%py3_ocomp $RPM_BUILD_ROOT%{_libdir}/gedit/plugins
 
 %find_lang %{name} --all-name --with-gnome
 
@@ -99,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS NEWS README
 # common
 %dir %{_libdir}/gedit/plugins/__pycache__
 %{_libdir}/gedit/plugins/gpdefs.py
@@ -109,106 +97,114 @@ rm -rf $RPM_BUILD_ROOT
 
 %{_libdir}/gedit/plugins/bookmarks.plugin
 %attr(755,root,root) %{_libdir}/gedit/plugins/libbookmarks.so
-%{_datadir}/appdata/gedit-bookmarks.metainfo.xml
+%{_datadir}/metainfo/gedit-bookmarks.metainfo.xml
 
 %{_libdir}/gedit/plugins/bracketcompletion.plugin
 %{_libdir}/gedit/plugins/bracketcompletion.py
 %{_libdir}/gedit/plugins/__pycache__/bracketcompletion.cpython-*.py[co]
-%{_datadir}/appdata/gedit-bracketcompletion.metainfo.xml
+%{_datadir}/metainfo/gedit-bracketcompletion.metainfo.xml
 
 %{_libdir}/gedit/plugins/charmap.plugin
 %dir %{_libdir}/gedit/plugins/charmap
 %{_libdir}/gedit/plugins/charmap/*.py
 %{_libdir}/gedit/plugins/charmap/__pycache__
-%{_datadir}/appdata/gedit-charmap.metainfo.xml
+%{_datadir}/metainfo/gedit-charmap.metainfo.xml
 
 %{_libdir}/gedit/plugins/codecomment.plugin
 %{_libdir}/gedit/plugins/codecomment.py
 %{_libdir}/gedit/plugins/__pycache__/codecomment.cpython-*.py[co]
-%{_datadir}/appdata/gedit-codecomment.metainfo.xml
+%{_datadir}/metainfo/gedit-codecomment.metainfo.xml
 
 %{_libdir}/gedit/plugins/colorpicker.plugin
 %{_libdir}/gedit/plugins/colorpicker.py
 %{_libdir}/gedit/plugins/__pycache__/colorpicker.cpython-*.py[co]
-%{_datadir}/appdata/gedit-colorpicker.metainfo.xml
+%{_datadir}/metainfo/gedit-colorpicker.metainfo.xml
 
 %{_libdir}/gedit/plugins/colorschemer.plugin
 %dir %{_libdir}/gedit/plugins/colorschemer
 %{_libdir}/gedit/plugins/colorschemer/*.py
 %{_libdir}/gedit/plugins/colorschemer/__pycache__
 %{_datadir}/gedit/plugins/colorschemer
-%{_datadir}/appdata/gedit-colorschemer.metainfo.xml
+%{_datadir}/metainfo/gedit-colorschemer.metainfo.xml
 
 %{_libdir}/gedit/plugins/commander.plugin
 %dir %{_libdir}/gedit/plugins/commander
-%dir %{_libdir}/gedit/plugins/commander/commands
 %{_libdir}/gedit/plugins/commander/*.py
 %{_libdir}/gedit/plugins/commander/__pycache__
+%dir %{_libdir}/gedit/plugins/commander/commands
 %{_libdir}/gedit/plugins/commander/commands/*.py*
 %{_libdir}/gedit/plugins/commander/commands/__pycache__
 %{_datadir}/gedit/plugins/commander
-%{_datadir}/appdata/gedit-commander.metainfo.xml
-
-%{_libdir}/gedit/plugins/dashboard.plugin
-%dir %{_libdir}/gedit/plugins/dashboard
-%{_libdir}/gedit/plugins/dashboard/*.py
-%{_libdir}/gedit/plugins/dashboard/__pycache__
-%{_datadir}/appdata/gedit-dashboard.metainfo.xml
+%{_datadir}/metainfo/gedit-commander.metainfo.xml
 
 %{_libdir}/gedit/plugins/drawspaces.plugin
 %attr(755,root,root) %{_libdir}/gedit/plugins/libdrawspaces.so
-%{_datadir}/appdata/gedit-drawspaces.metainfo.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml
+%{_datadir}/metainfo/gedit-drawspaces.metainfo.xml
 
 %{_libdir}/gedit/plugins/findinfiles.plugin
 %attr(755,root,root) %{_libdir}/gedit/plugins/libfindinfiles.so
-%{_datadir}/appdata/gedit-findinfiles.metainfo.xml
+%{_datadir}/metainfo/gedit-findinfiles.metainfo.xml
 
 %{_libdir}/gedit/plugins/git.plugin
 %dir %{_libdir}/gedit/plugins/git
 %{_libdir}/gedit/plugins/git/*.py*
 %{_libdir}/gedit/plugins/git/__pycache__
-%{_datadir}/appdata/gedit-git.metainfo.xml
+%{_datadir}/metainfo/gedit-git.metainfo.xml
 
 %{_libdir}/gedit/plugins/joinlines.plugin
 %{_libdir}/gedit/plugins/joinlines.py
 %{_libdir}/gedit/plugins/__pycache__/joinlines.cpython-*.py[co]
-%{_datadir}/appdata/gedit-joinlines.metainfo.xml
+%{_datadir}/metainfo/gedit-joinlines.metainfo.xml
 
 %{_libdir}/gedit/plugins/multiedit.plugin
 %dir %{_libdir}/gedit/plugins/multiedit
 %{_libdir}/gedit/plugins/multiedit/*.py
 %{_libdir}/gedit/plugins/multiedit/__pycache__
-%{_datadir}/appdata/gedit-multiedit.metainfo.xml
+%{_datadir}/metainfo/gedit-multiedit.metainfo.xml
+
+%{_libdir}/gedit/plugins/sessionsaver.plugin
+%dir %{_libdir}/gedit/plugins/sessionsaver
+%{_libdir}/gedit/plugins/sessionsaver/*.py
+%{_libdir}/gedit/plugins/sessionsaver/__pycache__
+%dir %{_libdir}/gedit/plugins/sessionsaver/store
+%{_libdir}/gedit/plugins/sessionsaver/store/*.py
+%{_libdir}/gedit/plugins/sessionsaver/store/__pycache__
+%{_datadir}/gedit/plugins/sessionsaver
 
 %{_libdir}/gedit/plugins/smartspaces.plugin
 %{_libdir}/gedit/plugins/smartspaces.py
 %{_libdir}/gedit/plugins/__pycache__/smartspaces.cpython-*.py[co]
-%{_datadir}/appdata/gedit-smartspaces.metainfo.xml
-
-%{_libdir}/gedit/plugins/synctex.plugin
-%dir %{_libdir}/gedit/plugins/synctex
-%{_libdir}/gedit/plugins/synctex/*.py
-%{_libdir}/gedit/plugins/synctex/__pycache__
-%{_datadir}/appdata/gedit-synctex.metainfo.xml
+%{_datadir}/metainfo/gedit-smartspaces.metainfo.xml
 
 %{_libdir}/gedit/plugins/terminal.plugin
 %{_libdir}/gedit/plugins/terminal.py
 %{_libdir}/gedit/plugins/__pycache__/terminal.cpython-*.py[co]
-%{_datadir}/appdata/gedit-terminal.metainfo.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml
+%{_datadir}/metainfo/gedit-terminal.metainfo.xml
 
 %{_libdir}/gedit/plugins/textsize.plugin
 %dir %{_libdir}/gedit/plugins/textsize
 %{_libdir}/gedit/plugins/textsize/*.py
 %{_libdir}/gedit/plugins/textsize/__pycache__
-%{_datadir}/appdata/gedit-textsize.metainfo.xml
+%{_datadir}/metainfo/gedit-textsize.metainfo.xml
+
+%{_libdir}/gedit/plugins/translate.plugin
+%dir %{_libdir}/gedit/plugins/translate
+%{_libdir}/gedit/plugins/translate/*.py
+%{_libdir}/gedit/plugins/translate/__pycache__
+%dir %{_libdir}/gedit/plugins/translate/services
+%{_libdir}/gedit/plugins/translate/services/*.py
+%{_libdir}/gedit/plugins/translate/services/__pycache__
+%{_datadir}/gedit/plugins/translate
+%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.translate.gschema.xml
+%{_datadir}/metainfo/gedit-translate.metainfo.xml
 
 %{_libdir}/gedit/plugins/wordcompletion.plugin
 %attr(755,root,root) %{_libdir}/gedit/plugins/libwordcompletion.so
-%{_datadir}/appdata/gedit-wordcompletion.metainfo.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.wordcompletion.gschema.xml
+%{_datadir}/metainfo/gedit-wordcompletion.metainfo.xml
 
 %{_libdir}/gedit/plugins/zeitgeist.plugin
 %attr(755,root,root) %{_libdir}/gedit/plugins/libzeitgeist.so
-%{_datadir}/appdata/gedit-zeitgeist.metainfo.xml
+%{_datadir}/metainfo/gedit-zeitgeist.metainfo.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gedit-plugins.git/commitdiff/faf7fda5b9639607503a6e9c20d5040e05b528d4



More information about the pld-cvs-commit mailing list