source: projects/specs/trunk/l/l3afpad/l3afpad-vl.spec @ 4882

Revision 4882, 2.8 KB checked in by kudoh, 13 years ago (diff)

mkdir l3afpad

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