geany-plugins-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. %global geany_plug_docdir %{_defaultdocdir}/%{name}-%{version}
  2. %global req_geany_ver 0.18
  3. Name: geany-plugins
  4. Version: 0.18
  5. Release: 2%{?_dist_release}
  6. Summary: Plugins for Geany
  7. Summary(ja): Geany のプラグイン集
  8. Group: Development/Tools
  9. License: GPLv2+
  10. URL: http://plugins.geany.org/
  11. Source0: http://plugins.geany.org/geany-plugins/geany-plugins-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: geany-devel >= %{req_geany_ver} gettext intltool pkgconfig libtool
  14. BuildRequires: lua-devel enchant-devel gtkspell-devel
  15. %description
  16. Plugins for Geany. Plugins included are:
  17. * Addons (various small addons)
  18. * Geanygdb (provides integration environment with gdb)
  19. * Geanylatex (improved support for LaTeX documents)
  20. * Geanylipsum (for inserting blocks of Lorem Ipsum text)
  21. * Geanylua (provides support for scripting with Lua)
  22. * Geanysendmail (allows sending of documents from within Geany)
  23. * Geanyvc (support for various version control systems)
  24. * Shiftcolumn (for moving blocks of text horizontally)
  25. * Spellcheck (for spell checking documents)
  26. This package is meta package to install all geany-plugins.
  27. %description -l ja
  28. Geany のプラグインです。プラグインには以下のものが含まれています。
  29. * Addons (色々と小さなアドオン)
  30. * Geanygdb (gdb 統合環境を提供)
  31. * Geanylatex (LaTeX ドキュメントのサポートを改善)
  32. * Geanylipsum (Lorem Ipsum テキストのブロックを挿入)
  33. * Geanylua (lua スクリプトのサポートを提供)
  34. * Geanysendmail (Geany からドキュメントの送信を許可)
  35. * Geanyvc (色々なバージョン管理システムのサポート)
  36. * Shiftcolumn (テキストブロックを水平方向に移動)
  37. * Spellcheck (ドキュメントのスペルチェック)
  38. このパッケージは、geany-plugins をすべてインストールするための
  39. メタパッケージです。
  40. %package common
  41. Summary: Common files used by all geany plugins
  42. Summary(ja): すべての Geany プラグインに用いられる共通ファイル
  43. Group: Development/Tools
  44. Requires: geany >= %{req_geany_ver}
  45. %description common
  46. This package contains some common files which are used by every Geany plugin,
  47. e.g. language translations.
  48. %description common -l ja
  49. このパッケージには、例えば翻訳ファイルなどの
  50. すべての Geany プラグイン で用いられる共通ファイルが含まれています。
  51. %package addons
  52. Summary: Miscellaneous Addons for Geany
  53. Summary(ja): Geany のその他のアドオン
  54. Group: Development/Tools
  55. Requires: geany >= %{req_geany_ver}
  56. Requires: geany-plugins-common = %{version}-%{release}
  57. Obsoletes: geany-plugin-addons
  58. %description addons
  59. This plugins consists of various small addons too small to justify their own
  60. plugin, but are useful to have. The following functionality is implemented:
  61. * Doclist: This addon places a new item in the toolbar and when clicked offers
  62. a menu listing all open files plus the 'Close All' and 'Close Other
  63. Documents' menu items. This can be useful to quickly access open files and
  64. switch to them.
  65. * OpenURI: Adds 'Open URI' and 'Copy URI' menu items to the editor menu when
  66. the word under the cursor looks like a URI. 'Open URI' uses the browser
  67. command configured in Geany to open it.
  68. * Tasks:The tasks plugin goes through a file being edited and picks out lines
  69. with "TODO" or "FIXME" in them. It collects the text after those words and
  70. puts them in a new "Tasks" tab in the message window. Clicking on a task in
  71. that tab takes you to the line in the file where the task was defined.
  72. * Systray: Adds a status icon to the notification area (systray) and provides
  73. a simple popup menu with some basic actions. It can also be used to quickly
  74. show and hide the Geany main window.
  75. %package geanygdb
  76. Summary: Debugger Plugin for Geany using GDB
  77. Summary(ja): GDB を使った Geany のデバッガプラグイン
  78. Group: Development/Tools
  79. Requires: geany >= %{req_geany_ver}
  80. Requires: geany-plugins-common = %{version}-%{release}
  81. Requires: gdb
  82. Obsoletes: geany-plugin-gdb
  83. %description geanygdb
  84. GeanyGDB plugin provides an integrated debugging environment for the
  85. GNU debugger (gdb).
  86. %description geanygdb -l ja
  87. GeanyGDB プラグインは GNU debugger (gdb) のための
  88. 統合的デバッグ環境を提供します。
  89. %package geanylatex
  90. Summary: to improve LaTeX support plugin for Geany
  91. Summary(ja): Geany のための LaTeX サポート改善プラグイン
  92. Group: Development/Tools
  93. Requires: geany >= %{req_geany_ver}
  94. Requires: geany-plugins-common = %{version}-%{release}
  95. Requires: tetex
  96. Obsoletes: geany-plugin-latex
  97. %description geanylatex
  98. This plugin improves LaTeX support in Geany. It provides several templates for
  99. new documents, help with adding labels and inserting special characters,
  100. and much more.
  101. %description geanylatex -l ja
  102. このプラグインは Geany で LaTeX のサポートを改善するプラグインです。
  103. 新しい文書のためのいくつかのテンプレート、
  104. ラベルの追加や特殊文字の挿入機能などを提供します。
  105. %package geanylipsum
  106. Summary: Lorem Ipsum generator for Inserting Placeholder Text
  107. Group: Development/Tools
  108. Requires: geany >= %{req_geany_ver}
  109. Requires: geany-plugins-common = %{version}-%{release}
  110. %description geanylipsum
  111. GeanyLipsum is a Lorem Ipsum generator for inserting placeholder text into a
  112. document.
  113. %package geanylua
  114. Summary: Support developing Lua Scripting for Geany
  115. Summary(ja): Geany で Lua スクリプト開発をサポート
  116. Group: Development/Tools
  117. Requires: geany >= %{req_geany_ver}
  118. Requires: geany-plugins-common = %{version}-%{release}
  119. Requires: lua
  120. %description geanylua
  121. This plugin provides extensive support for developing in the lua programming
  122. language.
  123. %description geanylua -l ja
  124. このプラグインは、lua プログラミング言語で開発するための
  125. 広範なサポートを提供します。
  126. %package geanysendmail
  127. Summary: Send E-Mails from within Geany
  128. Summary(ja): Geany 内から E-Mail を送信するプラグイン
  129. Group: Development/Tools
  130. Requires: geany >= %{req_geany_ver}
  131. Requires: geany-plugins-common = %{version}-%{release}
  132. %description geanysendmail
  133. GeanySendMail is a little plugin to send a document as attachment using the
  134. preferred mail client from inside Geany. It is similar to the envelope symbol
  135. of most office tools and requires a mail client that supports remote calls.
  136. %package geanyvc
  137. Summary: Version Control plugin for Geany
  138. Summary(ja): Geany のバージョン管理プラグイン
  139. Group: Development/Tools
  140. Requires: geany >= %{req_geany_ver}
  141. Requires: geany-plugins-common = %{version}-%{release}
  142. Obsoletes: geany-plugin-vc
  143. Provides: geanyvc = %{version}-%{release}
  144. %description geanyvc
  145. Geanyvc is a plugin that provides a uniform way of accessing different version
  146. control systems from within the Geany IDE. Currently, support for the following
  147. version control systems is provided:
  148. * Bazaar
  149. * Git
  150. * Mercurial
  151. * Subversion
  152. * SVK
  153. * CVS
  154. %description geanyvc -l ja
  155. Geanyvc は Geany IDE から異なるバージョン管理システムにアクセスする
  156. 均一的方法を提供するプラグインです。
  157. 現在、サポートするバージョン管理システムは以下の通りです。
  158. * Bazaar
  159. * Git
  160. * Mercurial
  161. * Subversion
  162. * SVK
  163. * CVS
  164. %package shiftcolumn
  165. Summary: Move Blocks of Text horizontally
  166. Summary(ja): テキストブロックを水平方向に移動
  167. Group: Development/Tools
  168. Requires: geany >= %{req_geany_ver}
  169. Requires: geany-plugins-common = %{version}-%{release}
  170. %description shiftcolumn
  171. Shiftcolumn allows you to move blocks of text horizontally in Geany.
  172. %description shiftcolumn -l ja
  173. Shiftcolumn は Geany 内でテキストブロックを水平方向に移動させることが
  174. できます。
  175. %package spellcheck
  176. Summary: Spellcheck Text in Geany using the Enchant Library
  177. Summary(ja): Enchant ライブラリを使い Geany でスペルチェック
  178. Group: Development/Tools
  179. Requires: geany >= %{req_geany_ver}
  180. Requires: geany-plugins-common = %{version}-%{release}
  181. Requires: enchant
  182. %description spellcheck
  183. Spellcheck checks the selected text (or the whole document) with the spellcheck
  184. library Enchant.
  185. %description spellcheck -l ja
  186. Spellcheck は、選択したテキスト(または文書全体)のスペルチェックを
  187. スペルチェックライブラリの Enchant で行います。
  188. %package geanydoc
  189. Summary: Call documentation from within Geany
  190. Summary(ja): Geany 内からマニュアルを呼び出す
  191. Group: Development/Tools
  192. Requires: geany >= %{req_geany_ver}
  193. Requires: geany-plugins-common = %{version}-%{release}
  194. %description geanydoc
  195. Geanydoc allows you to execute specific commands on the word under the cursor.
  196. This word is passed as an argument to the command. The output of the command
  197. can either be placed into a special buffer called "DOC" or can be used to
  198. execute an external program. Geanydoc is intended to be used for searching
  199. through API documentation.
  200. %package geanyprj
  201. Summary: Provides an alternate project management tool for Geany
  202. Summary(ja): Geany で代替プロジェクト管理ツールを提供
  203. Group: Development/Tools
  204. Requires: geany >= %{req_geany_ver}
  205. Requires: geany-plugins-common = %{version}-%{release}
  206. %description geanyprj
  207. Geanyprj provides an alternate project management approach to Geany's built-in
  208. project facility. The idea is to be less a "session manager" as the built-in
  209. project management does: It allows/requires you to manually open and close
  210. project and allows you to store project files in different locations from
  211. project sources.
  212. Geanyprj takes a different approach:
  213. It never saves session information, so that project files can be stored in
  214. version control without constant noise from changes of opened files or cursor
  215. position. You also will never have to open/close projects manually. If a
  216. *.geanyprj file is found somewhere up in path it will be opened automatically.
  217. %prep
  218. %setup -q
  219. %build
  220. %configure --docdir=%{geany_plug_docdir}
  221. make %{?_smp_mflags}
  222. %install
  223. rm -rf $RPM_BUILD_ROOT
  224. make install -p DESTDIR=$RPM_BUILD_ROOT
  225. # Remove static library *.la files
  226. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' \;
  227. %find_lang %{name}
  228. %clean
  229. rm -rf $RPM_BUILD_ROOT
  230. %files
  231. %files common -f %{name}.lang
  232. %defattr(-,root,root,-)
  233. %dir %{_libdir}/%{name}/
  234. %dir %{_datadir}/%{name}/
  235. %files addons
  236. %defattr(-,root,root,-)
  237. %doc %{geany_plug_docdir}/addons
  238. %{_libdir}/geany/addons.so
  239. %files geanygdb
  240. %defattr(-,root,root,-)
  241. %doc %{geany_plug_docdir}/geanygdb/
  242. %{_libdir}/geany/geanygdb.so
  243. %{_libexecdir}/geany-plugins/geanygdb/ttyhelper
  244. %files geanylatex
  245. %defattr(-,root,root,-)
  246. %doc %{geany_plug_docdir}/geanylatex/
  247. %{_libdir}/geany/geanylatex.so
  248. %files geanylipsum
  249. %defattr(-,root,root,-)
  250. %doc %{geany_plug_docdir}/geanylipsum/
  251. %{_libdir}/geany/geanylipsum.so
  252. %files geanylua
  253. %defattr(-,root,root,-)
  254. %doc %{geany_plug_docdir}/geanylua/
  255. %{_libdir}/geany/geanylua.so
  256. %{_datadir}/%{name}/geanylua/
  257. %{_libdir}/%{name}/geanylua/
  258. %files geanysendmail
  259. %defattr(-,root,root,-)
  260. %doc %{geany_plug_docdir}/geanysendmail/
  261. %{_libdir}/geany/geanysendmail.so
  262. %files geanyvc
  263. %defattr(-,root,root,-)
  264. %doc %{geany_plug_docdir}/geanyvc/
  265. %{_libdir}/geany/geanyvc.so
  266. %files shiftcolumn
  267. %defattr(-,root,root,-)
  268. %doc %{geany_plug_docdir}/shiftcolumn/
  269. %{_libdir}/geany/shiftcolumn.so
  270. %files spellcheck
  271. %defattr(-,root,root,-)
  272. %doc %{geany_plug_docdir}/spellcheck/
  273. %{_libdir}/geany/spellcheck.so
  274. %files geanydoc
  275. %defattr(-,root,root,-)
  276. %doc %{geany_plug_docdir}/geanydoc/
  277. %{_libdir}/geany/geanydoc.so
  278. %files geanyprj
  279. %defattr(-,root,root,-)
  280. %doc %{geany_plug_docdir}/geanyprj/
  281. %{_libdir}/geany/geanyprj.so
  282. %changelog
  283. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.18-2
  284. - fixed Obsoletes geany-plugin-addons, geany-plugin-gdb, geany-plugin-latex, geany-plugin-vc
  285. (see [BTS:VineLinux:0894])
  286. - proved Summary(ja)
  287. * Wed Nov 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.18-1
  288. - initial build for Vine Linux (instead of now provided some geany-plugins)
  289. * Sat Oct 31 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.18-1
  290. - update to new upstream release
  291. * Sat Aug 16 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17.1-6
  292. - build against and require geany 0.18
  293. * Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.17.1-5
  294. - Use bzipped upstream tarball.
  295. * Sat Jul 25 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17.1-4
  296. - write BuildRequires at the beginning of this file
  297. * Wed Jul 22 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17.1-3
  298. - remove Requires: geany from the main package
  299. - change Group to Development/Tools
  300. - add release to the geanyvc Provides
  301. - entirely remove %%files stanza for the main package
  302. * Wed Jul 22 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17.1-2
  303. - fix the required geany version also in the subpackages
  304. - remove the requires to sub-packages to avoid building the metapackage since
  305. all geany plugins also can be installed by something like
  306. 'yum install geany-plugins-*'
  307. - fix the requires of geany-plugins-common to include the release
  308. * Wed Jul 22 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17.1-1
  309. - bump upstream version to 0.17.1
  310. - fix required geany version to be 0.16 at the present
  311. * Sat Jul 18 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17-5
  312. - add Requires for metapackage
  313. - rename subpackages back to geany-plugins-* instead of geany-plugin-*
  314. * Fri Jul 17 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17-4
  315. - readd the geany_plug_docdir global to fix the versioned directory issue for
  316. documentation files
  317. - replace geany-plugins with %%{name} to be more consistent with macro usage
  318. - remove zero-length documentation files
  319. - fix the changelog
  320. - remove static *.la-files
  321. - split up packages
  322. * Wed Jul 15 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17-3
  323. - add %%{_datadir}/geany-plugins/geanylua/ to %%files-section
  324. * Wed Jul 15 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17-2
  325. - fix %%files-section again, thanks to Jonathan for the hint.
  326. * Tue Jul 14 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.17-1
  327. - update URL to plugins.geany.org
  328. * Tue Jul 14 2009 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 0.17-0.2
  329. - Add Obsoletes for geanyvc
  330. - Add more BuildRequires and Requires
  331. * Tue Jul 14 2009 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 0.17-0.1
  332. - Update to 0.17 (first upstream release of tarball)
  333. - Fix handling of docs
  334. - Spec file cleanups
  335. * Mon Jun 22 2009 Pingou <pingou@pingoured.fr> 0.1-1
  336. - First RPM for Fedora