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