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

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