]> git.pld-linux.org Git - packages/Zope-epoz.git/commitdiff
- renamed packages...
authorciesiel <ciesiel@pld-linux.org>
Mon, 24 Nov 2003 19:58:06 +0000 (19:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- warning: this stable version is unstable on Zope 2.7.0b3 :)

Changed files:
    Zope-epoz.spec -> 1.1

Zope-epoz.spec [new file with mode: 0644]

diff --git a/Zope-epoz.spec b/Zope-epoz.spec
new file mode 100644 (file)
index 0000000..b3fdce4
--- /dev/null
@@ -0,0 +1,68 @@
+#
+# TODO: 
+#  - Please test in stable version of Zope
+#  - On Zope 2.7.0beta3 this version make "connection refused" error
+#
+%include        /usr/lib/rpm/macros.python
+%define        zope_subname    epoz
+Summary:       epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor.
+Summary(pl):   Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w trybie WYSIWYG.
+Name:          Zope-%{zope_subname}
+Version:       1.0
+Release:       1
+License:       ZPL 2.0
+Group:         Development/Tools
+Source0:       http://dl.sourceforge.net/%{zope_subname}/%{zope_subname}-%{version}.tgz
+# Source0-md5: 573fef5d349ea5cd54105f8dad8eee5d
+URL:           http://sourceforge.net/projects/epoz/
+%pyrequires_eq  python-modules
+Requires:      Zope
+Requires(post,postun): /usr/sbin/installzopeproduct
+Obsoletes:     Zope-Epoz
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+epoz allows you to edit Zope or Plone-objects with a wysiwyg-editor.
+
+%description -l pl
+Dodatek do Zope lub Plone umo¿liwiaj±cy manipulacje na obiektach w
+trybie WYSIWYG.
+
+%prep
+%setup -q -n %{zope_subname}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -af * $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%postun
+if [ "$1" = "0" ]; then
+       /usr/sbin/installzopeproduct -d %{zope_subname}
+       if [ -f /var/lock/subsys/zope ]; then
+               /etc/rc.d/init.d/zope restart >&2
+       fi
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc doc
+%{_datadir}/%{name}
This page took 0.094258 seconds and 4 git commands to generate.