2010-05-14 00:57:07 +02:00
|
|
|
#
|
2011-02-21 15:01:04 +01:00
|
|
|
# spec file for package gedit-plugins
|
2010-05-14 00:57:07 +02:00
|
|
|
#
|
2014-04-03 22:37:09 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-05-14 00:57:07 +02:00
|
|
|
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
|
|
|
|
#
|
|
|
|
# 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: gedit-plugins
|
|
|
|
Summary: A collection of plugins for gedit
|
2011-12-21 15:59:53 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Editors/Other
|
2014-11-14 00:28:24 +01:00
|
|
|
Version: 3.14.1
|
2011-12-21 15:59:53 +01:00
|
|
|
Release: 0
|
2014-09-25 09:53:55 +02:00
|
|
|
Source: http://download.gnome.org/sources/gedit-plugins/3.14/%{name}-%{version}.tar.xz
|
2010-05-14 00:57:07 +02:00
|
|
|
Url: http://live.gnome.org/GeditPlugins
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: pkg-config
|
2010-06-05 12:42:46 +02:00
|
|
|
BuildRequires: translation-update-upstream
|
2013-06-23 15:48:44 +02:00
|
|
|
BuildRequires: yelp-tools
|
2011-04-25 11:37:25 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-python)
|
2014-09-25 09:53:55 +02:00
|
|
|
BuildRequires: pkgconfig(gedit) >= 3.14.0
|
2013-07-20 21:20:09 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.0
|
2014-09-25 09:53:55 +02:00
|
|
|
BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.14.0
|
2013-07-20 21:20:09 +02:00
|
|
|
BuildRequires: pkgconfig(libgit2-glib-1.0) >= 0.0.6
|
2013-03-13 23:59:15 +01:00
|
|
|
BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 1.7.0
|
2014-08-23 13:51:55 +02:00
|
|
|
BuildRequires: pkgconfig(vte-2.91)
|
|
|
|
BuildRequires: pkgconfig(zeitgeist-2.0) >= 0.9.12
|
2014-09-25 09:53:55 +02:00
|
|
|
# configure tests for python gi-bindings of gucharmap
|
|
|
|
BuildRequires: typelib-1_0-Gucharmap-2_90
|
2010-05-14 00:57:07 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2014-09-25 09:53:55 +02:00
|
|
|
Requires: gedit >= 3.14.0
|
2011-12-21 15:59:53 +01:00
|
|
|
# For dashboard plugin
|
|
|
|
Requires: zeitgeist
|
2010-05-14 00:57:07 +02:00
|
|
|
Enhances: gedit
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-25 11:32:54 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2010-05-14 00:57:07 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Here follows a list of plugins currently available in gedit-plugins:
|
|
|
|
|
2011-09-27 13:56:26 +02:00
|
|
|
* Bracket Completion Add automatically a closing bracket when you
|
2010-05-14 00:57:07 +02:00
|
|
|
insert one
|
|
|
|
* Charmap Select characters from a charactermap
|
|
|
|
* Code Comment Comment or uncomment blocks of code
|
|
|
|
* Color picker Select and insert a color from a dialog (for html,
|
|
|
|
css, php)
|
|
|
|
* Join lines/ Split lines Join or split multiple lines through Ctrl+J
|
|
|
|
and Ctrl+Shift+J
|
|
|
|
* Session Saver Allow to bookmark working sessions in order to get
|
|
|
|
them back for further use
|
|
|
|
* Smart Spaces Allow to unindent like if you were using tabs while
|
|
|
|
you're using spaces
|
|
|
|
* Show tabbar A very basic plugin which shows or hides the gedit tabbar
|
|
|
|
* Terminal A simple terminal widget accessible from the bottom panel
|
|
|
|
|
2014-08-23 13:51:55 +02:00
|
|
|
%package -n gedit-plugin-zeitgeist
|
|
|
|
Summary: Zeitgeist dataprovider for gedit
|
|
|
|
Group: Productivity/Text/Editors
|
|
|
|
Requires: gedit
|
|
|
|
Supplements: packageand(gedit:zeitgeist)
|
|
|
|
|
|
|
|
%description -n gedit-plugin-zeitgeist
|
|
|
|
The zeitgeist plugin for gedit provides a zeitgeist dataprovider that
|
|
|
|
logs access and leave event for documents used with gedit.
|
|
|
|
|
2013-06-23 15:48:44 +02:00
|
|
|
%lang_package
|
2010-05-14 00:57:07 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-06-05 12:42:46 +02:00
|
|
|
translation-update-upstream
|
2010-05-14 00:57:07 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2011-04-25 11:32:54 +02:00
|
|
|
%__make %{?jobs:-j%jobs} V=1
|
2010-05-14 00:57:07 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2011-12-21 15:59:53 +01:00
|
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
2010-05-14 00:57:07 +02:00
|
|
|
%find_lang %{name}
|
2013-06-23 15:48:44 +02:00
|
|
|
%find_lang gedit %{name}.lang
|
2012-10-17 22:21:43 +02:00
|
|
|
%fdupes %{buildroot}/%{_datadir}/gedit/plugins
|
|
|
|
%fdupes %{buildroot}/%{_libdir}/gedit/plugins
|
2010-05-14 00:57:07 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2011-04-25 11:32:54 +02:00
|
|
|
%post
|
|
|
|
%glib2_gsettings_schema_post
|
2010-05-14 00:57:07 +02:00
|
|
|
|
2011-04-25 11:32:54 +02:00
|
|
|
%postun
|
|
|
|
%glib2_gsettings_schema_postun
|
2010-05-14 00:57:07 +02:00
|
|
|
|
2011-04-25 11:32:54 +02:00
|
|
|
%files
|
2010-05-14 00:57:07 +02:00
|
|
|
%defattr(-,root,root)
|
2011-12-21 15:59:53 +01:00
|
|
|
# Common files
|
|
|
|
%{_libdir}/gedit/plugins/gpdefs.py*
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_libdir}/gedit/plugins/__pycache__/gpdefs.*
|
|
|
|
%dir %{_libdir}/gedit/plugins/__pycache__
|
2011-12-21 15:59:53 +01:00
|
|
|
## Explicitly list all plugins so we know when we miss one
|
|
|
|
# bookmarks
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-bookmarks.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/bookmarks.plugin
|
|
|
|
%{_libdir}/gedit/plugins/libbookmarks.so
|
|
|
|
# bracketcompletion
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-bracketcompletion.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/bracketcompletion.plugin
|
|
|
|
%{_libdir}/gedit/plugins/bracketcompletion.py*
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_libdir}/gedit/plugins/__pycache__/bracketcompletion.*
|
2011-12-21 15:59:53 +01:00
|
|
|
# charmap
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-charmap.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/charmap.plugin
|
|
|
|
%{_libdir}/gedit/plugins/charmap/
|
|
|
|
# codecomment
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-codecomment.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/codecomment.plugin
|
|
|
|
%{_libdir}/gedit/plugins/codecomment.py*
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_libdir}/gedit/plugins/__pycache__/codecomment.*
|
2011-12-21 15:59:53 +01:00
|
|
|
# colorpicker
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-colorpicker.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/colorpicker.plugin
|
|
|
|
%{_libdir}/gedit/plugins/colorpicker.py*
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_libdir}/gedit/plugins/__pycache__/colorpicker.*
|
2013-04-19 11:29:26 +02:00
|
|
|
# colorschemer
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-colorschemer.metainfo.xml
|
2013-04-19 11:29:26 +02:00
|
|
|
%{_libdir}/gedit/plugins/colorschemer.plugin
|
|
|
|
%{_datadir}/gedit/plugins/colorschemer/
|
2014-04-03 22:37:09 +02:00
|
|
|
%{_libdir}/gedit/plugins/colorschemer/
|
2011-12-21 15:59:53 +01:00
|
|
|
# commander
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-commander.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/commander.plugin
|
|
|
|
%{_libdir}/gedit/plugins/commander/
|
|
|
|
%{_datadir}/gedit/plugins/commander/
|
|
|
|
# dashboard
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-dashboard.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/dashboard.plugin
|
|
|
|
%{_libdir}/gedit/plugins/dashboard/
|
|
|
|
# drawspaces
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-drawspaces.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/drawspaces.plugin
|
|
|
|
%{_libdir}/gedit/plugins/libdrawspaces.so
|
2011-04-25 11:32:54 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml
|
2013-07-20 21:20:09 +02:00
|
|
|
# git
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-git.metainfo.xml
|
2013-07-20 21:20:09 +02:00
|
|
|
%{_libdir}/gedit/plugins/git.plugin
|
|
|
|
%{_libdir}/gedit/plugins/git/
|
2011-12-21 15:59:53 +01:00
|
|
|
# joinlines
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-joinlines.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/joinlines.plugin
|
|
|
|
%{_libdir}/gedit/plugins/joinlines.py*
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_libdir}/gedit/plugins/__pycache__/joinlines.*
|
2011-12-21 15:59:53 +01:00
|
|
|
# multiedit
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-multiedit.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/multiedit.plugin
|
|
|
|
%{_libdir}/gedit/plugins/multiedit/
|
|
|
|
# smartspaces
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-smartspaces.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/smartspaces.plugin
|
|
|
|
%{_libdir}/gedit/plugins/smartspaces.py*
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_libdir}/gedit/plugins/__pycache__/smartspaces.*
|
2011-12-21 15:59:53 +01:00
|
|
|
# synctex
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-synctex.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/synctex.plugin
|
|
|
|
%{_libdir}/gedit/plugins/synctex/
|
|
|
|
# terminal
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-terminal.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/terminal.plugin
|
|
|
|
%{_libdir}/gedit/plugins/terminal.py*
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_libdir}/gedit/plugins/__pycache__/terminal.*
|
2011-04-25 11:32:54 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
# textsize
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-textsize.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/textsize.plugin
|
|
|
|
%{_libdir}/gedit/plugins/textsize/
|
|
|
|
# wordcompletion
|
2014-08-23 13:51:55 +02:00
|
|
|
%{_datadir}/appdata/gedit-wordcompletion.metainfo.xml
|
2011-12-21 15:59:53 +01:00
|
|
|
%{_libdir}/gedit/plugins/wordcompletion.plugin
|
|
|
|
%{_libdir}/gedit/plugins/libwordcompletion.so
|
2013-07-20 21:20:09 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.wordcompletion.gschema.xml
|
2010-05-14 00:57:07 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2014-08-23 13:51:55 +02:00
|
|
|
%files -n gedit-plugin-zeitgeist
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_datadir}/appdata/gedit-zeitgeist.metainfo.xml
|
|
|
|
%{_libdir}/gedit/plugins/zeitgeist.plugin
|
|
|
|
%{_libdir}/gedit/plugins/libzeitgeist.so
|
|
|
|
|
2010-05-14 00:57:07 +02:00
|
|
|
%changelog
|