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