Преглед на файлове

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6606 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh преди 11 години
родител
ревизия
abf067a3e7
променени са 1 файла, в които са добавени 188 реда и са изтрити 110 реда
  1. 188 110
      g/geany-plugins/geany-plugins-vl.spec

+ 188 - 110
g/geany-plugins/geany-plugins-vl.spec

@@ -2,8 +2,8 @@
 %global req_geany_ver 0.21
 
 Name:           geany-plugins
-Version:        0.21
-Release:        2%{?_dist_release}
+Version:        1.22
+Release:        1%{?_dist_release}
 Summary:        Plugins for Geany
 Summary(ja):    Geany のプラグイン集
 
@@ -11,6 +11,7 @@ Group:          Development/Tools
 License:        GPLv3
 URL:            http://plugins.geany.org/
 Source0:        http://plugins.geany.org/geany-plugins/geany-plugins-%{version}.tar.bz2
+Patch0: fix_installation_path_of_geanylatex_documents.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
 BuildRequires:  ctpl-devel >= 0.2
@@ -25,22 +26,25 @@ BuildRequires:  gtk2-devel
 BuildRequires:  gtkspell-devel
 BuildRequires:  intltool
 BuildRequires:  libtool
+BuildRequires:  libsoup-devel >= 2.4
 BuildRequires:  lua-devel
 BuildRequires:  libxml2-devel >= 2.6.27
 BuildRequires:  pango-devel
 BuildRequires:  pkgconfig
 BuildRequires:  python-docutils
+BuildRequires:  vala-devel
 BuildRequires:  vte-devel
 BuildRequires:  WebKit-gtk-devel
 
-Requires:  %{name}-addons %{name}-geanydoc %{name}-geanygdb %{name}-geanylatex
+Requires:  %{name}-addons %{name}-geanydoc %{name}-geanylatex
 Requires:  %{name}-geanylipsum %{name}-geanylua %{name}-geanyprj %{name}-geanysendmail
 Requires:  %{name}-geanyvc %{name}-shiftcolumn %{name}-spellcheck
 Requires:  %{name}-codenav %{name}-treebrowser %{name}-geanyextrasel
-Requires:  %{name}-geanyinsertnum %{name}-pretty-print %{name}-geanygendoc
+Requires:  %{name}-geanyinsertnum %{name}-pretty-printer %{name}-geanygendoc
 Requires:  %{name}-updatechecker %{name}-webhelper
 Requires:  %{name}-debugger %{name}-xmlsnippets %{name}-geanymacro %{name}-geanynumberedbookmarks
 Requires:  %{name}-geanypg %{name}-gproject %{name}-tableconvert
+Requires:  %{name}-geanyminiscript %{name}-geniuspaste %{name}-multiterm
 
 %description
 Plugins for Geany. Plugins included are:
@@ -50,7 +54,7 @@ Plugins for Geany. Plugins included are:
 * Geanydoc (Call specific documentation from within Geany)
 * Geanyextrasel (Additional features for selecting code)
 * GeanyGenDoc (Automatically generate documentation source code)
-* GeanyGDB (Integration with GDB)
+#* GeanyGDB (Integration with GDB)
 * Geanyinsertnum (Insert huge number ranges with small efforts)
 * GeanyLaTeX (Improved Support for LaTeX documents)
 * GeanyLipsum (Inserting blocks of Lorem Ipsum text)
@@ -70,6 +74,9 @@ Plugins for Geany. Plugins included are:
 * Updatechecker (Automatically check for Geany updates)
 * Webhelper (Preview and Debug Web documents from within Geany using WebKit)
 * XMLSnippets (Extends XML/HTML tag autocompletion provided by Geany)
+* GeanyMiniScript (A tool to apply a script on a text selection or current document(s))
+* GeniusPaste (Paste your code on your favorite pastebin)
+* MultiTerm (Multi-tabbed virtual terminal emulator)
 
 This package is meta package to install all geany-plugins.
 
@@ -81,7 +88,7 @@ Geany のプラグインです。プラグインには以下のものが含ま
 * Geanydoc (geany から固有のドキュメントを呼び出す)
 * Geanyextrasel (コード選択のための追加機能)
 * GeanyGenDoc (ソースコードから自動的にドキュメントの元を生成)
-* GeanyGDB (GDB 統合環境を提供)
+#* GeanyGDB (GDB 統合環境を提供)
 * GeanyLaTex (LaTeX ドキュメントのサポートを改善)
 * GeanyLipsum (Lorem Ipsum テキストのブロックを挿入)
 * GeanySendMail (Geany からドキュメントの送信を許可)
@@ -101,6 +108,9 @@ Geany のプラグインです。プラグインには以下のものが含ま
 * Updatechecker (Geany の更新を自動的にチェック)
 * Webhelper (WebKit を使い Geany から Web ドキュメントのプレビューとデバッグを実行)
 * XMLSnippets (Geany により提供される拡張 XML/HTML タグの自動補完)
