Zope-ExternalEditor-vl.spec 5.1 KB

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