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

Revision 938, 5.0 KB checked in by kudoh, 14 years ago (diff)
Line 
1Summary:   CherryTree - note taking application
2Summary(ja): CherryTree - ノート作成アプリケーション
3Name:      cherrytree
4Version:   0.9.6
5Release:   1%{?_dist_release}
6License:   GPLv2+
7Group:     Applications/Productivity
8URL:       http://open.vitaminap.it/en/cherrytree.htm
9Source0:   %{name}-%{version}.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildArch: noarch
12
13BuildRequires:  ImageMagick
14Requires:  python
15Requires:  pygtk2
16Requires:  gtksourceview2
17Requires:  pygtksourceview
18
19#Obsoletes: %name < %version
20
21%description
22A hierarchical note taking application, featuring rich text and syntax highlighting.
23Features:
24- rich text (foreground color, background color and bold)
25- syntax highlighting (only when the rich text is disabled in the current node)
26- find a node, find in current node, find in all nodes
27- replace in node names, replace in current node, replace in all nodes
28- iteration of the latest find, iteration of the latest replace
29
30%description -l ja
31階層型ノートの作成アプリケーションで、リッチテキストや構文の強調表示を備えています。
32特長:
33- リッチテキスト(前景色、背景色、太字)
34- 構文の強調表示(現在のノードではリッチテキストの場合だけ無効)
35- ノードの検出、現在のノードからの検索、すべてのノードからの検索
36- ノードの名前の置換、現在のノードで置換、すべてのノードで置換
37- 最新の検索・置換の繰り返し
38
39%prep
40%setup -q
41
42%build
43
44%install
45rm -rf %{buildroot}
46%__install -dm 755 %{buildroot}%{_bindir}
47%__install -m 755 %{name} %{buildroot}%{_bindir}
48%__install -dm 755 %{buildroot}%{_datadir}/%{name}
49cp -R glade %{buildroot}%{_datadir}/%{name}
50%__install -dm 755 %{buildroot}%{_datadir}/mime-info
51%__install -dm 755 %{buildroot}%{_datadir}/mime/packages/
52%__install -dm 755 %{buildroot}%{_datadir}/application-registry
53%__install -dm 755 %{buildroot}%{_datadir}/applications
54%__install -dm 755 %{buildroot}%{_datadir}/pixmaps
55cp -R modules %{buildroot}%{_datadir}/%{name}/modules
56%__install -m  644 glade/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
57convert %{buildroot}%{_datadir}/pixmaps/%{name}.png -resize 48x48 %{buildroot}%{_datadir}/pixmaps/%{name}.png
58
59mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
60cat > $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop << EOF
61[Desktop Entry]
62Encoding=UTF-8
63Name=CherryTree
64Comment=Tree-way Notes Keeper
65Comment[ja]=階層型ノートの作成
66Exec=cherrytree %f
67Icon=cherrytree
68MimeType=text/cherrytree-ctd;
69Terminal=false
70Type=Application
71StartupNotify=true
72Categories=GNOME;GTK;Office;
73EOF
74
75#remove
76rm -f %{buildroot}/%{_datadir}/%{name}/glade/*.desktop
77rm -f %{buildroot}/%{_datadir}/%{name}/glade/README
78
79%clean
80rm -rf %{buildroot}
81
82%post
83update-desktop-database %{_datadir}/applications
84gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
85
86%postun
87update-desktop-database %{_datadir}/applications
88gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
89
90
91%files
92%defattr(-,root,root)
93%{_bindir}/%{name}
94%{_datadir}/pixmaps/%{name}.png
95%{_datadir}/%{name}
96%{_datadir}/application-registry
97%{_datadir}/mime-info
98%{_datadir}/mime/packages
99%{_datadir}/applications/*.desktop
100
101
102%changelog
103* Tue May 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.6-1
104- new upstream release
105
106* Sat Mar 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.3-1
107- new upstream release
108- applied new naming policy to spec
109
110* Sun Mar 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.2-1
111- new upstream release
112- added BuildRequires: ImageMagick
113
114* Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.1-1
115- new upstream release
116
117* Mon Feb 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9-1
118- new upstream release
119
120* Sat Feb 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.3-2
121- rebuilt with python-2.6.4
122
123* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.3-1
124- new upstream release
125
126* Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
127- new upstream release
128
129* Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
130- new upstream release
131
132* Fri Dec 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8-1
133- initial build for Vine Linux
134
135* Sun Dec 13 2009 slick50 <lxgator@gmail.com> 0.7.1-1pclos2010
136- 0.7.1
137
138* Sat Dec 12 2009 slick50 <lxgator@gmail.com> 0.7-1pclos2010
139- 0.7
140
141* Tue Dec 08 2009 slick50 <lxgator@gmail.com> 0.6.3-1pclos2010
142- 0.6.3
143
144* Fri Dec 05 2009 slick50 <lxgator@gmail.com> 0.6.2-1pclos2010
145- 0.6.2
146
147* Thu Nov 26 2009 slick50 <lxgator@gmail.com> 0.6-1pclos2010
148- 0.6
149
150* Fri Nov 20 2009 slick50 <lxgator@gmail.com> 0.5.1-1pclos2010
151- 0.5.1
152
153* Thu Nov 19 2009 slick50 <lxgator@gmail.com> 0.5-1pclos2010
154- 0.5
155
156* Thu Nov 12 2009 slick50 <lxgator@gmail.com> 0.4-1pclos2010
157- 0.4
158
159* Thu Nov 05 2009 slick50 <lxgator@gmail.com> 0.3-1pclos2010
160- 0.3
161
162* Fri Oct 30 2009 slick50 <lxgator@gmail.com> 0.2-1pclos2010
163- 0.2
164
165* Fri Oct 16 2009 Texstar <texstar at gmail.com> 0.1-2pclos2010
166- add missing dependency gnome-python-gtksourceview
167
168* Wed Oct 14 2009 slick50 <lxgator@gmail.com> 0.1-1pclos2010
169- initial pkg
170
Note: See TracBrowser for help on using the repository browser.