l3afpad-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Source: %{name}-%{version}.tar.xz
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. URL: http://www.calno.com/l3afpad/
  12. # another URL: http://l3afpad.blogspot.com/ , https://sites.google.com/site/l3afpad/
  13. Group: Applications/Editors
  14. BuildRequires: gettext
  15. BuildRequires: gtk3-devel >= 3.0.10
  16. BuildRequires: intltool >= 0.31
  17. BuildRequires: perl
  18. BuildRequires: atk-devel pango-devel cairo-devel
  19. Requires: gtk3
  20. Requires: atk pango
  21. Requires: evince
  22. %description
  23. Lɜafpad is a simple GTK+ text editor that emphasizes simplicity.
  24. As development focuses on keeping weight down to a minimum,
  25. only the most essential features are implemented in the editor.
  26. Lɜafpad is simple to use, is easily compiled, requires few libraries,
  27. and starts up quickly.
  28. Currently Lɜafpad has the following features:
  29. * Codeset option (Some OpenI18N registered)
  30. * Auto codeset detection (UTF-8 and some codesets)
  31. * Unlimitted Undo/Redo
  32. * Auto/Multi-line Indent
  33. * Display line numbers
  34. * Drag and Drop
  35. * Printing
  36. %description -l ja
  37. Lɜafpad はシンプルさを重視した GTK+ のテキストエディタです。
  38. 重さを最小限に抑えることを開発の焦点としており、
  39. 必要不可欠な機能だけがエディタに実装されています。
  40. Lɜafpad は簡単に使用するためにコンパイルが容易で
  41. 必須ライブラリが少なく、起動が高速です。
  42. 現在の Lɜafpad の機能は以下の通りです。
  43. * コードセットオプション (いくつかの OpenI18N が登録済)
  44. * 自動コードセット判別 (UTF-8 と いくつかのコードセット)
  45. * 無限の アンドゥ/リドゥ
  46. * 自動/マルチライン インデント
  47. * 行番号の表示
  48. * ドラッグ&ドロップ
  49. * 印刷
  50. %prep
  51. %setup -q
  52. #fix desktop file error
  53. sed -i 's/MimeType=text\/plain/MimeType=text\/plain;/g' data/l3afpad.desktop.in
  54. %configure --enable-gtkgrid
  55. %build
  56. %{__make} %{?_smp_mflags}
  57. %install
  58. %{__rm} -rf ${RPM_BUILD_ROOT}
  59. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  60. # remove unnecessary files
  61. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/icons/hicolor/icon-theme.cache
  62. %find_lang %{name}
  63. %clean
  64. %{__rm} -rf ${RPM_BUILD_ROOT}
  65. %files -f %{name}.lang
  66. %defattr (-,root,root)
  67. %doc AUTHORS ChangeLog README gpl-2.0.txt lgpl-2.1.txt
  68. %{_bindir}/l3afpad
  69. %{_datadir}/applications/l3afpad.desktop
  70. %{_datadir}/icons/hicolor/
  71. %{_datadir}/pixmaps/l3afpad.png
  72. %{_datadir}/pixmaps/l3afpad.xpm
  73. %changelog
  74. * Thu Nov 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.5-1
  75. - new upstream release
  76. * Sun Oct 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.4-1
  77. - initial build for VineSeed