gedit-plugins-vl.spec 6.2 KB

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