| 1 | Name: gedit-plugins |
|---|
| 2 | Version: 2.30.0 |
|---|
| 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: A collection Official Plugins for gedit |
|---|
| 5 | Summary: gedit の公式プラグイン集 |
|---|
| 6 | |
|---|
| 7 | Group: Applications/Editors |
|---|
| 8 | License: GPLv2+ |
|---|
| 9 | URL: http://live.gnome.org/GeditPlugins |
|---|
| 10 | Source0: ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/2.30/%{name}-%{version}.tar.bz2 |
|---|
| 11 | |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 13 | BuildRequires: intltool >= 0.35.0 |
|---|
| 14 | BuildRequires: perl >= 5.8.1 |
|---|
| 15 | BuildRequires: perl-XML-Parser |
|---|
| 16 | BuildRequires: gettext |
|---|
| 17 | BuildRequires: glib2-devel >= 2.16.0 |
|---|
| 18 | BuildRequires: gtk2-devel >= 2.13.0 |
|---|
| 19 | BuildRequires: GConf2-devel |
|---|
| 20 | BuildRequires: gtksourceview2-devel >= 2.5.1 |
|---|
| 21 | BuildRequires: gedit-devel >= 2.25.4 |
|---|
| 22 | BuildRequires: gucharmap-devel >= 2.23.0 |
|---|
| 23 | BuildRequires: gnome-doc-utils |
|---|
| 24 | BuildRequires: vte-devel |
|---|
| 25 | BuildRequires: pygtk2-devel >= 2.12.0 |
|---|
| 26 | BuildRequires: pygtksourceview-devel >= 2.2.0 |
|---|
| 27 | BuildRequires: pygobject-devel >= 2.15.4 |
|---|
| 28 | BuildRequires: python-devel |
|---|
| 29 | Requires: gedit |
|---|
| 30 | Requires: pygtk2 |
|---|
| 31 | Requires: pygtksourceview |
|---|
| 32 | Requires: pygobject |
|---|
| 33 | Requires(pre): GConf2 |
|---|
| 34 | Requires(post): GConf2 |
|---|
| 35 | Requires(preun): GConf2 |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | %description |
|---|
| 39 | A collection of Official plugins for gedit. |
|---|
| 40 | |
|---|
| 41 | * Bookmarks: Easy document navigation with bookmarks |
|---|
| 42 | * Bracket Completion: Automatically adds closing brackets. |
|---|
| 43 | * Character Map: Insert special characters just by clicking on them. |
|---|
| 44 | * Code comment: Comment out or uncomment a selected block of code. |
|---|
| 45 | * Color Picker: Pick a color from a dialog and insert its hexadecimal representation. |
|---|
| 46 | * Draw Spaces: Draw Spaces and Tabs |
|---|
| 47 | * Join/Split Lines: Join several lines or split long ones |
|---|
| 48 | * Session Saver: Save and restore your working sessions |
|---|
| 49 | * Show/Hide Tabbar: Add a menu entry to show/hide the tabbar. |
|---|
| 50 | * Smart Spaces: Forget you're not using tabulations. |
|---|
| 51 | * Embedded Terminal: Embed a terminal in the bottom pane. |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %description -l ja |
|---|
| 55 | gedit の公式プラグイン集です。 |
|---|
| 56 | |
|---|
| 57 | * ブックマーク: ブックマークを使って簡単にドキュメントを閲覧できるようにします。 |
|---|
| 58 | * 括弧の補完: 対応する閉じ括弧を自動的に追加します。 |
|---|
| 59 | * 文字マップ: 特殊な文字をクリックしながら挿入していきます。 |
|---|
| 60 | * コードのコメント: 選択した範囲をコメントアウトしたり解除します。 |
|---|
| 61 | * 色の取得: 色選択ダイアログから色を取得して 16進形式の文字列として挿入します。 |
|---|
| 62 | * 空白文字の表示: 空白やタブ文字を描画します。 |
|---|
| 63 | * 行の結合・分割: 複数の行と結合したり一行を分割したりします。 |
|---|
| 64 | * セッションの保存: 現在、作業中のセッションを保存したりリストアします。 |
|---|
| 65 | * タブバーの表示/非表示: タブバーの表示切り替えエントリをメニューに追加します。 |
|---|
| 66 | * スマート・スペース: 作表を使っていないことを忘れて下さい。 |
|---|
| 67 | * 埋め込み式の端末: ボトム・ペインに端末を埋め込みます。 |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | %prep |
|---|
| 71 | %setup -q |
|---|
| 72 | grep '"import vte' configure && sed \ |
|---|
| 73 | -i "s!import vte!import imp; imp.find_module('vte')!" configure |
|---|
| 74 | |
|---|
| 75 | %build |
|---|
| 76 | %configure --disable-schemas-install --enable-python |
|---|
| 77 | #--with-plugins=bracketcompletion,charmap,codecomment,colorpicker,drawspaces,joinlines,showtabbar,smartspaces,terminal,bookmarks |
|---|
| 78 | make %{?_smp_mflags} |
|---|
| 79 | |
|---|
| 80 | |
|---|
| 81 | %install |
|---|
| 82 | rm -rf $RPM_BUILD_ROOT |
|---|
| 83 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 84 | %find_lang %{name} |
|---|
| 85 | find $RPM_BUILD_ROOT/%{_libdir}/gedit-2/plugins -name "*.la" -exec rm {} \; |
|---|
| 86 | |
|---|
| 87 | |
|---|
| 88 | %clean |
|---|
| 89 | rm -rf $RPM_BUILD_ROOT |
|---|
| 90 | |
|---|
| 91 | |
|---|
| 92 | %pre |
|---|
| 93 | if [ "$1" -gt 1 ]; then |
|---|
| 94 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|---|
| 95 | gconftool-2 --makefile-uninstall-rule \ |
|---|
| 96 | %{_sysconfdir}/gconf/schemas/gedit-show-tabbar-plugin.schemas >/dev/null || : |
|---|
| 97 | fi |
|---|
| 98 | |
|---|
| 99 | |
|---|
| 100 | %post |
|---|
| 101 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|---|
| 102 | gconftool-2 --makefile-install-rule \ |
|---|
| 103 | %{_sysconfdir}/gconf/schemas/gedit-show-tabbar-plugin.schemas > /dev/null || : |
|---|
| 104 | |
|---|
| 105 | |
|---|
| 106 | |
|---|
| 107 | %preun |
|---|
| 108 | if [ "$1" -eq 0 ]; then |
|---|
| 109 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|---|
| 110 | gconftool-2 --makefile-uninstall-rule \ |
|---|
| 111 | %{_sysconfdir}/gconf/schemas/gedit-show-tabbar-plugin.schemas > /dev/null || : |
|---|
| 112 | fi |
|---|
| 113 | |
|---|
| 114 | %check |
|---|
| 115 | [ -f ${RPM_BUILD_ROOT}%{_libdir}/gedit-2/plugins/terminal.py ] |
|---|
| 116 | |
|---|
| 117 | |
|---|
| 118 | %files -f %{name}.lang |
|---|
| 119 | %defattr(-,root,root,-) |
|---|
| 120 | %doc README NEWS AUTHORS COPYING |
|---|
| 121 | %config(noreplace) %{_sysconfdir}/gconf/schemas/*.schemas |
|---|
| 122 | %{_libdir}/gedit-2/plugins/* |
|---|
| 123 | %{_datadir}/gedit-2/plugins/* |
|---|
| 124 | |
|---|
| 125 | |
|---|
| 126 | %changelog |
|---|
| 127 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1 |
|---|
| 128 | - new upstream release |
|---|
| 129 | - add BuildRequires: python-devel |
|---|
| 130 | |
|---|
| 131 | * Tue Dec 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.28.0-2 |
|---|
| 132 | - added BuildRequires: gedit-devel |
|---|
| 133 | |
|---|
| 134 | * Tue Nov 3 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.0-1 |
|---|
| 135 | - new upstream release |
|---|
| 136 | |
|---|
| 137 | * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.26.3-1 |
|---|
| 138 | - Update to upstream release |
|---|
| 139 | |
|---|
| 140 | * Fri Jun 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.26.2-1 |
|---|
| 141 | - Update to upstream release |
|---|
| 142 | |
|---|
| 143 | * Tue May 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.26.1-1 |
|---|
| 144 | - initial build for VineSeed |
|---|
| 145 | |
|---|
| 146 | * Sat Apr 11 2009 Dodji Seketeli <dodji@redhat.org> - 2.26.1-1 |
|---|
| 147 | - Update to upstream release 2..26.1 |
|---|
| 148 | - Fixes GNOME bugzilla bug #576766 - Crash when Configuring "Draw Spaces" |
|---|
| 149 | - Make sure to remove all *.la files |
|---|
| 150 | - Remove BuildRequire libgnomeui-devel as needless now |
|---|
| 151 | |
|---|
| 152 | * Fri Apr 10 2009 Dodji Seketeli <dodji@redhat.org> - 2.26.0-1 |
|---|
| 153 | - Update to upstream release (2.26.1) |
|---|
| 154 | - Add plugin files from %%{_datadir} |
|---|
| 155 | - Don't check for vte anymore, the package checks it pkg-config |
|---|
| 156 | - Add 'bookmarks' to the plugin set |
|---|
| 157 | |
|---|
| 158 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.3-4 |
|---|
| 159 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 160 | |
|---|
| 161 | * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.22.3-3 |
|---|
| 162 | - Rebuild for Python 2.6 |
|---|
| 163 | |
|---|
| 164 | * Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.3-2 |
|---|
| 165 | - Fixed buildrequires |
|---|
| 166 | |
|---|
| 167 | * Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.3-1 |
|---|
| 168 | - Updated to 2.22.3 |
|---|
| 169 | |
|---|
| 170 | * Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.0-2 |
|---|
| 171 | - rebuild to pick latest gucharmap |
|---|
| 172 | |
|---|
| 173 | * Tue Mar 18 2008 Trond Danielsen <trond.danielsen@gmail.com> - 2.22.0-1 |
|---|
| 174 | - Updated. |
|---|
| 175 | |
|---|
| 176 | * Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 2.18.0-2 |
|---|
| 177 | - Disable buggy session saver plugin. |
|---|
| 178 | - Removed static libraries. |
|---|
| 179 | |
|---|
| 180 | * Sun Apr 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 2.18.0-1 |
|---|
| 181 | - Initial version. |
|---|