Zope2-ExternalEditor-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. %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. %description -l ja
  32. ExternalEditorはWeb透過式の新しい編集方法です.HTMLのうんざりするような
  33. 'textarea'や場当たりのプロトコルを使わなくてもいいのです,ExternalEditor
  34. はあなたの選んだエディタをブラウザから直接使用可能にします.
  35. 一度設定してしまえば,ZMI上の編集アイコンをクリックするだけで,クライアン
  36. ト側で好きなアプリケーションを使ってZopeオブジェクトを編集できます.文書
  37. とバイナリデータの両方に対応し,ヘルパアプリケーションをサポートしている
  38. どんなブラウザでも動作します.
  39. %package -n python-zopeedit
  40. Summary: Zope External Editor Helper Application.
  41. Summary(ja): ExternalEditorヘルパーアプリケーション.
  42. Group: Development/Tools
  43. Requires: python
  44. Obsoletes: Zope-ExternalEditor-client
  45. %description -n python-zopeedit
  46. The helper application supports several configuration options, each
  47. of which can be triggered in any combination of object meta-type and
  48. content-type.
  49. This allows you to create appropriate behavior for different types
  50. of Zope objects and content. The configuration file is stored in the
  51. file "~/.zope-external-edit".
  52. %description -l ja -n python-zopeedit
  53. ヘルパアプリケーションにはいくつかの設定オプションがあります.オブジェ
  54. クトの'meta-type'や'content-type'をどんな組み合わせにしても,それらの
  55. オプションを発揮させることが可能です.
  56. そのため異なるタイプのZopeオブジェクトやコンテンツに対して,適切な動作
  57. をさせることができます.この設定ファイルは"~/.zope-external-edit"にあり
  58. ます.
  59. %prep
  60. %setup -q -a 1 -c -n %{name}-%{version}
  61. %patch0 -p 0 -b .init
  62. %patch1 -p 0 -b .ExternalEditor
  63. %build
  64. %install
  65. rm -rf $RPM_BUILD_ROOT
  66. mkdir -p $RPM_BUILD_ROOT%{__instdir}
  67. cp -Rdp %{__product} $RPM_BUILD_ROOT%{__instdir}
  68. mkdir -p $RPM_BUILD_ROOT/usr/bin/
  69. install -m 0755 %{ZopeEdit}/zopeedit.py $RPM_BUILD_ROOT/usr/bin/
  70. mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1/
  71. install -m 0755 %{ZopeEdit}/man/* $RPM_BUILD_ROOT%{_mandir}/man1/
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT
  74. %files
  75. %defattr(-, Zope2, Zope2)
  76. %dir %{__instdir}/%{__product}
  77. %{__instdir}/%{__product}/*
  78. %files -n python-zopeedit
  79. %defattr(-, root, root)
  80. /usr/bin/zopeedit.py
  81. %doc %{ZopeEdit}/README.txt
  82. %doc %{ZopeEdit}/LICENSE.txt
  83. %doc %{ZopeEdit}/CHANGES.txt
  84. %doc %{ZopeEdit}/INSTALL-UNIX.txt
  85. %{_mandir}/man1/*
  86. %changelog
  87. * Sat Dec 11 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.3-3
  88. - changed name to Zope2-ExternalEditor
  89. - built with python-2.6
  90. - added ExternalEditor-0.9.3.init.patch
  91. - added ExternalEditor-0.9.3.ExternalEditor.patch
  92. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.3-2vl5
  93. - rebuilt with python-2.5.2
  94. * Mon Jun 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.3-1vl5
  95. - applied new versioning policy and spec in utf-8
  96. * Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> 0.9.3-0vl4
  97. - fixed prereq, buildrequires pkgs
  98. * Thu Aug 23 2007 Shu KONNO <owa@bg.wakwak.com> 0.9.3-0vl2
  99. - updated ExternalEditor to 0.9.3
  100. - updated zopeedit to 0.9.3
  101. * Thu Sep 21 2006 Shu KONNO <owa@bg.wakwak.com> 0.9.2-0vl2
  102. - updated ExternalEditor to 0.9.2
  103. - updated zopeedit to 0.9.2
  104. * Thu Oct 20 2005 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.9.1-0vl1
  105. - updated ExternalEditor to 0.9.1
  106. - changed url
  107. * Wed Jul 14 2004 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.8-0vl1
  108. - updated ExternalEditor to 0.8
  109. * Fri Jun 04 2004 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7.2-0vl1
  110. - updated ExternalEditor to 0.7.2
  111. - moved 'obsoletes:' to the subpackage section
  112. * Sat Apr 24 2004 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7-0vl3
  113. - renamed Zope-ExternalEditor-client to python-zopeedit
  114. - rebuild with python-2.3.3-0vl1
  115. * Fri Sep 26 2003 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7-0vl2
  116. - added 'BuildArch: noarch'
  117. * Sun Apr 13 2003 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.7-0vl1
  118. - updated ExternalEditor to 0.7
  119. - rebuild with python-2.2
  120. * Tue Feb 11 2003 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.6-0vl1
  121. - updated ExternalEditor to 0.6
  122. * Wed Aug 21 2002 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.5-0vl1
  123. - updated ExternalEditor to 0.5
  124. * Tue Jul 2 2002 Shu KONNO <owa@bg.wakwak.com> Zope-ExternalEditor-0.4.1-0vl1
  125. - created new