leafpad-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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: 2%{?_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. * Wed Jan 15 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 0.8.18.1-2
  69. - build with gcc-4.8
  70. * Thu Feb 3 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.18.1-1
  71. - new upstream release
  72. * Mon Nov 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.17-1
  73. - new upstream release
  74. * Sun May 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.16-2
  75. - remove libgnomeprint/libgnomeprintui dependency
  76. - leafpad uses gtkprintui if available.
  77. - add Requires: evince for print preview
  78. * Sun Mar 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.16-1
  79. - new upstream release
  80. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.14-1vl5
  81. - applied new versioning policy, spec in utf-8
  82. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.14-0vl2
  83. - rebuild for Vine Seed.
  84. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.14-0vl1
  85. - source update.
  86. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.14-0vl1
  87. - source update.
  88. * Mon Feb 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.13-0vl2
  89. - rebuild for Vine Seed.
  90. * Mon Feb 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.13-0vl1
  91. - source update.
  92. - drop Patch0.
  93. * Mon Feb 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.13-0vl1
  94. - source update.
  95. - drop Patch0.
  96. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.12-0vl1.2
  97. - rebuild for Vine Seed.
  98. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.12-0vl1.1
  99. - source update.
  100. - add Patch0 to fix missing brace.
  101. * Sat Oct 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.12-0vl1.1
  102. - source update.
  103. - add Patch0 to fix missing brace.
  104. * Wed Sep 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.11-0vl1
  105. - source update.
  106. * Sun Apr 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.10-0vl1.2
  107. - source update.
  108. - add some tango icons in %%files section.
  109. * Sun Jun 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.9-0vl1
  110. - build for Vine Plus/3.0.
  111. * Sat Apr 22 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.9-0vl1.1
  112. - source update.
  113. - add following dependencies.
  114. BuildRequires: libgnomeprint-devel & libgnomeprintui-devel >= 2.2.0
  115. Requires: libgnomeprint & libgnomeprintui >= 2.2.0
  116. * Mon Jan 23 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.7-0vl1
  117. - build for Vine Plus/3.0.
  118. * Mon Jan 23 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.7-0vl1.1
  119. - source update.
  120. - build for VineSeed Plus.
  121. * Wed Jan 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.6-0vl1
  122. - build for Vine Plus/3.0.
  123. * Wed Jan 18 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.6-0vl1.1
  124. - source update.
  125. - use License tag instead of Copylight.
  126. - build for VineSeed Plus.
  127. * Sun Nov 12 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.5-0vl1
  128. - build for Vine Plus/3.0.
  129. * Sun Nov 12 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.5-0vl1.1
  130. - source update.
  131. - add %%{_datadir}/pixmaps/leafpad.xpm in files section.
  132. - build for VineSeed Plus.
  133. * Wed Sep 27 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.4-0vl1
  134. - build for Vine Plus/3.0.
  135. * Wed Sep 27 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.4-0vl1.1
  136. - source update.
  137. - build for VineSeed Plus.
  138. * Sun Jul 31 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.3-0vl1
  139. - build for Vine Plus/3.0.
  140. * Sat Jul 30 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.3-0vl1.1
  141. - source update.
  142. - build for VineSeed Plus.
  143. * Wed Jul 13 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl1
  144. - build for Vine Plus/3.0.
  145. * Thu Jul 7 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl1.1
  146. - source update.
  147. - build for VineSeed Plus.
  148. * Mon May 23 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
  149. - build for Vine Plus/3.0
  150. * Sat May 21 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1.1
  151. - source update.
  152. - drop patch0.
  153. - add %find_lang macro.
  154. - add build_vine31 flag and %if statement.
  155. - update japanese description.
  156. - build for VineSeed Plus.
  157. * Thu Mar 24 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp>
  158. - add GtkFileChooser patch (GTK+2.4 required).
  159. - build for VineSeed Plus.
  160. * Fri Jan 28 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  161. - Initial package for VineLinux3.1