l3afpad-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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.10
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Source: %{name}-%{version}.tar.xz
  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. %configure --enable-gtkgrid
  57. %build
  58. %{__make} %{?_smp_mflags}
  59. %install
  60. %{__rm} -rf ${RPM_BUILD_ROOT}
  61. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  62. # remove unnecessary files
  63. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/icons/hicolor/icon-theme.cache
  64. %find_lang %{name}
  65. %clean
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. %files -f %{name}.lang
  68. %defattr (-,root,root)
  69. %doc AUTHORS ChangeLog README gpl-2.0.txt lgpl-2.1.txt
  70. %{_bindir}/l3afpad
  71. %{_datadir}/applications/l3afpad.desktop
  72. %{_datadir}/icons/hicolor/
  73. %{_datadir}/pixmaps/l3afpad.png
  74. %{_datadir}/pixmaps/l3afpad.xpm
  75. %changelog
  76. * Thu Oct 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.10-1
  77. - new upstream release
  78. * Fri Jun 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.9-1
  79. - new upstream release
  80. * Thu Feb 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.8-1
  81. - new upstream release
  82. * Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.7-1
  83. - new upstream release
  84. - dropt patch0 to merge upstream
  85. * Sun Dec 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.6-1
  86. - new upstream release
  87. - add patch0 to add new translation
  88. * Thu Nov 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.5-1
  89. - new upstream release
  90. * Sun Oct 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.4-1
  91. - initial build for VineSeed