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

Revision 3725, 6.1 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.1
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* Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.21.1-1
95- new upstream release
96
97* Tue Jan 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.3-1
98- new upstream release
99
100* Thu Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1
101- new upstream release
102
103* Sun Jan 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
104- new upstream release
105- used python macro
106
107* Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17.1-1
108- new upstream release
109
110* Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1
111- new upstream release
112- dropt Patch0
113
114* Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1
115- new upstream release
116- deleted unnecessary code in patch0
117
118* Mon Sep 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.2-1
119- new upstream release
120
121* Wed Sep 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.1-1
122- new upstream release
123- recreated patch0
124
125* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
126- new upstream release
127
128* Fri Aug 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13-1
129- new upstream release
130
131* Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1
132- new upstream release
133
134* Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1
135- new upstream release
136- changed URL
137- added patch0 to work around install error
138- dropt BuildRequires: ImageMagick
139- added BuildRequires: python, python-devel
140- modified install process
141  - use setup.py in source
142  - modified %%files
143  - changed category to 'Utility'
144
145* Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
146- new upstream release
147- added Requires: cairo, pango
148
149* Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
150- new upstream release
151
152* Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
153- new upstream release
154- applied new naming policy to spec
155
156* Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
157- new upstream release
158- added BuildRequires: ImageMagick
159
160* Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
161- new upstream release
162
163* Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
164- new upstream release
165
166* Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
167- rebuilt with python-2.6.4
168
169* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
170- new upstream release
171
172* Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
173- new upstream release
174
175* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
176- new upstream release
177
178* Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
179- initial build for Vine Linux
180
181* Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
182- 0.7.1
183
184* Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
185- 0.7
186
187* Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
188- 0.6.3
189
190* Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
191- 0.6.2
192
193* Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
194- 0.6
195
196* Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
197- 0.5.1
198
199* Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
200- 0.5
201
202* Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
203- 0.4
204
205* Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
206- 0.3
207
208* Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
209- 0.2
210
211* Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
212- add missing dependency gnome-python-gtksourceview
213
214* Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
215- initial pkg
216
Note: See TracBrowser for help on using the repository browser.