gedit-plugins-vl.spec 6.1 KB

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