%define zope_minver 2.7 %define zope_home %{_libdir}/zope %define software_home %{zope_home}/lib/python Name: CMFCollector Version: 0.93 Release: 2 Summary: A Zope/CMF-based bug-tracking system URL: http://cvs.zope.org/CMF/CMFCollector/ Source0: http://www.zope.org/Members/bowerymarc/CMFCollector-update/%{version}/CMFCollector.%{version}.tgz License: ZPL Group: Development/Web Applications BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: plone %description The CMFCollector is starting out as a rudimentary issue tracker, to replace the equally rudimentary, ancient collector we've been using on zope.org for a long time. It is being implemented as CMF content to enable evolution to a more comprehensive solution with time. %prep %setup -n %{name} # Clean up sources find . -type d -name CVS | xargs rm -rf find . -type f -name .cvsignore | xargs rm -rf find . -type d -name .svn | xargs rm -rf find . -type f -name "*~" | xargs rm -rf %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector cp -pr * $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector rm -f $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector/CHANGELOG.txt rm -f $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector/INSTALL.txt rm -f $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector/KNOWN_PROBLEMS.txt rm -f $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector/README.txt rm -f $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector/RELEASE_NOTES.txt rm -f $RPM_BUILD_ROOT%{software_home}/Products/CMFCollector/TODO.txt %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc CHANGELOG.txt INSTALL.txt KNOWN_PROBLEMS.txt README.txt RELEASE_NOTES.txt TODO.txt %{software_home}/Products/* %changelog * Wed Jan 25 2006 Alex Tucker <alex@ferrari.floop.org.uk> - 0.93-2 - Updated for new Plone/Zope builds. * Wed Feb 23 2005 Alex Tucker <alex@fester.floop.org.uk> - 0.93-1 - Updated to 0.93 * Thu Nov 13 2003 Alex Tucker <alex@floop.org.uk> - Initial build, with patch to remove "string:${object_url}" from actions for Plone.