leafpad-vl.spec 6.8 KB

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