l3afpad-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Summary: Simple text editor forked from Leafpad, supports GTK+ 3.x
  2. Summary(ja): GTK+ 3.x をサポートした、leafpad からフォークしたシンプルなテキストエディタ
  3. Name: l3afpad
  4. Version: 0.8.18.1.11
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Source: %{name}-%{version}.tar.gz
  8. #Patch0: l3afpad_ja.patch
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. URL: http://www.calno.com/l3afpad/
  13. # another URL: http://l3afpad.blogspot.com/ , https://sites.google.com/site/l3afpad/
  14. Group: Applications/Editors
  15. BuildRequires: gettext
  16. BuildRequires: gtk3-devel >= 3.0.10
  17. BuildRequires: intltool >= 0.31
  18. BuildRequires: perl
  19. BuildRequires: atk-devel pango-devel cairo-devel
  20. Requires: gtk3
  21. Requires: atk pango
  22. Requires: evince
  23. %description
  24. Lɜafpad is a simple GTK+ text editor that emphasizes simplicity.
  25. As development focuses on keeping weight down to a minimum,
  26. only the most essential features are implemented in the editor.
  27. Lɜafpad is simple to use, is easily compiled, requires few libraries,
  28. and starts up quickly.
  29. Currently Lɜafpad has the following features:
  30. * Codeset option (Some OpenI18N registered)
  31. * Auto codeset detection (UTF-8 and some codesets)
  32. * Unlimitted Undo/Redo
  33. * Auto/Multi-line Indent
  34. * Display line numbers
  35. * Drag and Drop
  36. * Printing
  37. %description -l ja
  38. Lɜafpad はシンプルさを重視した GTK+ のテキストエディタです。
  39. 重さを最小限に抑えることを開発の焦点としており、
  40. 必要不可欠な機能だけがエディタに実装されています。
  41. Lɜafpad は簡単に使用するためにコンパイルが容易で
  42. 必須ライブラリが少なく、起動が高速です。
  43. 現在の Lɜafpad の機能は以下の通りです。
  44. * コードセットオプション (いくつかの OpenI18N が登録済)
  45. * 自動コードセット判別 (UTF-8 と いくつかのコードセット)
  46. * 無限の アンドゥ/リドゥ
  47. * 自動/マルチライン インデント
  48. * 行番号の表示
  49. * ドラッグ&ドロップ
  50. * 印刷
  51. %prep
  52. %setup -q
  53. #fix desktop file error
  54. sed -i 's/MimeType=text\/plain/MimeType=text\/plain;/g' data/l3afpad.desktop.in
  55. #%patch0 -p1
  56. ./autogen.sh
  57. %configure
  58. %build
  59. %{__make} %{?_smp_mflags}
  60. %install
  61. %{__rm} -rf ${RPM_BUILD_ROOT}
  62. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  63. # remove unnecessary files
  64. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/icons/hicolor/icon-theme.cache
  65. %find_lang %{name}
  66. %clean
  67. %{__rm} -rf ${RPM_BUILD_ROOT}
  68. %files -f %{name}.lang
  69. %defattr (-,root,root)
  70. %doc AUTHORS ChangeLog README COPYING
  71. %{_bindir}/l3afpad
  72. %{_datadir}/applications/l3afpad.desktop
  73. %{_datadir}/icons/hicolor/
  74. %{_datadir}/pixmaps/l3afpad.png
  75. %{_datadir}/pixmaps/l3afpad.xpm
  76. %changelog
  77. * Sat Apr 23 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.11-1
  78. - new upstream release
  79. - fixed %%prep
  80. - used autogen.sh and deleted option
  81. - changed source archive type to gz
  82. - fixed %%doc
  83. * Sat Mar 15 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.10-2
  84. - rebuilt with new toolchain
  85. * Thu Oct 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.10-1
  86. - new upstream release
  87. * Fri Jun 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.9-1
  88. - new upstream release
  89. * Thu Feb 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.8-1
  90. - new upstream release
  91. * Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.7-1
  92. - new upstream release
  93. - dropt patch0 to merge upstream
  94. * Sun Dec 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.6-1
  95. - new upstream release
  96. - add patch0 to add new translation
  97. * Thu Nov 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.5-1
  98. - new upstream release
  99. * Sun Oct 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.4-1
  100. - initial build for VineSeed