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

Revision 2528, 6.0 KB checked in by kudoh, 13 years ago (diff)
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
[2528]6Version:   0.19.3
[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
[1157]17BuildRequires:  gettext
[1283]18BuildRequires:  python
19BuildRequires:  python-devel
[1157]20Requires:  cairo
21Requires:  pango
[521]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
[938]48%setup -q
[2268]49#%patch0 -p1
[1405]50#chmod +x setup.py
[521]51
[1283]52sed -i 's|Comment=Hierarchical Note Taking|Comment=Hierarchical Note Taking\nComment[ja]=階層型ノートの作成|g' \
53       linux/cherrytree.desktop
54
[521]55%build
56
57%install
[1283]58rm -rf $RPM_BUILD_ROOT
[1805]59%{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
[521]60
[1283]61desktop-file-install --vendor="" \
62            --add-category="Utility" \
63            --dir %{buildroot}%_datadir/applications \
64                  %{buildroot}%_datadir/applications/%{name}.desktop
[521]65
[1283]66%find_lang %{name}
[521]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
[1283]80%files -f %{name}.lang
[521]81%defattr(-,root,root)
[1283]82%doc license
[521]83%{_bindir}/%{name}
[1283]84%{_datadir}/application-registry/
85%{_datadir}/applications/
[521]86%{_datadir}/%{name}
[1283]87%{_datadir}/icons/
88%{_datadir}/mime/packages/
89%{_datadir}/mime-info/
[2430]90%{python_sitelib}/*
[521]91
92
93%changelog
[2528]94* Tue Jan 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.3-1
95- new upstream release
96
[2497]97* Thu Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.19.1-1
98- new upstream release
99
[2430]100* Sun Jan 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
101- new upstream release
102- used python macro
103
[2361]104* Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17.1-1
105- new upstream release
106
[2268]107* Thu Dec 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.16-1
108- new upstream release
109- dropt Patch0
110
[2079]111* Sat Oct 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15-1
112- new upstream release
113- deleted unnecessary code in patch0
114
[1846]115* Mon Sep 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.2-1
116- new upstream release
117
[1805]118* Wed Sep 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.1-1
119- new upstream release
120- recreated patch0
121
[1738]122* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
123- new upstream release
124
[1608]125* Fri Aug 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13-1
126- new upstream release
127
[1405]128* Tue Jul 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12-1
129- new upstream release
130
[1283]131* Tue Jul 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.11-1
132- new upstream release
133- changed URL
134- added patch0 to work around install error
135- dropt BuildRequires: ImageMagick
136- added BuildRequires: python, python-devel
137- modified install process
138  - use setup.py in source
139  - modified %%files
140  - changed category to 'Utility'
141
[1157]142* Sun Jun 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10-1
143- new upstream release
144- added Requires: cairo, pango
145
[938]146* Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
147- new upstream release
148
[617]149* Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
150- new upstream release
[1157]151- applied new naming policy to spec
[617]152
[521]153* Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
154- new upstream release
155- added BuildRequires: ImageMagick
156
157* Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
158- new upstream release
159
160* Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
161- new upstream release
162
163* Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
164- rebuilt with python-2.6.4
165
166* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
167- new upstream release
168
169* Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
170- new upstream release
171
172* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
173- new upstream release
174
175* Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
176- initial build for Vine Linux
177
178* Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
179- 0.7.1
180
181* Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
182- 0.7
183
184* Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
185- 0.6.3
186
187* Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
188- 0.6.2
189
190* Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
191- 0.6
192
193* Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
194- 0.5.1
195
196* Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
197- 0.5
198
199* Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
200- 0.4
201
202* Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
203- 0.3
204
205* Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
206- 0.2
207
208* Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
209- add missing dependency gnome-python-gtksourceview
210
211* Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
212- initial pkg
213
Note: See TracBrowser for help on using the repository browser.