Accepting request 522759 from GNOME:Factory

- Update descriptions and RPM categories.
  Replace old RPM macros. (forwarded request 522684 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/522759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gedit-plugins?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2017-09-13 19:44:58 +00:00 committed by Git OBS Bridge
commit ce67ea1284
2 changed files with 40 additions and 32 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Sep 8 22:50:09 UTC 2017 - jengelh@inai.de
- Update descriptions and RPM categories.
Replace old RPM macros.
-------------------------------------------------------------------
Tue Aug 29 12:37:28 UTC 2017 - dimstar@opensuse.org
- Fix patch tag line.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 1 12:59:52 UTC 2017 - hillwood@opensuse.org Wed Mar 1 12:59:52 UTC 2017 - hillwood@opensuse.org

View File

@ -18,22 +18,21 @@
Name: gedit-plugins Name: gedit-plugins
Version: 3.22.0
Release: 0
Summary: A collection of plugins for gedit Summary: A collection of plugins for gedit
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/Editors/Other Group: Productivity/Editors/Other
Version: 3.22.0 Url: http://live.gnome.org/GeditPlugins
Release: 0
Source: http://download.gnome.org/sources/gedit-plugins/3.22/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/gedit-plugins/3.22/%{name}-%{version}.tar.xz
Source1: gedit-plugins.SUSE Source1: gedit-plugins.SUSE
# PATCH-FIX-UPSTEAM 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 # 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 Patch0: bracketcompletion-use-key-release-event-to-work-wi.patch
Url: http://live.gnome.org/GeditPlugins
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: intltool BuildRequires: intltool
BuildRequires: pkg-config BuildRequires: pkgconfig
%if !0%{?is_opensuse} # configure tests for python gi-bindings of gucharmap
BuildRequires: translation-update-upstream BuildRequires: typelib-1_0-Gucharmap-2_90
%endif
BuildRequires: vala BuildRequires: vala
BuildRequires: yelp-tools BuildRequires: yelp-tools
BuildRequires: pkgconfig(dbus-python) BuildRequires: pkgconfig(dbus-python)
@ -44,11 +43,8 @@ BuildRequires: pkgconfig(libgit2-glib-1.0) >= 0.0.6
BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 1.7.0 BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 1.7.0
BuildRequires: pkgconfig(vte-2.91) BuildRequires: pkgconfig(vte-2.91)
BuildRequires: pkgconfig(zeitgeist-2.0) >= 0.9.12 BuildRequires: pkgconfig(zeitgeist-2.0) >= 0.9.12
# configure tests for python gi-bindings of gucharmap
BuildRequires: typelib-1_0-Gucharmap-2_90
Requires: %{name}-lang = %{version} Requires: %{name}-lang = %{version}
Requires: gedit >= 3.14.0 Requires: gedit >= 3.14.0
Enhances: gedit
Recommends: %{name}-data Recommends: %{name}-data
Suggests: gedit-plugin-bookmarks Suggests: gedit-plugin-bookmarks
Suggests: gedit-plugin-bracketcompletion Suggests: gedit-plugin-bracketcompletion
@ -68,34 +64,37 @@ Suggests: gedit-plugin-synctex
Suggests: gedit-plugin-terminal Suggests: gedit-plugin-terminal
Suggests: gedit-plugin-textsize Suggests: gedit-plugin-textsize
Suggests: gedit-plugin-wordcompletion Suggests: gedit-plugin-wordcompletion
BuildRoot: %{_tmppath}/%{name}-%{version}-build Enhances: gedit
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
%description %description
Here follows a list of plugins currently available in gedit-plugins: This package contains a number of plugins for gedit, such as:
* Bracket Completion Add automatically a closing bracket when you * Bracket Completion: Automatically adds a closing bracket when you
insert one insert an opening one
* Charmap Select characters from a charactermap * Charmap: Select characters from a charactermap
* Code Comment Comment or uncomment blocks of code * Code Comment: Comment or uncomment blocks of code
* Color picker Select and insert a color from a dialog (for html, * Color picker: Select and insert a color from a dialog (for html,
css, php) css, php)
* Join lines/ Split lines Join or split multiple lines through Ctrl+J * Join lines/Split lines: Join or split multiple lines through Ctrl+J
and Ctrl+Shift+J and Ctrl+Shift+J
* Session Saver Allow to bookmark working sessions in order to get * Session Saver: Allows to bookmark working sessions in order to get
them back for further use them back for further use
* Smart Spaces Allow to unindent like if you were using tabs while * Smart Spaces: Allows to unindent like if you were using tabs while
you're using spaces you're using spaces
* Show tabbar A very basic plugin which shows or hides the gedit tabbar * Show tabbar: A plugin to show or hide the gedit tabbar
* Terminal A simple terminal widget accessible from the bottom panel * Terminal: A terminal widget accessible from the bottom panel
%package -n %{name}-data %package -n %{name}-data
Summary: Common data required by plugins Summary: Common data required by gedit plugins
Group: Productivity/Editors/Other Group: Productivity/Editors/Other
Requires: gedit Requires: gedit
%description -n %{name}-data %description -n %{name}-data
Common files required by all plugins Common files required by gedit plugins
%package -n gedit-plugin-bookmarks %package -n gedit-plugin-bookmarks
Summary: Gedit bookmarks plugin Summary: Gedit bookmarks plugin
@ -260,10 +259,10 @@ The gedit wordcompletion plugin
%package -n gedit-plugin-zeitgeist %package -n gedit-plugin-zeitgeist
Summary: Zeitgeist dataprovider for gedit Summary: Zeitgeist dataprovider for gedit
Group: Productivity/Text/Editors
Requires: gedit
# For dashboard plugin # For dashboard plugin
Group: Productivity/Editors/Other
Requires: %{name}-data Requires: %{name}-data
Requires: gedit
Requires: zeitgeist Requires: zeitgeist
Supplements: packageand(gedit:zeitgeist) Supplements: packageand(gedit:zeitgeist)
@ -272,10 +271,11 @@ The zeitgeist plugin for gedit provides a zeitgeist dataprovider that
logs access and leave event for documents used with gedit. logs access and leave event for documents used with gedit.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
install %{S:1} . install %{SOURCE1} .
%if !0%{?is_opensuse} %if !0%{?is_opensuse}
translation-update-upstream translation-update-upstream
%endif %endif
@ -285,7 +285,7 @@ translation-update-upstream
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%makeinstall %make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name} %find_lang %{name}
%find_lang gedit %{name}.lang %find_lang gedit %{name}.lang
@ -293,9 +293,6 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%fdupes %{buildroot}/%{_libdir}/gedit/plugins %fdupes %{buildroot}/%{_libdir}/gedit/plugins
%fdupes %{buildroot}/%{_datadir}/help %fdupes %{buildroot}/%{_datadir}/help
%clean
rm -rf %{buildroot}
%post -n gedit-plugin-drawspaces %post -n gedit-plugin-drawspaces
%glib2_gsettings_schema_post %glib2_gsettings_schema_post