geany-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. Summary: A fast and lightweight IDE using GTK2
  2. Summary(ja): GTK2 を用いた高速・軽量な統合開発環境 (IDE)
  3. Name: geany
  4. Version: 1.23.1
  5. Release: 1%{?_dist_release}
  6. License: GPL2+
  7. Group: Applications/Development
  8. Source: http://download.geany.org/%{name}-%{version}.tar.bz2
  9. URL: http://www.geany.org/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.20
  12. BuildRequires: gtk2-devel >= 2.16
  13. BuildRequires: pango-devel
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: gettext, intltool
  16. BuildRequires: perl-XML-Parser
  17. Requires: glib2, pango
  18. Requires: gtk2 >= 2.8
  19. Requires: vte
  20. %description
  21. Geany is a small and fast editor with basic features
  22. of an integrated development environment.
  23. Some basic features:
  24. * Syntax highlighting
  25. * Code folding
  26. * Symbol name auto-completion
  27. * Construct completion/snippets
  28. * Auto-closing of XML and HTML tags
  29. * Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal (full list)
  30. * Symbol lists
  31. * Code navigation
  32. * Build system to compile and execute your code
  33. * Simple project management
  34. * Plugin interface (see Plugins)
  35. %description -l ja
  36. Geany は統合開発環境としての基本的機能を備えた、小さくて高速なエディタです。
  37. 基本的機能:
  38. * シンタックスハイライト
  39. * コードの折り畳み
  40. * シンボル名の自動補完
  41. * コンピレーション/スニペットの構築
  42. * XML と HTML タグを自動で閉じる
  43. * C、Java、PHP、HTML、Python、Perl、Pascal (full list) など多くのファイル形式をサポート
  44. * シンボルリスト
  45. * コードナビゲーション
  46. * 自分のコードをコンパイル&実行するためのビルドシステム
  47. * シンプルなプロジェクト管理
  48. * プラグインインターフェイス
  49. %package devel
  50. Summary: Devel files for building Geany plugins
  51. Summary(ja): Geany プラグインをビルドするための開発ファイル
  52. Group: Development/Libraries
  53. Requires: geany = %{version}-%{release}
  54. %description devel
  55. This package contains the devel files and pkg-config file needed for building
  56. Geany plugins. You do not need to install this package to use Geany.
  57. %description devel -l ja
  58. このパッケージには Geany プラグインをビルドするために必要な開発ファイル、
  59. 及び pkg-config ファイルが含まれています。
  60. Geany を使うためにこのパッケージをインストールする必要はありません。
  61. %prep
  62. %setup -q
  63. %build
  64. %configure
  65. make %{?_smp_mflags}
  66. %install
  67. %__rm -Rf $RPM_BUILD_ROOT
  68. %makeinstall
  69. %__rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  70. desktop-file-install --delete-original --vendor="vine" \
  71. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  72. --mode 0644 \
  73. $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  74. # Remove libtool library archive (*.la) files
  75. rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/*.la
  76. %clean
  77. %__rm -Rf $RPM_BUILD_ROOT
  78. %post
  79. update-desktop-database %{_datadir}/applications
  80. touch --no-create %{_datadir}/icons/hicolor
  81. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  82. gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  83. fi
  84. %postun
  85. update-desktop-database %{_datadir}/applications
  86. touch --no-create %{_datadir}/icons/hicolor
  87. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  88. gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
  89. fi
  90. %files
  91. %defattr(-, root, root, -)
  92. %doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO THANKS
  93. %{_bindir}/%{name}
  94. %{_datadir}/%{name}
  95. %{_libdir}/%{name}
  96. %{_datadir}/applications/*.desktop
  97. %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
  98. %{_datadir}/icons/hicolor/*
  99. %{_datadir}/icons/Tango/*
  100. %{_datadir}/doc/%{name}/
  101. %{_mandir}/man1/geany.1.gz
  102. %files devel
  103. %defattr(-, root, root, -)
  104. %{_includedir}/geany
  105. %{_libdir}/pkgconfig/geany.pc
  106. %changelog
  107. * Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.23.1-1
  108. - new upstream release
  109. * Sat Mar 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.23-1
  110. - new upstream release
  111. * Tue Jun 19 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.22-1
  112. - new upstream release
  113. - fixed BuildRequires: glib2-devel >= 2.20, gtk2-devel >= 2.16
  114. * Sat Oct 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21-1
  115. - new upstream release
  116. - changed URL
  117. * Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.20-1
  118. - new upstream version
  119. * Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.2-1
  120. - new upstream version
  121. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.19.1-2
  122. - rebuilt with rpm-4.8.1 for pkg-config
  123. * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1
  124. - new upstream version
  125. * Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19-1
  126. - new upstream version
  127. * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
  128. - new upstream version
  129. * Fri Nov 27 2009 Shu KONNO <owa@bg.wakwak.com> 0.18-2
  130. - rebuilt
  131. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18-1vl5
  132. - new upstream version
  133. - added update-desktop-database %{_datadir}/applications in %post, %postun
  134. - run gtk-update-icon-cache in %post, %postun
  135. * Sat Jun 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-4vl5
  136. - updated description
  137. - added desktop-file-install
  138. - added BuildRequires: desktop-file-utils
  139. * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-3vl5
  140. - fixed BuildRequires: perl-XML-Parser
  141. * Sun May 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-2vl5
  142. - fixed %BuildRoot
  143. - changed Group to Applications/Development
  144. -devel Group to Development/Libraries
  145. - added BuildRequires: gettext, intltool, perl(XML::Parser)
  146. - added Requires: vte
  147. * Sun May 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17-1vl5
  148. - new upstream version
  149. - spec in UTF-8
  150. * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1vl5
  151. - new upstream version
  152. - fixed Requires: gtk2 >= 2.8 (minimum required GTK version 2.8)
  153. * Wed Feb 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-2vl5
  154. - fixed License
  155. - updated Source URL
  156. - modified %build (use "%{?_smp_mflags}")
  157. - splited -devel sub-package (for header files)
  158. - removed *.la files
  159. * Sat Feb 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1vl5
  160. - initial build for VineSeed