geany-plugins-vl.spec 15 KB

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