source: projects/specs/trunk/g/geany-plugins/geany-plugins-vl.spec @ 1536

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