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

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