source: projects/specs/trunk/c/cherrytree/cherrytree-vl.spec @ 6914

Revision 6914, 7.7 KB checked in by kudoh, 12 years ago (diff)
Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Summary:   CherryTree - note taking application
4Summary(ja): CherryTree - ノート作成アプリケーション
5Name:      cherrytree
6Version:   0.27.1
7Release:   1%{?_dist_release}
8License:   GPLv2+
9Group:     Applications/Productivity
10URL:       http://www.giuspen.com/cherrytree/
11Source0:   %{name}-%{version}.tar.xz
12#Patch0: setup.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildArch: noarch
16
17BuildRequires:  desktop-file-utils
18BuildRequires:  gettext
19BuildRequires:  python
20BuildRequires:  python-devel
21BuildRequires:  python-setuptools
22Requires:  cairo
23Requires:  pango
24Requires:  python
25Requires:  pygtk2
26Requires:  gtksourceview2
27Requires:  pygtksourceview
28
29#Obsoletes: %name < %version
30
31%description
32A hierarchical note taking application, featuring rich text and syntax highlighting.
33Features:
34- rich text (foreground color, background color and bold)
35- syntax highlighting (only when the rich text is disabled in the current node)
36- find a node, find in current node, find in all nodes
37- replace in node names, replace in current node, replace in all nodes
38- iteration of the latest find, iteration of the latest replace
39
40%description -l ja
41階層型ノートの作成アプリケーションで、リッチテキストや構文の強調表示を備えています。
42特長:
43- リッチテキスト(前景色、背景色、太字)
44- 構文の強調表示(現在のノードではリッチテキストの場合だけ無効)
45- ノードの検出、現在のノードからの検索、すべてのノードからの検索
46- ノードの名前の置換、現在のノードで置換、すべてのノードで置換
47- 最新の検索・置換の繰り返し
48
49%prep
50%setup -q
51#%patch0 -p1
52#chmod +x setup.py
53
54sed -i 's|Comment=Hierarchical Note Taking|Comment=Hierarchical Note Taking\nComment[ja]=階層型ノートの作成|g' \
55       linux/cherrytree.desktop
56
57%build
58
59%install
60rm -rf $RPM_BUILD_ROOT
61%{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
62
63desktop-file-install --vendor="" \
64            --add-category="Utility" \
65            --dir %{buildroot}%_datadir/applications \
66                  %{buildroot}%_datadir/applications/%{name}.desktop
67
68%find_lang %{name}
69
70%clean
71rm -rf %{buildroot}
72
73%post
74update-desktop-database %{_datadir}/applications
75gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
76
77%postun
78update-desktop-database %{_datadir}/applications
79gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
80
81
82%files -f %{name}.lang
83%defattr(-,root,root)
84%doc license
85%{_bindir}/%{name}
86%{_datadir}/application-registry/
87%{_datadir}/applications/
88%{_datadir}/%{name}
89%{_datadir}/icons/
90%{_datadir}/mime/packages/
91%{_datadir}/mime-info/
92%{_mandir}/man1/
93%{python_sitelib}/*
94
95
96%changelog
97* Tue Oct 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.27.1-1
98- new upstream release
99
100* Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.27-1
101- new upstream release
102- changed source archive type to xz
103
104* Sun Jul 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26.3-1
105- new upstream release
106
107* Sat Jun 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26.2-1
108- new upstream release
109
110* Fri Jun 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26.1-1
111- new upstream release
112
113* Fri May 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.26-1
114- new upstream release
115- changed source archive type to bz2
116
117* Sun Feb 26 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.4-1
118- new upstream release
119
120* Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.3-1
121- new upstream release
122
123* Wed Jan 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.1-1
124- new upstream release
125
126* Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.24-1
127- new upstream release
128
129* Fri Sep 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23.1-1
130- new upstream release
131
132* Wed Sep 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23-1
133- new upstream release
134
135* Wed Jul 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.2-1
136- new upstream release
137
138* Wed Jul 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.1-1
139- new upstream release
140
141* Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22-1
142- new upstream release
143- added BuildRequires: desktop-file-utils, python-setuptools
144
145* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.3-1
146- new upstream release
147
148* Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.1-1
149- new upstream release
150
151* Tue Jan 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.3-1
152- new upstream release
153
154* Thu Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1
155- new upstream release
156
157* Sun Jan 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
158- new upstream release
159- used python macro
160
161* Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17.1-1
162- new upstream release
163
164* Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1
165- new upstream release
166- dropt Patch0
167
168* Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1
169- new upstream release
170- deleted unnecessary code in patch0
171
172* Mon Sep 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.2-1
173- new upstream release
174
175* Wed Sep 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.1-1
176- new upstream release
177- recreated patch0
178
179* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
180- new upstream release
181
182* Fri Aug 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13-1
183- new upstream release
184
185* Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1
186- new upstream release
187
188* Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1
189- new upstream release
190- changed URL
191- added patch0 to work around install error
192- dropt BuildRequires: ImageMagick
193- added BuildRequires: python, python-devel
194- modified install process
195  - use setup.py in source
196  - modified %%files
197  - changed category to 'Utility'
198
199* Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
200- new upstream release
201- added Requires: cairo, pango
202
203* Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
204- new upstream release
205
206* Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
207- new upstream release
208- applied new naming policy to spec
209
210* Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
211- new upstream release
212- added BuildRequires: ImageMagick
213
214* Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
215- new upstream release
216
217* Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
218- new upstream release
219
220* Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
221- rebuilt with python-2.6.4
222
223* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
224- new upstream release
225
226* Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
227- new upstream release
228
229* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
230- new upstream release
231
232* Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
233- initial build for Vine Linux
234
235* Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
236- 0.7.1
237
238* Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
239- 0.7
240
241* Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
242- 0.6.3
243
244* Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
245- 0.6.2
246
247* Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
248- 0.6
249
250* Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
251- 0.5.1
252
253* Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
254- 0.5
255
256* Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
257- 0.4
258
259* Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
260- 0.3
261
262* Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
263- 0.2
264
265* Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
266- add missing dependency gnome-python-gtksourceview
267
268* Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
269- initial pkg
270
Note: See TracBrowser for help on using the repository browser.