commit 17e425dd9a4abdfb33239cc0045b0616ce7dc37c
Author: Dominic Hopf <dmaphy(a)fedoraproject.org>
Date: Sun Aug 1 02:20:23 2010 +0200
* Sun Aug 01 2010 Dominic Hopf <dmaphy(a)fedoraproject.org> 0.19-1
- New upstream release: Geany Plugins 0.19 which brings some
new plugins: codenav, treebrowser, geanyextrasel, geanyinsertnum,
pretty print and geanygendoc
- redordered plugins according to Geany's plugin manager dialog
- correct license to GPLv3+
- be more particular with BuildRequires
- remove zero-length documentation files
- fix various spelling errors
geany-plugins.spec | 296 +++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 222 insertions(+), 74 deletions(-)
---
diff --git a/geany-plugins.spec b/geany-plugins.spec
index 4b9c6a5..dc1bd8c 100644
--- a/geany-plugins.spec
+++ b/geany-plugins.spec
@@ -1,31 +1,43 @@
%global geany_plug_docdir %{_defaultdocdir}/%{name}-%{version}
-%global req_geany_ver 0.18.1
+%global req_geany_ver 0.19
Name: geany-plugins
-Version: 0.18
-Release: 2%{?dist}
+Version: 0.19
+Release: 1%{?dist}
Summary: Plugins for Geany
Group: Development/Tools
-License: GPLv2+
+License: GPLv3+
URL:
http://plugins.geany.org/
Source0:
http://plugins.geany.org/geany-plugins/geany-plugins-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: geany-devel >= %{req_geany_ver} gettext intltool pkgconfig
-BuildRequires: lua-devel enchant-devel gtkspell-devel
+BuildRequires: lua-devel >= 5.1
+BuildRequires: enchant-devel >= 1.3 gtkspell-devel >= 2.0
+BuildRequires: libxml2-devel >= 2.6.27
+BuildRequires: ctpl-devel >= 0.2
%description
Plugins for Geany. Plugins included are:
-* Addons (various small addons)
-* Geanygdb (provides integration with gdb)
-* Geanylatex (improved support for LaTeX documents)
-* Geanylipsum (for inserting blocks of Lorem Ipsum text)
-* Geanylua (provides support for scripting with Lua)
-* Geanysendmail (allows sending of documents from within Geany)
-* Geanyvc (support for various version control systems)
-* Shiftcolumn (for moving blocks of text horizontally)
-* Spellcheck (for spell checking documents)
+* Addons (Various small Addons)
+* Code navigation (Navigate through your source code easily)
+* Geanydoc (Call specific documentation from within Geany)
+* Geanyextrasel (Additional features for selecting code)
+* GeanyGenDoc (Automatically generate documentation source code)
+* GeanyGDB (Integration with GDB)
+* GeanyLaTeX (Improved Support for LaTeX documents)
+* GeanyLipsum (Inserting blocks of Lorem Ipsum text)
+* GeanySendMail (Sending of documents from within Geany)
+* GeanyVC (Support for various Version Control Systems)
+* Geanyinsertnum (Insert huge number ranges with small efforts)
+* Geanylua (Support for Scripting with Lua)
+* Geanyprj (Alternate project management for Geany)
+* Shiftcolumn (Moving blocks of text horizontally)
+* Spellcheck (Spell checking of documents or marked text)
+* Treebrowser (Alternate file browser with tree view of folders)
+* XML Pretty Printer
+
%package common
Summary: Common files used by all geany plugins
@@ -46,20 +58,87 @@ Requires: geany-plugins-common = %{version}-%{release}
%description addons
This plugins consists of various small addons too small to justify their own
plugin, but are useful to have. The following functionality is implemented:
-* Doclist: This addon places a new item in the toolbar and when clicked offers
- a menu listing all open files plus the 'Close All' and 'Close Other
+* Doclist: This addon places a new item in the toolbar and when clicked
+ offers a menu listing all open files plus the 'Close All' and 'Close Other
Documents' menu items. This can be useful to quickly access open files and
switch to them.
* OpenURI: Adds 'Open URI' and 'Copy URI' menu items to the editor menu
when
the word under the cursor looks like a URI. 'Open URI' uses the browser
command configured in Geany to open it.
-* Tasks:The tasks plugin goes through a file being edited and picks out lines
- with "TODO" or "FIXME" in them. It collects the text after those
words and
- puts them in a new "Tasks" tab in the message window. Clicking on a task in
- that tab takes you to the line in the file where the task was defined.
+* Tasks: The tasks plugin goes through a file being edited and picks out
+ lines with configurable keywords (e.g. "TODO" or "FIXME") in them.
It
+ collects the text after those words and puts them in a new "Tasks" tab in
+ the message window. Clicking on a task in that tab takes you to the line in
+ the file where the task was defined.
* Systray: Adds a status icon to the notification area (systray) and provides
- a simple popup menu with some basic actions. It can also be used to quickly
- show and hide the Geany main window.
+ a simple popup menu with some basic actions. It can also be used to
+ quickly show and hide the Geany main window.
+* Bookmark List: Add a list of defined bookmarks (line markers) to the sidebar.
+ This list contains all bookmarks defined in the current file
+ for faster overview and access.
+* Mark Word: When double-clicking a word, all occurrences of this word are
+ searched and then highlighted (similar to Geany's 'Mark All' Find option).
+* Strip trailing blank lines: This addon removes excessive trailing blank
+ lines from the document when it is saved. If you have 'Ensure new line at
+ file end' option checked in Preferences, one trailing newline will be left.
+* XMLtagging: XMLtagging allows to easy tag a selected text, by checking for a
+ selection, offering a little dialog for inserting a tag and
+ replacing a selection.
+
+
+%package codenav
+Summary: Navigate through your source code easily
+Group: Development/Tools
+Requires: geany >= %{req_geany_ver}
+Requires: geany-plugins-common = %{version}-%{release}
+
+%description codenav
+This plugin adds some facilities for navigating in the code.
+Actually, it will make it possible to:
+- switch between header and implementation
+- go to a file by typing its name
+
+
+%package geanydoc
+Summary: Call documentation from within Geany
+Group: Development/Tools
+Requires: geany >= %{req_geany_ver}
+Requires: geany-plugins-common = %{version}-%{release}
+
+%description geanydoc
+Geanydoc allows you to execute specific commands on the word under the cursor.
+This word is passed as an argument to the command. The output of the command
+can either be placed into a special buffer called "DOC" or can be used to
+execute an external program. Geanydoc is intended to be used for searching
+through API documentation.
+
+
+%package geanygendoc
+Summary: Automatically generate documentation source code
+Group: Development/Tools
+Requires: geany >= %{req_geany_ver}
+Requires: geany-plugins-common = %{version}-%{release}
+
+%description geanygendoc
+GeanyGenDoc is a plugin for Geany that aims to automatically generate
+documentation comment basis from the source code.
+
+You may also want to install the following packages which enable
+some extra features:
+ - Docutils (
http://docutils.sourceforge.net/) -- or another implementation of
+ rst2html -- is needed to (re)generate the HTML manual.
+
+
+%package geanyextrasel
+Summary: Additional features for selecting code
+Group: Development/Tools
+Requires: geany >= %{req_geany_ver}
+Requires: geany-plugins-common = %{version}-%{release}
+
+%description geanyextrasel
+Geanyextrasel provides some special features for selecting code, e.g. from
+opening brace to closed brace and so on. This plugin will be very useful for
+you if you're a programmer and working with much sourcecodes.
%package geanygdb
@@ -98,20 +177,6 @@ GeanyLipsum is a Lorem Ipsum generator for inserting placeholder text
into a
document.
-%package geanylua
-Summary: Lua Scripting for Geany
-Group: Development/Tools
-Requires: geany >= %{req_geany_ver}
-Requires: geany-plugins-common = %{version}-%{release}
-Requires: lua
-
-
-
-%description geanylua
-This plugin provides extensive support for developing in the lua programming
-language.
-
-
%package geanysendmail
Summary: Send E-Mails from within Geany
Group: Development/Tools
@@ -145,6 +210,50 @@ version control systems is provided:
* CVS
+%package geanyinsertnum
+Summary: Insert huge number ranges with small efforts
+Group: Development/Tools
+Requires: geany >= %{req_geany_ver}
+Requires: geany-plugins-common = %{version}-%{release}
+
+%description geanyinsertnum
+Geanyinsertnum replaces a (possibly zero-width) rectangular selection with
+integer numbers, using start/step/base etc. specified by the user. For
+practical reasons, the number of lines is limited to 500000.
+
+
+%package geanylua
+Summary: Lua Scripting for Geany
+Group: Development/Tools
+Requires: geany >= %{req_geany_ver}
+Requires: geany-plugins-common = %{version}-%{release}
+Requires: lua
+
+%description geanylua
+This plugin provides extensive support for developing in the lua programming
+language.
+
+
+%package geanyprj
+Summary: Provides an alternate project management tool for Geany
+Group: Development/Tools
+Requires: geany >= %{req_geany_ver}
+Requires: geany-plugins-common = %{version}-%{release}
+
+%description geanyprj
+Geanyprj provides an alternate project management approach to Geany's built-in
+project facility. The idea is to be less a "session manager" as the built-in
+project management does: It allows/requires you to manually open and close
+project and allows you to store project files in different locations from
+project sources.
+
+Geanyprj takes a different approach:
+It never saves session information, so that project files can be stored in
+version control without constant noise from changes of opened files or cursor
+position. You also will never have to open/close projects manually. If a
+*.geanyprj file is found somewhere up in path it will be opened automatically.
+
+
%package shiftcolumn
Summary: Move Blocks of Text horizontally
Group: Development/Tools
@@ -167,38 +276,27 @@ Spellcheck checks the selected text (or the whole document) with the
spellcheck
library Enchant
-%package geanydoc
-Summary: Call documentation from within Geany
+%package treebrowser
+Summary: Alternate file browser plugin providing a tree view of directories
Group: Development/Tools
Requires: geany >= %{req_geany_ver}
Requires: geany-plugins-common = %{version}-%{release}
-%description geanydoc
-Geanydoc allows you to execute specific commands on the word under the cursor.
-This word is passed as an argument to the command. The output of the command
-can either be placed into a special buffer called "DOC" or can be used to
-execute an external program. Geanydoc is intended to be used for searching
-through API documentation.
+%description treebrowser
+The tree browser plugin for Geany provides an alternate way to browse through
+your files. It displays files and directories in a tree view and has more
+features than the file browser plugin delivered with Geany itself.
-%package geanyprj
-Summary: Provides an alternate project management tool for Geany
+%package pretty-print
+Summary: XML pretty printing plugin for Geany
Group: Development/Tools
Requires: geany >= %{req_geany_ver}
Requires: geany-plugins-common = %{version}-%{release}
+Requires: libxml2 >= 2.6.27
-%description geanyprj
-Geanyprj provides an alternate project management approach to Geany's built-in
-project facility. The idea is to be less a "session manager" as the built-in
-project management does: It allows/requires you to manually open and close
-project and allows you to store project files in different locations from
-project sources.
-
-Geanyprj takes a different approach:
-It never saves session information, so that project files can be stored in
-version control without constant noise from changes of opened files or cursor
-position. You also will never have to open/close projects manually. If a
-*.geanyprj file is found somewhere up in path it will be opened automatically.
+%description pretty-print
+Plugin for Geany to easily beautify XML code.
%prep
@@ -215,11 +313,14 @@ rm -rf $RPM_BUILD_ROOT
make install -p DESTDIR=$RPM_BUILD_ROOT
# Remove static library *.la files
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' \;
+find $RPM_BUILD_ROOT -name '*.la' -delete
-%find_lang %{name}
+# Remove zero-length files
+find $RPM_BUILD_ROOT -type f -empty -delete
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -236,6 +337,31 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/geany/addons.so
+%files codenav
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/codenav
+%{_libdir}/geany/codenav.so
+
+
+%files geanydoc
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geanydoc/
+%{_libdir}/geany/geanydoc.so
+
+
+%files geanygendoc
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geanygendoc/
+%{_libdir}/geany/geanygendoc.so
+%{_datadir}/%{name}/geanygendoc/
+
+
+%files geanyextrasel
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geanyextrasel/
+%{_libdir}/geany/geanyextrasel.so
+
+
%files geanygdb
%defattr(-,root,root,-)
%doc %{geany_plug_docdir}/geanygdb/
@@ -255,14 +381,6 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/geany/geanylipsum.so
-%files geanylua
-%defattr(-,root,root,-)
-%doc %{geany_plug_docdir}/geanylua/
-%{_libdir}/geany/geanylua.so
-%{_datadir}/%{name}/geanylua/
-%{_libdir}/%{name}/geanylua/
-
-
%files geanysendmail
%defattr(-,root,root,-)
%doc %{geany_plug_docdir}/geanysendmail/
@@ -275,6 +393,26 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/geany/geanyvc.so
+%files geanyinsertnum
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geanyinsertnum/
+%{_libdir}/geany/geanyinsertnum.so
+
+
+%files geanylua
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geanylua/
+%{_libdir}/geany/geanylua.so
+%{_datadir}/%{name}/geanylua/
+%{_libdir}/%{name}/geanylua/
+
+
+%files geanyprj
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geanyprj/
+%{_libdir}/geany/geanyprj.so
+
+
%files shiftcolumn
%defattr(-,root,root,-)
%doc %{geany_plug_docdir}/shiftcolumn/
@@ -287,19 +425,29 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/geany/spellcheck.so
-%files geanydoc
+%files treebrowser
%defattr(-,root,root,-)
-%doc %{geany_plug_docdir}/geanydoc/
-%{_libdir}/geany/geanydoc.so
+%doc %{geany_plug_docdir}/treebrowser/
+%{_libdir}/geany/treebrowser.so
-%files geanyprj
+%files pretty-print
%defattr(-,root,root,-)
-%doc %{geany_plug_docdir}/geanyprj/
-%{_libdir}/geany/geanyprj.so
+%{_libdir}/geany/pretty-print.so
+
%changelog
+* Sun Aug 01 2010 Dominic Hopf <dmaphy(a)fedoraproject.org> 0.19-1
+- New upstream release: Geany Plugins 0.19 which brings some
+ new plugins: codenav, treebrowser, geanyextrasel, geanyinsertnum,
+ pretty print and geanygendoc
+- redordered plugins according to Geany's plugin manager dialog
+- correct license to GPLv3+
+- be more particular with BuildRequires
+- remove zero-length documentation files
+- fix various spelling errors
+
* Sun Jan 14 2010 Dominic Hopf <dmaphy(a)fedoraproject.org> 0.18-2
- Build against and require Geany 0.18.1