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

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