]> git.pld-linux.org Git - packages/Zope-CMFVisualEditor.git/commitdiff
- changed name after typo
authorciesiel <ciesiel@pld-linux.org>
Sat, 27 Sep 2003 17:38:52 +0000 (17:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- .py needed by packages

Changed files:
    Zope-CMFVisualEditor.spec -> 1.1

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

diff --git a/Zope-CMFVisualEditor.spec b/Zope-CMFVisualEditor.spec
new file mode 100644 (file)
index 0000000..5997936
--- /dev/null
@@ -0,0 +1,66 @@
+%include       /usr/lib/rpm/macros.python
+%define                zope_subname    CMFVisualEditor
+Summary:       CMFVisualEditor - a Zope product, a skin for Plone using the DHTML Editing Control
+Summary(pl):   CMFVisualEditor - dodatkiem do Zope umo¿liwiaj±cy wizualn± edycjê DHTML dla Plone
+Name:          Zope-%{zope_subname}
+Version:       0.2
+Release:       2
+License:       GNU
+Group:         Development/Tools
+Source0:       http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: c4dedabced3f11af450e6750e7201f8a
+URL:           http://sourceforge.net/projects/collective/
+%pyrequires_eq python-modules
+Requires:      CMF
+Requires:      Plone
+Requires:      Zope
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        product_dir     /usr/lib/zope/Products
+
+%description
+CMFVisualEditor is a Zope product, a skin for Plone that makes use of
+the DHTML Editing Control.
+
+%description -l pl
+CMFVisualEditor jest dodatkiem do Zope umo¿liwiaj±cym wizualn± edycjê
+DHTML dla Plone.
+
+%prep
+%setup -q -c %{zope_subname}-%{version}
+
+%build
+cd %{zope_subname}
+mkdir docs
+mv -f README.txt docs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{product_dir}
+
+cp -af * $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+
+%py_comp $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+%py_ocomp $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+
+# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+rm -rf $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}/docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%postun
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{zope_subname}/docs/*
+%{product_dir}/%{zope_subname}
This page took 0.056842 seconds and 4 git commands to generate.