leafpad-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. %define build_vine31 0
  2. Summary: GTK+ based simple text editor
  3. Summary(ja): GTK+ベースのシンプルなテキストエディタ
  4. Name: leafpad
  5. Version: 0.8.18.1
  6. Release: 1%{?_dist_release}
  7. License: GPL
  8. Source: %{name}-%{version}.tar.gz
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: kazutaka, daisuke
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. URL: http://tarot.freeshell.org/leafpad/
  14. Group: Applications/Editors
  15. BuildRequires: gtk2-devel atk-devel pango-devel
  16. Requires: gtk2 pango atk
  17. Requires: evince
  18. %description
  19. Leafpad is a GTK+ based simple text editor. The user interface is
  20. similar to Notepad. It aims to be lighter than GEdit and KWrite, and
  21. to be as useful as them.
  22. Following concepts are intended...
  23. * Minimum requirement: for portability
  24. * Minimum menu item: to make full use of features and to learn easily
  25. * No toolbar: to maximize area to view text
  26. * Single document interface (SDI): to set out windows to view at a time
  27. * Character coding auto detection: to open file quickly without multi-codeset annoyance
  28. %description -l ja
  29. Leafpad は GTK+ ベースのシンプルなテキストエディタであり、メモ帳のような
  30. インターフェイスを持っています。gEdit や KWrite のように使いやすく、より
  31. 軽快に動作するように作られています。
  32. 主なコンセプトは以下の通りです。
  33. * 可搬性のための最低限の要件
  34. * 全機能を把握し楽に使いこなすための最低限のメニュー項目
  35. * 編集領域を最大限確保するためにツールバーを廃止
  36. * 複数のエディタ画面を一望するためのSDI
  37. * 多言語エンコーディングを正しく判別する機能
  38. %prep
  39. %setup -q
  40. %if %{build_vine31}
  41. %configure --disable-chooser
  42. %else
  43. %configure
  44. %endif
  45. %build
  46. %{__make}
  47. %install
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %makeinstall
  50. # remove unnecessary files
  51. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/icons/hicolor/icon-theme.cache
  52. %find_lang %{name}
  53. %clean
  54. %{__rm} -rf ${RPM_BUILD_ROOT}
  55. %files -f %{name}.lang
  56. %defattr (-,root,root)
  57. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  58. %{_bindir}/leafpad
  59. %{_datadir}/applications/leafpad.desktop
  60. %{_datadir}/pixmaps/leafpad.png
  61. %{_datadir}/pixmaps/leafpad.xpm
  62. %{_datadir}/icons/hicolor/16x16/apps/leafpad.png
  63. %{_datadir}/icons/hicolor/22x22/apps/leafpad.png
  64. %{_datadir}/icons/hicolor/24x24/apps/leafpad.png
  65. %{_datadir}/icons/hicolor/32x32/apps/leafpad.png
  66. %{_datadir}/icons/hicolor/scalable/apps/leafpad.svg
  67. %changelog
  68. * Thu Feb 3 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.18.1-1
  69. - new upstream release
  70. * Mon Nov 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.17-1
  71. - new upstream release
  72. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.16-2
  73. - remove libgnomeprint/libgnomeprintui dependency
  74. - leafpad uses gtkprintui if available.
  75. - add Requires: evince for print preview
  76. * Sun Mar 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.16-1
  77. - new upstream release
  78. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.14-1vl5
  79. - applied new versioning policy, spec in utf-8
  80. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.14-0vl2
  81. - rebuild for Vine Seed.
  82. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.14-0vl1
  83. - source update.
  84. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.14-0vl1
  85. - source update.
  86. * Mon Feb 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.13-0vl2
  87. - rebuild for Vine Seed.
  88. * Mon Feb 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.13-0vl1
  89. - source update.
  90. - drop Patch0.
  91. * Mon Feb 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.13-0vl1
  92. - source update.
  93. - drop Patch0.
  94. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.12-0vl1.2
  95. - rebuild for Vine Seed.
  96. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.12-0vl1.1
  97. - source update.
  98. - add Patch0 to fix missing brace.
  99. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.12-0vl1.1
  100. - source update.
  101. - add Patch0 to fix missing brace.
  102. * Wed Sep 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.11-0vl1
  103. - source update.
  104. * Sun Apr 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.10-0vl1.2
  105. - source update.
  106. - add some tango icons in %%files section.
  107. * Sun Jun 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.9-0vl1
  108. - build for Vine Plus/3.0.
  109. * Sat Apr 22 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.9-0vl1.1
  110. - source update.
  111. - add following dependencies.
  112. BuildRequires: libgnomeprint-devel & libgnomeprintui-devel >= 2.2.0
  113. Requires: libgnomeprint & libgnomeprintui >= 2.2.0
  114. * Mon Jan 23 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.7-0vl1
  115. - build for Vine Plus/3.0.
  116. * Mon Jan 23 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.7-0vl1.1
  117. - source update.
  118. - build for VineSeed Plus.
  119. * Wed Jan 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.6-0vl1
  120. - build for Vine Plus/3.0.
  121. * Wed Jan 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.6-0vl1.1
  122. - source update.
  123. - use License tag instead of Copylight.
  124. - build for VineSeed Plus.
  125. * Sun Nov 12 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.5-0vl1
  126. - build for Vine Plus/3.0.
  127. * Sun Nov 12 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.5-0vl1.1
  128. - source update.
  129. - add %%{_datadir}/pixmaps/leafpad.xpm in files section.
  130. - build for VineSeed Plus.
  131. * Wed Sep 27 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.4-0vl1
  132. - build for Vine Plus/3.0.
  133. * Wed Sep 27 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.4-0vl1.1
  134. - source update.
  135. - build for VineSeed Plus.
  136. * Sun Jul 31 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.3-0vl1
  137. - build for Vine Plus/3.0.
  138. * Sat Jul 30 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.3-0vl1.1
  139. - source update.
  140. - build for VineSeed Plus.
  141. * Wed Jul 13 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl1
  142. - build for Vine Plus/3.0.
  143. * Thu Jul 7 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl1.1
  144. - source update.
  145. - build for VineSeed Plus.
  146. * Mon May 23 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
  147. - build for Vine Plus/3.0
  148. * Sat May 21 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1.1
  149. - source update.
  150. - drop patch0.
  151. - add %find_lang macro.
  152. - add build_vine31 flag and %if statement.
  153. - update japanese description.
  154. - build for VineSeed Plus.
  155. * Thu Mar 24 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp>
  156. - add GtkFileChooser patch (GTK+2.4 required).
  157. - build for VineSeed Plus.
  158. * Fri Jan 28 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  159. - Initial package for VineLinux3.1