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

Revision 10191, 3.8 KB checked in by kudoh, 8 years ago (diff)

new upstream release

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.11
5Release: 1%{?_dist_release}
6License: GPLv2
7Source: %{name}-%{version}.tar.gz
8#Patch0: l3afpad_ja.patch
9
10Vendor: Project Vine
11Distribution: Vine Linux
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14URL: http://www.calno.com/l3afpad/
15# another URL: http://l3afpad.blogspot.com/ , https://sites.google.com/site/l3afpad/
16Group: Applications/Editors
17
18BuildRequires: gettext
19BuildRequires: gtk3-devel >= 3.0.10
20BuildRequires: intltool >= 0.31
21BuildRequires: perl
22BuildRequires: atk-devel pango-devel cairo-devel
23
24Requires: gtk3
25Requires: atk pango
26Requires: evince
27
28
29%description
30Lɜafpad is a simple GTK+ text editor that emphasizes simplicity.
31As development focuses on keeping weight down to a minimum,
32only the most essential features are implemented in the editor.
33Lɜafpad is simple to use, is easily compiled, requires few libraries,
34and starts up quickly.
35
36Currently 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
47Lɜafpad はシンプルさを重視した GTK+ のテキストエディタです。
48重さを最小限に抑えることを開発の焦点としており、
49必要不可欠な機能だけがエディタに実装されています。
50
51Lɜ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
69sed -i 's/MimeType=text\/plain/MimeType=text\/plain;/g' data/l3afpad.desktop.in
70#%patch0 -p1
71./autogen.sh
72%configure
73
74%build
75%{__make} %{?_smp_mflags}
76
77%install
78%{__rm} -rf ${RPM_BUILD_ROOT}
79make 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 COPYING
92%{_bindir}/l3afpad
93%{_datadir}/applications/l3afpad.desktop
94%{_datadir}/icons/hicolor/
95%{_datadir}/pixmaps/l3afpad.png
96%{_datadir}/pixmaps/l3afpad.xpm
97
98
99%changelog
100* Sat Apr 23 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.11-1
101- new upstream release
102- fixed %%prep
103  - used autogen.sh and deleted option
104- changed source archive type to gz
105- fixed %%doc
106
107* Sat Mar 15 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.10-2
108- rebuilt with new toolchain
109
110* Thu Oct 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.10-1
111- new upstream release
112
113* Fri Jun 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.9-1
114- new upstream release
115
116* Thu Feb 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.8-1
117- new upstream release
118
119* Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.7-1
120- new upstream release
121- dropt patch0 to merge upstream
122
123* Sun Dec 11 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.6-1
124- new upstream release
125- add patch0 to add new translation
126
127* Thu Nov 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.5-1
128- new upstream release
129
130* Sun Oct 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.18.1.4-1
131- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.