Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rkwasny:erp5
erp5-CMFPhoto
erp5-CMFPhoto.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erp5-CMFPhoto.spec of Package erp5-CMFPhoto
%define product CMFPhoto %define version 1.2.3 %define release 9 %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: %{release} License: GPL Group: System/Servers Source: %{product}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir BuildArch: noarch Requires: zope, zope-CMF < 1.6.0, zope-Photo Conflicts: zope-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, zope, zope, 0755) %{software_home}/Products/* #---------------------------------------------------------------------- %changelog * Tue Jan 23 2007 Kevin Deldycke <kevin@nexedi.com> 1.2.3-9mdv2007.0 - CMFPhoto for ERP5 is based on CMF 1.5 branch. No greater version are officially supported. * Mon Jan 22 2007 Kevin Deldycke <kevin@nexedi.com> 1.2.3-8mdv2007.0 - Rebuild for Mandriva 2007.0 * Wed Feb 01 2006 Kevin Deldycke <kevin@nexedi.com> 1.2.3-7mdk - Give Ownership to zope * Tue Jan 24 2006 Kevin Deldycke <kevin@nexedi.com> 1.2.3-6mdk - Add "Conflicts:" statement - Delete "Provides:" statement * Wed Jan 05 2006 Kevin Deldycke <kevin@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 04 2003 Sebatien Robin <seb@nexedi.com> 1.2.3-4mdk - Change in the spec file '/usr/lib' by %{_libdir} * Wed Sep 03 2003 S�astien Robin <seb@nexedi.com> 1.2.3-3mdk - Update this rpm in order to follows Mandrake rules * Wed Apr 25 2003 S�astien Robin <seb@nexedi.com> 1.2.3-2nxd - Clean the spec file * Mon Feb 03 2003 Jean-Paul Smets <jp@nexedi.com> 1.2.3-1nxd - Initial release
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor