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

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