1 | %define __instdir /var/lib/zope/Products |
---|
2 | %define __product ExternalEditor |
---|
3 | %define version 0.9.3 |
---|
4 | %define ZopeEdit zopeedit-%{version} |
---|
5 | |
---|
6 | Summary: Zope External Editor. |
---|
7 | Summary(ja): Zope外部エディタプロダクト. |
---|
8 | Name: Zope-%{__product} |
---|
9 | Version: %{version} |
---|
10 | Release: 2%{?_dist_release} |
---|
11 | License: Zope Public License Version 2.0 (ZPL) |
---|
12 | URL: http://plope.com/software/ExternalEditor/ |
---|
13 | Group: Development/Web Applications |
---|
14 | Source0: ExternalEditor-%{version}-src.tgz |
---|
15 | Source1: zopeedit-%{version}-src.tgz |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | Requires: Zope-zserver >= 2.7.0, python >= 2.3 |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | Packager: Shu KONNO (owa@bg.wakwak.com) |
---|
22 | |
---|
23 | %description |
---|
24 | External editor is a new way to edit through the web. Instead of crappy |
---|
25 | textareas and kludgy protocols, External editor lets you use the editor |
---|
26 | of your choice directly from your browser. |
---|
27 | Once configured you can click on the edit icon in the ZMI and use your |
---|
28 | favorite client side applications to edit your Zope objects. Works with |
---|
29 | both text and binary data. Works with any browser that supports helper |
---|
30 | applications. |
---|
31 | |
---|
32 | %description -l ja |
---|
33 | ExternalEditorはWeb透過式の新しい編集方法です.HTMLのうんざりするような |
---|
34 | 'textarea'や場当たりのプロトコルを使わなくてもいいのです,ExternalEditor |
---|
35 | はあなたの選んだエディタをブラウザから直接使用可能にします. |
---|
36 | 一度設定してしまえば,ZMI上の編集アイコンをクリックするだけで,クライアン |
---|
37 | ト側で好きなアプリケーションを使ってZopeオブジェクトを編集できます.文書 |
---|
38 | とバイナリデータの両方に対応し,ヘルパアプリケーションをサポートしている |
---|
39 | どんなブラウザでも動作します. |
---|
40 | |
---|
41 | %package -n python-zopeedit |
---|
42 | Summary: Zope External Editor Helper Application. |
---|
43 | Summary(ja): ExternalEditorヘルパーアプリケーション. |
---|
44 | Group: Development/Tools |
---|
45 | Requires: python |
---|
46 | Obsoletes: Zope-ExternalEditor-client |
---|
47 | %description -n python-zopeedit |
---|
48 | The helper application supports several configuration options, each |
---|
49 | of which can be triggered in any combination of object meta-type and |
---|
50 | content-type. |
---|
51 | This allows you to create appropriate behavior for different types |
---|
52 | of Zope objects and content. The configuration file is stored in the |
---|
53 | file "~/.zope-external-edit". |
---|
54 | |
---|
55 | %description -l ja -n python-zopeedit |
---|
56 | ヘルパアプリケーションにはいくつかの設定オプションがあります.オブジェ |
---|
57 | クトの'meta-type'や'content-type'をどんな組み合わせにしても,それらの |
---|
58 | オプションを発揮させることが可能です. |
---|
59 | そのため異なるタイプのZopeオブジェクトやコンテンツに対して,適切な動作 |
---|
60 | をさせることができます.この設定ファイルは"~/.zope-external-edit"にあり |
---|
61 | ます. |
---|
62 | |
---|
63 | %prep |
---|
64 | %setup -q -a 1 -c -n %{name}-%{version} |
---|
65 | |
---|
66 | %build |
---|
67 | |
---|
68 | %install |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | mkdir -p $RPM_BUILD_ROOT%{__instdir} |
---|
72 | cp -Rdp %{__product} $RPM_BUILD_ROOT%{__instdir} |
---|
73 | |
---|
74 | mkdir -p $RPM_BUILD_ROOT/usr/bin/ |
---|
75 | install -m 0755 %{ZopeEdit}/zopeedit.py $RPM_BUILD_ROOT/usr/bin/ |
---|
76 | |
---|
77 | mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1/ |
---|
78 | install -m 0755 %{ZopeEdit}/man/* $RPM_BUILD_ROOT%{_mandir}/man1/ |
---|
79 | |
---|
80 | %clean |
---|
81 | rm -rf $RPM_BUILD_ROOT |
---|
82 | |
---|
83 | %files |
---|
84 | %defattr(-, zope, zope) |
---|
85 | %dir %{__instdir}/%{__product} |
---|
86 | %{__instdir}/%{__product}/* |
---|
87 | |
---|
88 | %files -n python-zopeedit |
---|
89 | %defattr(-, root, root) |
---|
90 | /usr/bin/zopeedit.py |
---|
91 | %doc %{ZopeEdit}/README.txt |
---|
92 | %doc %{ZopeEdit}/LICENSE.txt |
---|
93 | %doc %{ZopeEdit}/CHANGES.txt |
---|
94 | %doc %{ZopeEdit}/INSTALL-UNIX.txt |
---|
95 | %{_mandir}/man1/* |
---|
96 | |
---|
97 | %changelog |
---|
98 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.3-2vl5 |
---|
99 | - rebuilt with python-2.5.2 |
---|
100 | |
---|
101 | * Mon Jun 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.3-1vl5 |
---|
102 | - applied new versioning policy and spec in utf-8 |
---|
103 | |
---|
104 | * Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> 0.9.3-0vl4 |
---|
105 | - fixed prereq, buildrequires pkgs |
---|
106 | |
---|
107 | * Thu Aug 23 2007 Shu KONNO <owa@bg.wakwak.com> 0.9.3-0vl2 |
---|
108 | - updated ExternalEditor to 0.9.3 |
---|
109 | - updated zopeedit to 0.9.3 |
---|
110 | |
---|
111 | * Thu Sep 21 2006 Shu KONNO <owa@bg.wakwak.com> 0.9.2-0vl2 |
---|
112 | - updated ExternalEditor to 0.9.2 |
---|
113 | - updated zopeedit to 0.9.2 |
---|
114 | |
---|
115 | * Thu Oct 20 2005 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.9.1-0vl1 |
---|
116 | - updated ExternalEditor to 0.9.1 |
---|
117 | - changed url |
---|
118 | |
---|
119 | * Wed Jul 14 2004 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.8-0vl1 |
---|
120 | - updated ExternalEditor to 0.8 |
---|
121 | |
---|
122 | * Fri Jun 04 2004 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7.2-0vl1 |
---|
123 | - updated ExternalEditor to 0.7.2 |
---|
124 | - moved 'obsoletes:' to the subpackage section |
---|
125 | |
---|
126 | * Sat Apr 24 2004 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7-0vl3 |
---|
127 | - renamed Zope-ExternalEditor-client to python-zopeedit |
---|
128 | - rebuild with python-2.3.3-0vl1 |
---|
129 | |
---|
130 | * Fri Sep 26 2003 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7-0vl2 |
---|
131 | - added 'BuildArch: noarch' |
---|
132 | |
---|
133 | * Sun Apr 13 2003 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7-0vl1 |
---|
134 | - updated ExternalEditor to 0.7 |
---|
135 | - rebuild with python-2.2 |
---|
136 | |
---|
137 | * Tue Feb 11 2003 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.6-0vl1 |
---|
138 | - updated ExternalEditor to 0.6 |
---|
139 | |
---|
140 | * Wed Aug 21 2002 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.5-0vl1 |
---|
141 | - updated ExternalEditor to 0.5 |
---|
142 | |
---|
143 | * Tue Jul 2 2002 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.4.1-0vl1 |
---|
144 | - created new |
---|