+* GeanyMiniScript (A tool to apply a script on a text selection or current document(s))
+* GeniusPaste (お気に入りの pastebin からコードを貼り付け)
+* MultiTerm (マルチタブの仮想端末エミュレーター)
 
 このパッケージは、geany-plugins をすべてインストールするための
 メタパッケージです。
@@ -165,6 +175,8 @@ Summary: enables debugging in Geany
 Group:      Development/Tools
 Requires:   geany-plugins-common = %{version}-%{release}
 Requires:   vte >= 0.24
+Obsoletes: geany-plugin-gdb
+Obsoletes: geany-plugins-geanygdb < %{version}-%{release}
 
 %description debugger
 Plugin enables debugging in Geany. Currently supports GDB only, but was
@@ -172,6 +184,21 @@ developed with multiple debuggers support in mind, so the other backends
 support is planned as well.
 
 
+%package geanydoc
+Summary:   Call documentation from within Geany
+Summary(ja): 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 geanyextrasel
 Summary:   Additional features for selecting code
 Summary(ja): コード選択のための追加機能
@@ -185,22 +212,51 @@ 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
-Summary:   Debugger Plugin for Geany using GDB
-Summary(ja): GDB を使った Geany のデバッガプラグイン
+#%package geanygdb
+#Summary:   Debugger Plugin for Geany using GDB
+#Summary(ja): GDB を使った Geany のデバッガプラグイン
+#Group:     Development/Tools
+#Requires:  geany >= %{req_geany_ver}
+#Requires:  geany-plugins-common = %{version}-%{release}
+#Requires:  gdb
+#Obsoletes: geany-plugin-gdb
+
+#%description geanygdb
+#GeanyGDB plugin provides an integrated debugging environment for the
+#GNU debugger (gdb).
+
+#%description geanygdb -l ja
+#GeanyGDB プラグインは GNU debugger (gdb) のための
+#統合的デバッグ環境を提供します。
+
+
+%package geanygendoc
+Summary:   Automatically generate documentation source code
 Group:     Development/Tools
 Requires:  geany >= %{req_geany_ver}
 Requires:  geany-plugins-common = %{version}-%{release}
-Requires:  gdb
-Obsoletes: geany-plugin-gdb
 
-%description geanygdb
-GeanyGDB plugin provides an integrated debugging environment for the
-GNU debugger (gdb).
+%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 geanyinsertnum
+Summary:   Insert huge number ranges with small efforts
+Summary(ja):   僅かな労力で膨大な範囲の番号を挿入
+Group:     Development/Tools
+Requires:  geany >= %{req_geany_ver}
+Requires:  geany-plugins-common = %{version}-%{release}
 
-%description geanygdb -l ja
-GeanyGDB プラグインは GNU debugger (gdb) のための
-統合的デバッグ環境を提供します。
+%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 geanylatex
@@ -273,6 +329,15 @@ and it would automaticaly edit the line and move to the next. You could then
 just repeatedly trigger the macro to do as many lines as you want.
 
 
+%package geanyminiscript
+Summary:   Geany Mini-Script filter plugin
+Group:     Development/Tools
+Requires:  geany-plugins-common = %{version}-%{release}
+
+%description geanyminiscript
+gms is a Geany Mini-Script filter plugin.
+
+
 %package geanynumberedbookmarks
 Summary:   Provide users 10 numbered Bookmarks
 Group:     Development/Tools
@@ -302,6 +367,27 @@ GeanyPG is a plugin for Geany that allows the user to encrypt, decrypt and
 verify signatures with GnuPG.
 
 
+%package geanyprj
+Summary:   Provides an alternate project management tool for Geany
+Summary(ja): 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 geanysendmail
 Summary:   Send E-Mails from within Geany
 Summary(ja): Geany 内から E-Mail を送信するプラグイン
@@ -349,17 +435,57 @@ Geanyvc は Geany IDE から異なるバージョン管理システムにアク
 * CVS
 
 
-%package geanyinsertnum
-Summary:   Insert huge number ranges with small efforts
-Summary(ja):   僅かな労力で膨大な範囲の番号を挿入
+%package geniuspaste
+Summary:   allows the user to paste the code from Geany into five different pastebins
+Group:     Development/Tools
+Requires:  geany-plugins-common = %{version}-%{release}
+
+%description geniuspaste
+This plugin allows the user to paste the code from Geany into five different
+pastebins. At the moment it supports this services:
+
+* codepad.org
+* tinypaste.com
+* pastebin.geany.org
+* dpaste.de
+* sprunge.us
+
+
+%package gproject
+Summary:   Extension of Geany's project management
+Group:     Development/Tools
+Requires:  geany-plugins-common = %{version}-%{release}
+
+%description gproject
+GProject is an extension of Geany's project management displaying a tree of
+files belonging to the project in the sidebar. In addition, it enables quick
+swapping between header and source files, searching project files by name
+and more. The plugin was created with big projects in mind so everything
+works fast enough even with projects consisting of hundreds of thousands of
+files.
+
+
+%package multiterm
+Summary:   supports multiple terminals
+Group:     Development/Tools
+Requires:  geany-plugins-common = %{version}-%{release}
+
+%description multiterm
+MultiTerm is similar to Geany's built-in VTE terminal except that it
+supports multiple terminals in tabs and supports different shells in
+each of the terminal tabs.
+
+
+%package pretty-printer
+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
+Obsoletes: %{name}-pretty-print
 
