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

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