Browse Source

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

kudoh 14 years ago
parent
commit
ed34255567
1 changed files with 42 additions and 7 deletions
  1. 42 7
      g/geany-plugins/geany-plugins-vl.spec

+ 42 - 7
g/geany-plugins/geany-plugins-vl.spec

@@ -3,7 +3,7 @@
 
 Name:           geany-plugins
 Version:        0.19
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        Plugins for Geany
 Summary(ja):    Geany のプラグイン集
 
@@ -16,12 +16,13 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  geany-devel >= %{req_geany_ver} gettext intltool pkgconfig libtool
 BuildRequires:  lua-devel enchant-devel gtkspell-devel
 BuildRequires:  libxml2-devel >= 2.6.27
+BuildRequires:  ctpl-devel >= 0.2
 
 Requires:  %{name}-addons %{name}-geanydoc %{name}-geanygdb %{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
+Requires:  %{name}-geanyinsertnum %{name}-pretty-print %{name}-geanygendoc
 
 
 %description
@@ -30,6 +31,7 @@ Plugins for Geany. Plugins included are:
 * 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)
@@ -43,7 +45,7 @@ Plugins for Geany. Plugins included are:
 * Treebrowser (Alternate file browser with tree view of folders)
 * XML Pretty Printer
 
-This package is meta package to install all geany-plugins. 
+This package is meta package to install all geany-plugins.
 
 %description -l ja
 Geany のプラグインです。プラグインには以下のものが含まれています。
@@ -51,7 +53,8 @@ Geany のプラグインです。プラグインには以下のものが含ま
 * Code navigation (ソースコード間を簡単に移動)
 * Geanydoc (geany から固有のドキュメントを呼び出す)
 * Geanyextrasel (コード選択のための追加機能)
-* GeanyGDB (gdb 統合環境を提供)
+* GeanyGenDoc (ソースコードから自動的にドキュメントの元を生成)
+* GeanyGDB (GDB 統合環境を提供)
 * GeanyLaTex (LaTeX ドキュメントのサポートを改善)
 * GeanyLipsum (Lorem Ipsum テキストのブロックを挿入)
 * GeanySendMail (Geany からドキュメントの送信を許可)
@@ -159,7 +162,7 @@ Summary(ja): Geany のための LaTeX サポート改善プラグイン
 Group:     Development/Tools
 Requires:  geany >= %{req_geany_ver}
 Requires:  geany-plugins-common = %{version}-%{release}
-Requires:  tetex
+Requires:  texlive
 Obsoletes: geany-plugin-latex
 
 %description geanylatex
@@ -307,6 +310,22 @@ 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 で代替プロジェクト管理ツールを提供
@@ -368,6 +387,9 @@ make install -p DESTDIR=$RPM_BUILD_ROOT
 # Remove static library *.la files
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' \;
 
+# Remove zero-length files
+find $RPM_BUILD_ROOT -type f -empty -delete
+
 %find_lang %{name}
 
 
@@ -400,6 +422,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_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/
@@ -481,6 +510,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Aug 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.19-3
+- added geany-plugins-geanygendoc
+- added BuildRequires: ctpl-devel >= 0.2
+- changed geany-plugins-latex Requires: tetex to Requires: texlive
+- removed zero-length documentation files
+
 * Sun Jul 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.19-2
 - correct license to GPLv3+
 - added BuildRequires: libxml2-devel >= 2.6.27
@@ -491,7 +526,7 @@ rm -rf $RPM_BUILD_ROOT
 - new upstream release
 
 * Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.18-3
-- fixed Requires geany-plugins 
+- fixed Requires geany-plugins
 - applied new naming policy to spec
 
 * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.18-2
@@ -500,7 +535,7 @@ rm -rf $RPM_BUILD_ROOT
 - proved Summary(ja)
 
 * Wed Nov 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.18-1
-- initial build for Vine Linux (instead of now provided some geany-plugins) 
+- initial build for Vine Linux (instead of now provided some geany-plugins)
 
 * Sat Oct 31 2009 Dominic Hopf <dmaphy@fedoraproject.org> 0.18-1
 - update to new upstream release