geany-plugins-vl.spec 19 KB

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