-%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.
+%description pretty-printer
+Plugin for Geany to easily beautify XML code.
 
 
 %package shiftcolumn
@@ -393,58 +519,6 @@ Spellcheck は、選択したテキスト(または文書全体)のスペル
 スペルチェックライブラリの Enchant で行います。
 
 
-%package geanydoc
-Summary:   Call documentation from within Geany
-Summary(ja): 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 geanyprj
-Summary:   Provides an alternate project management tool for Geany
-Summary(ja): 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 treebrowser
 Summary:   Alternate file browser plugin providing a tree view of directories.
 Summary(ja): ディレクトリのツリービューを提供する代替ファイルブラウザプラグイン
@@ -458,31 +532,6 @@ 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 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 pretty-print
-Plugin for Geany to easily beautify XML code.
-
-
-%package gproject
-Summary:   Extension of Geany's project management
-Group:     Development/Tools
-Requires:  geany-plugins-common = %{version}-%{release}
-
-%description gproject
-GProject is an extension of Geany's project management displaying a tree of
-files belonging to the project in the sidebar. In addition, it enables quick
-swapping between header and source files, searching project files by name
-and more. The plugin was created with big projects in mind so everything
-works fast enough even with projects consisting of hundreds of thousands of
-files.
-
-
 %package tableconvert
 Summary:   Helps on converting a tabulator separated selection into a table
 Group:     Development/Tools
@@ -498,7 +547,6 @@ Summary:   Automatically check for Geany updates
 Summary(ja): Geany の更新を自動的にチェック
 Group:     Development/Tools
 Requires:  geany-plugins-common = %{version}-%{release}
-BuildRequires: libsoup-devel
 
 %description updatechecker
 UpdateChecker is a plugin for Geany, which is able to check whether there is
@@ -510,7 +558,6 @@ Summary:   Preview and Debug Web documents from within Geany using WebKit
 Summary(ja): WebKit を使い Geany から Web ドキュメントのプレビューとデバッグを実行
 Group:     Development/Tools
 Requires:  geany-plugins-common = %{version}-%{release}
-BuildRequires: WebKit-gtk-devel >= 1.1.18
 
 %description webhelper
 WebHelper is a plugin for Geany that provides some web development
@@ -538,6 +585,7 @@ automatically inserts a matching snippet after you type an opening tag.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -555,6 +603,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' \;
 # Remove zero-length files
 find $RPM_BUILD_ROOT -type f -empty -delete
 
+# copy geanylatex document images
+cp -pr geanylatex/doc/img/ $RPM_BUILD_ROOT%{geany_plug_docdir}/geanylatex/
+
 %find_lang %{name}
 
 
@@ -600,11 +651,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/geany/geanyextrasel.so
 
 
-%files geanygdb
-%defattr(-,root,root,-)
-%doc %{geany_plug_docdir}/geanygdb/
-%{_libdir}/geany/geanygdb.so
-%{_libexecdir}/geany-plugins/geanygdb/ttyhelper
+#%files geanygdb
+#%defattr(-,root,root,-)
+#%doc %{geany_plug_docdir}/geanygdb/
+#%{_libdir}/geany/geanygdb.so
+#%{_libexecdir}/geany-plugins/geanygdb/ttyhelper
 
 
 %files geanygendoc
@@ -646,6 +697,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/geany/geanymacro.so
 
 
+%files geanyminiscript
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geanyminiscript/
+%{_libdir}/geany/geanyminiscript.so
+
+
 %files geanynumberedbookmarks
 %defattr(-,root,root,-)
 %doc %{geany_plug_docdir}/geanynumberedbookmarks/
@@ -683,9 +740,21 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/geany/geanyvc.so
 
 
-%files pretty-print
+%files geniuspaste
+%defattr(-,root,root,-)
+%doc %{geany_plug_docdir}/geniuspaste/
+%{_libdir}/geany/geniuspaste.so
+
+
+%files multiterm
 %defattr(-,root,root,-)
-%{_libdir}/geany/pretty-print.so
+%doc %{geany_plug_docdir}/multiterm/
+%{_libdir}/geany/multiterm.so
+
+
+%files pretty-printer
+%defattr(-,root,root,-)
+%{_libdir}/geany/pretty-printer.so
 
 
 %files shiftcolumn
@@ -731,6 +800,15 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jul 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.22-1
+- new upstream release
+- added BuildRequires: vala-devel
+- added new plugins
+  - GeanyMiniScript, GeniusPaste, MultiTerm
+- added Patch0 to fix installation path of geanylatex documents
+- renamed pretty-print to pretty-printer
+- obsoleted geany-plugins-geanygdb to provide same function as geany-plugins-debugger
+
 * Sun Nov 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.21-2
 - added BuildRequires: vte-devel, WebKit-gtk-devel, gtk2-devel, glib2-devel, 
   gdk-pixbuf2-devel, pango-devel, python-docutils