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

Revision 5476, 7.0 KB checked in by kudoh, 12 years ago (diff)

cherrytree-vl.spec

RevLine 
[2430]1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
[521]3Summary:   CherryTree - note taking application
4Summary(ja): CherryTree - ノート作成アプリケーション
5Name:      cherrytree
[5476]6Version:   0.25.1
[521]7Release:   1%{?_dist_release}
8License:   GPLv2+
9Group:     Applications/Productivity
[1283]10URL:       http://www.giuspen.com/cherrytree/
[938]11Source0:   %{name}-%{version}.tar.gz
[2268]12#Patch0: setup.patch
[1283]13
[521]14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildArch: noarch
16
[4126]17BuildRequires:  desktop-file-utils
[1157]18BuildRequires:  gettext
[1283]19BuildRequires:  python
20BuildRequires:  python-devel
[4126]21BuildRequires:  python-setuptools
[1157]22Requires:  cairo
23Requires:  pango
[521]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
[938]50%setup -q
[2268]51#%patch0 -p1
[1405]52#chmod +x setup.py
[521]53
[1283]54sed -i 's|Comment=Hierarchical Note Taking|Comment=Hierarchical Note Taking\nComment[ja]=階層型ノートの作成|g' \
55       linux/cherrytree.desktop
56
[521]57%build
58
59%install
[1283]60rm -rf $RPM_BUILD_ROOT
[1805]61%{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
[521]62
[1283]63desktop-file-install --vendor="" \
64            --add-category="Utility" \
65            --dir %{buildroot}%_datadir/applications \
66                  %{buildroot}%_datadir/applications/%{name}.desktop
[521]67
[1283]68%find_lang %{name}
[521]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
[1283]82%files -f %{name}.lang
[521]83%defattr(-,root,root)
[1283]84%doc license
[521]85%{_bindir}/%{name}
[1283]86%{_datadir}/application-registry/
87%{_datadir}/applications/
[521]88%{_datadir}/%{name}
[1283]89%{_datadir}/icons/
90%{_datadir}/mime/packages/
91%{_datadir}/mime-info/
[5404]92%{_mandir}/man1/
[2430]93%{python_sitelib}/*
[521]94
95
96%changelog
[5476]97* Wed Jan 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.1-1
98- new upstream release
99
[5404]100* Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.24-1
101- new upstream release
102
[4811]103* Fri Sep 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23.1-1
104- new upstream release
105
[4730]106* Wed Sep 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23-1
107- new upstream release
108
[4354]109* Wed Jul 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.2-1
110- new upstream release
111
[4278]112* Wed Jul 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.1-1
113- new upstream release
114
[4126]115* Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22-1
116- new upstream release
117- added BuildRequires: desktop-file-utils, python-setuptools
118
[3789]119* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.3-1
120- new upstream release
121
[3725]122* Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.1-1
123- new upstream release
124
[2528]125* Tue Jan 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.3-1
126- new upstream release
127
[2497]128* Thu Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1
129- new upstream release
130
[2430]131* Sun Jan 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
132- new upstream release
133- used python macro
134
[2361]135* Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17.1-1
136- new upstream release
137
[2268]138* Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1
139- new upstream release
140- dropt Patch0
141
[2079]142* Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1
143- new upstream release
144- deleted unnecessary code in patch0
145
[1846]146* Mon Sep 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.2-1
147- new upstream release
148
[1805]149* Wed Sep 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.1-1
150- new upstream release
151- recreated patch0
152
[1738]153* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
154- new upstream release
155
[1608]156* Fri Aug 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13-1
157- new upstream release
158
[1405]159* Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1
160- new upstream release
161
[1283]162* Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1
163- new upstream release
164- changed URL
165- added patch0 to work around install error
166- dropt BuildRequires: ImageMagick
167- added BuildRequires: python, python-devel
168- modified install process
169  - use setup.py in source
170  - modified %%files
171  - changed category to 'Utility'
172
[1157]173* Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
174- new upstream release
175- added Requires: cairo, pango
176
[938]177* Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
178- new upstream release
179
[617]180* Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
181- new upstream release
[1157]182- applied new naming policy to spec
[617]183
[521]184* Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
185- new upstream release
186- added BuildRequires: ImageMagick
187
188* Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
189- new upstream release
190
191* Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
192- new upstream release
193
194* Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
195- rebuilt with python-2.6.4
196
197* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
198- new upstream release
199
200* Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
201- new upstream release
202
203* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
204- new upstream release
205
206* Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
207- initial build for Vine Linux
208
209* Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
210- 0.7.1
211
212* Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
213- 0.7
214
215* Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
216- 0.6.3
217
218* Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
219- 0.6.2
220
221* Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
222- 0.6
223
224* Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
225- 0.5.1
226
227* Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
228- 0.5
229
230* Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
231- 0.4
232
233* Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
234- 0.3
235
236* Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
237- 0.2
238
239* Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
240- add missing dependency gnome-python-gtksourceview
241
242* Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
243- initial pkg
244
Note: See TracBrowser for help on using the repository browser.