[Erp5-report] r7862 - in /spec/mandriva/2006.0/erp5-CMFPhoto: ./ erp5-CMFPhoto.spec

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 19 17:24:40 CEST 2006


Author: kevin
Date: Mon Jun 19 17:24:37 2006
New Revision: 7862

URL: http://svn.erp5.org?rev=7862&view=rev
Log:
Commit erp5-CMFPhoto-1.2.3-5mdk spec files and patches

Added:
    spec/mandriva/2006.0/erp5-CMFPhoto/
    spec/mandriva/2006.0/erp5-CMFPhoto/erp5-CMFPhoto.spec   (with props)

Added: spec/mandriva/2006.0/erp5-CMFPhoto/erp5-CMFPhoto.spec
URL: http://svn.erp5.org/spec/mandriva/2006.0/erp5-CMFPhoto/erp5-CMFPhoto.spec?rev=7862&view=auto
==============================================================================
--- spec/mandriva/2006.0/erp5-CMFPhoto/erp5-CMFPhoto.spec (added)
+++ spec/mandriva/2006.0/erp5-CMFPhoto/erp5-CMFPhoto.spec Mon Jun 19 17:24:37 2006
@@ -1,0 +1,81 @@
+%define product CMFPhoto
+%define version 1.2.3
+%define release 5
+
+%define zope_home %{_prefix}/lib/zope
+%define software_home %{zope_home}/lib/python
+
+Summary:   Custom version for ERP5 of the official CMFPhoto Zope product
+Name:      erp5-%{product}
+Version:   %{version}
+Release:   %mkrel %{release}
+License:   GPL
+Group:     System/Servers
+Source:    %{product}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
+BuildArch: noarch
+Requires:  zope zope-CMF zope-Photo
+Provides:  CMFPhoto
+
+%description
+Extremely useful Zope Product for representing a resizable image (photo) in a
+Plone or CMF based site. Like Zope's standard Image but smarter.
+Requires either the ImageMagick or PIL package on your system, which can be
+tricky to install.
+
+This CMFPhoto product is different from the official CMFPhoto products that you
+can find at http://cvs.sourceforge.net/viewcvs.py/collective/CMFPhoto . The
+latter is packaged as "zope-CMFPhoto". The erp5-CMFPhoto is a custom version
+made by Nexedi from an old version of CMFPhoto. To make things perfect, new
+code from erp5-CMFPhoto must be merged with the official CMFPhoto, to let us
+deprecate erp5-CMFPhoto.
+
+
+%prep
+%setup -c
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__mkdir_p} %{buildroot}/%{software_home}/Products
+%{__cp} -a * %{buildroot}%{software_home}/Products/
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
+  service zope restart
+fi
+
+%postun
+if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
+  service zope restart
+fi
+
+%files
+%defattr(0644, root, root, 0755)
+%{software_home}/Products/*
+
+
+
+#----------------------------------------------------------------------
+%changelog
+* Wed Jan 5 2006 Kevin Deldycke <kevin at nexedi.com> 1.2.3-5mdk
+  - Rewrite spec file based on the one written by Gaetan Lehmann for the zope-CMFPhoto release for Mandriva 2006
+  - Add 'erp5' prefix to package name
+  - Update the description
+
+* Thu Sep 4 2003 Sebatien Robin <seb at nexedi.com> 1.2.3-4mdk
+- Change in the spec file '/usr/lib' by %{_libdir}
+
+* Wed Sep 3 2003 Sébastien Robin <seb at nexedi.com> 1.2.3-3mdk
+- Update this rpm in order to follows Mandrake rules
+
+* Wed Apr 25 2003 Sébastien Robin <seb at nexedi.com> 1.2.3-2nxd
+- Clean the spec file
+
+* Mon Feb 3 2003 Jean-Paul Smets <jp at nexedi.com> 1.2.3-1nxd
+- Initial release

Propchange: spec/mandriva/2006.0/erp5-CMFPhoto/erp5-CMFPhoto.spec
------------------------------------------------------------------------------
    svn:executable = *




More information about the Erp5-report mailing list