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