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

Revision 5570, 7.2 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.25.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:  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
56sed -i 's/MimeType=x-directory\/normal;inode\/directory/MimeType=inode\/directory/g' \
57    data/pcmanfm.desktop
58
59%build
60
61%install
62rm -rf $RPM_BUILD_ROOT
63%{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
64
65desktop-file-install --vendor="" \
66            --add-category="Utility" \
67            --dir %{buildroot}%_datadir/applications \
68                  %{buildroot}%_datadir/applications/%{name}.desktop
69
70%find_lang %{name}
71
72%clean
73rm -rf %{buildroot}
74
75%post
76update-desktop-database %{_datadir}/applications
77gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
78
79%postun
80update-desktop-database %{_datadir}/applications
81gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
82
83
84%files -f %{name}.lang
85%defattr(-,root,root)
86%doc license
87%{_bindir}/%{name}
88%{_datadir}/application-registry/
89%{_datadir}/applications/
90%{_datadir}/%{name}
91%{_datadir}/icons/
92%{_datadir}/mime/packages/
93%{_datadir}/mime-info/
94%{_mandir}/man1/
95%{python_sitelib}/*
96
97
98%changelog
99* Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.3-1
100- new upstream release
101
102* Wed Jan 25 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.25.1-1
103- new upstream release
104
105* Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.24-1
106- new upstream release
107
108* Fri Sep 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23.1-1
109- new upstream release
110
111* Wed Sep 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.23-1
112- new upstream release
113
114* Wed Jul 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.2-1
115- new upstream release
116
117* Wed Jul 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22.1-1
118- new upstream release
119
120* Sun Jun 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.22-1
121- new upstream release
122- added BuildRequires: desktop-file-utils, python-setuptools
123
124* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.3-1
125- new upstream release
126
127* Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.1-1
128- new upstream release
129
130* Tue Jan 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.3-1
131- new upstream release
132
133* Thu Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1
134- new upstream release
135
136* Sun Jan 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
137- new upstream release
138- used python macro
139
140* Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17.1-1
141- new upstream release
142
143* Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1
144- new upstream release
145- dropt Patch0
146
147* Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1
148- new upstream release
149- deleted unnecessary code in patch0
150
151* Mon Sep 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.2-1
152- new upstream release
153
154* Wed Sep 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.1-1
155- new upstream release
156- recreated patch0
157
158* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
159- new upstream release
160
161* Fri Aug 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13-1
162- new upstream release
163
164* Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1
165- new upstream release
166
167* Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1
168- new upstream release
169- changed URL
170- added patch0 to work around install error
171- dropt BuildRequires: ImageMagick
172- added BuildRequires: python, python-devel
173- modified install process
174  - use setup.py in source
175  - modified %%files
176  - changed category to 'Utility'
177
178* Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
179- new upstream release
180- added Requires: cairo, pango
181
182* Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
183- new upstream release
184
185* Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
186- new upstream release
187- applied new naming policy to spec
188
189* Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
190- new upstream release
191- added BuildRequires: ImageMagick
192
193* Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
194- new upstream release
195
196* Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
197- new upstream release
198
199* Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
200- rebuilt with python-2.6.4
201
202* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
203- new upstream release
204
205* Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
206- new upstream release
207
208* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
209- new upstream release
210
211* Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
212- initial build for Vine Linux
213
214* Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
215- 0.7.1
216
217* Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
218- 0.7
219
220* Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
221- 0.6.3
222
223* Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
224- 0.6.2
225
226* Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
227- 0.6
228
229* Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
230- 0.5.1
231
232* Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
233- 0.5
234
235* Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
236- 0.4
237
238* Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
239- 0.3
240
241* Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
242- 0.2
243
244* Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
245- add missing dependency gnome-python-gtksourceview
246
247* Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
248- initial pkg
249
Note: See TracBrowser for help on using the repository browser.