source: projects/specs/trunk/Z/Zope2-ExternalEditor/Zope2-ExternalEditor-vl.spec @ 2331

Revision 2331, 5.4 KB checked in by owa, 13 years ago (diff)

Zope2 新規プロダクト

Line 
1%define __instdir /var/lib/Zope2/Products
2%define __product ExternalEditor
3%define version 0.9.3
4%define ZopeEdit zopeedit-%{version}
5Summary: Zope External Editor.
6Summary(ja): Zope外部エディタプロダクト.
7Name: Zope2-%{__product}
8Version: %{version}
9Release: 3%{?_dist_release}
10License: Zope Public License Version 2.0 (ZPL)
11URL: http://plope.com/software/ExternalEditor/
12Group: Development/Web Applications
13Source0: ExternalEditor-%{version}-src.tgz
14Source1: zopeedit-%{version}-src.tgz
15Patch0: ExternalEditor-0.9.3.init.patch
16Patch1: ExternalEditor-0.9.3.ExternalEditor.patch
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildArch: noarch
19Requires: Zope2-zserver >= 2.12, python >= 2.6
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: owa
23
24%description
25External editor is a new way to edit through the web. Instead of crappy
26textareas and kludgy protocols, External editor lets you use the editor
27of your choice directly from your browser.
28Once configured you can click on the edit icon in the ZMI and use your
29favorite client side applications to edit your Zope objects. Works with
30both text and binary data. Works with any browser that supports helper
31applications.
32
33%description -l ja
34ExternalEditorはWeb透過式の新しい編集方法です.HTMLのうんざりするような
35'textarea'や場当たりのプロトコルを使わなくてもいいのです,ExternalEditor
36はあなたの選んだエディタをブラウザから直接使用可能にします.
37一度設定してしまえば,ZMI上の編集アイコンをクリックするだけで,クライアン
38ト側で好きなアプリケーションを使ってZopeオブジェクトを編集できます.文書
39とバイナリデータの両方に対応し,ヘルパアプリケーションをサポートしている
40どんなブラウザでも動作します.
41
42%package -n python-zopeedit
43Summary: Zope External Editor Helper Application.
44Summary(ja): ExternalEditorヘルパーアプリケーション.
45Group: Development/Tools
46Requires: python
47Obsoletes: Zope-ExternalEditor-client
48%description -n python-zopeedit
49The helper application supports several configuration options, each
50of which can be triggered in any combination of object meta-type and
51content-type.
52This allows you to create appropriate behavior for different types
53of Zope objects and content. The configuration file is stored in the
54file "~/.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
72rm -rf $RPM_BUILD_ROOT
73
74mkdir -p $RPM_BUILD_ROOT%{__instdir}
75cp -Rdp %{__product} $RPM_BUILD_ROOT%{__instdir}
76
77mkdir -p $RPM_BUILD_ROOT/usr/bin/
78install -m 0755 %{ZopeEdit}/zopeedit.py $RPM_BUILD_ROOT/usr/bin/
79
80mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1/
81install -m 0755 %{ZopeEdit}/man/* $RPM_BUILD_ROOT%{_mandir}/man1/
82
83%clean
84rm -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
Note: See TracBrowser for help on using the repository browser.