Commit f6ecb325 authored by Kevin Deldycke's avatar Kevin Deldycke

Move spec files from ERP5 product to dedicated folder

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7788 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7e5d763e
No related merge requests found
Name: BTreeFolder2
Summary: A Zope product to implement large size folders
Version: 0.5.0
Release: 7mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.zope.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
BTreeFolder2 is a Zope product to implement large size folders.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install %{name}-%{version}/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt CREDITS.txt LICENSE.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 0.5.0-7mdk
- Make now signed rpm
* Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 0.5.0-6mdk
- change in the spec file '/usr/lib' by %{_libdir}
* Thu Sep 04 2003 Sebastien Robin <seb@nexedi.com> 0.5.0-5mdk
- Update spec in order to follows Mandrake Rules
* Mon Apr 28 2003 Sebastien Robin <seb@nexedi.com> 0.5.0-4nxd
- dtml files where not installed
- clean the spec file
* Mon Nov 4 2002 Jean-Paul Smets <jp@nexedi.com> 0.5.0-1nxd
- Initial release
Name: Base18
Summary: Base18 is a Zope product to implement multilingual portals
Version: 0.2.0
Release: 13mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.erp5.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
Base18 is a Zope product to implement multilingual portals
It extends the Zope CMF by allowing documents to be split into
a list of paragraphs which can be translated through a message catalog.
http://www.erp5.org
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/default_wiki_content
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install %{name}-%{version}/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install %{name}-%{version}/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install %{name}-%{version}/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/interfaces
install %{name}-%{version}/interfaces/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/interfaces
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/content18
install %{name}-%{version}/skins/content18/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/content18
install %{name}-%{version}/skins/content18/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/content18
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/nexedi
install %{name}-%{version}/skins/nexedi/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/nexedi
install %{name}-%{version}/skins/nexedi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/nexedi
install %{name}-%{version}/skins/nexedi/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/nexedi
install %{name}-%{version}/skins/nexedi/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/nexedi
install %{name}-%{version}/skins/nexedi/*.props $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/nexedi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/zpt_content18
install %{name}-%{version}/skins/zpt_content18/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/zpt_content18
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/zpt_nexedi
install %{name}-%{version}/skins/zpt_nexedi/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/zpt_nexedi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/spec
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt CREDITS.txt GPL.txt ZPL.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 0.2.0.13mdk
- Make now signed rpm
* Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 0.2.0-12mdk
- change in the spec file '/usr/lib' by %{_libdir}
* Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 0.2.0-11mdk
- Update this rpm in order to follows Mandrake rules
* Thu May 30 2003 Sebastien Robin <seb@nexedi.com> 0.2.0-10nxd
- Update the changelog, there were bad version numbers
* Thu Jan 30 2003 Jean-Paul Smets <jp@nexedi.com> 0.2.0-9nxd
- Missing interfaces
* Thu Jan 30 2003 Jean-Paul Smets <jp@nexedi.com> 0.2.0-9nxd
- Missing interfaces
* Tue Jan 21 2003 Jean-Paul Smets <jp@nexedi.com> 0.2.0-8nxd
- Missing menu_box
* Wed Jan 8 2003 Jean-Paul Smets <jp@nexedi.com> 0.2.0-7nxd
- Fixed again missing skins
* Wed Jan 8 2003 Jean-Paul Smets <jp@nexedi.com> 0.2.0-6nxd
- Fixed again missing skins
* Wed Jan 8 2003 Jean-Paul Smets <jp@nexedi.com> 0.2.0-5nxd
- Code update for latest CMF - recover from crash
* Sat Oct 12 2002 Jean-Paul Smets <jp@nexedi.com> 0.2.0-1nxd
- Initial release
# File: CM-python.spec
#
# CM-python
#
# "CM-python allows to implement online payment with Zope"
#
# Installation requires:
# cp libcm-mac.a %{_libdir}/
# ln -s /usr/bin/python2.1 /usr/bin/python
Name: CM-python
Summary: A Zope product to build online computer shops
Version: 0.1
Release: 2nxd
Group: Development/Python
Requires: python
BuildRequires: swig
License: GPL
Vendor: Nexedi
URL: http://www.nexedi.org
Packager: Jean-Paul Smets <jp@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Source0: http://www.nexedi.org/download/%{name}-%{version}.tar.bz2
Source1: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
StoreverShop is a Zope product to build online computer shops.
http://www.nexedi.org
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 1
#----------------------------------------------------------------------
%build
make clean
make all
make dist
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/python2.2/site-packages
install build/lib.linux-i686-2.1/cmmac.so $RPM_BUILD_ROOT%{_libdir}/python2.2/site-packages
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc MANIFEST cm-mac_wrap.doc payment.zexp CMMac.py
%{_libdir}/python2.2/site-packages/cmmac.so
#----------------------------------------------------------------------
%changelog
* Sun May 4 2003 Jean-Paul Smets <jp@nexedi.com> 0.1.0-2nxd
-- Upgrade to python2.2
* Sun Dec 29 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-1nxd
- Initial release
Name: CMF
Summary: A Content Management System based on Zope
Version: 1.4.2
Release: 1mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://cmf.zope.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
Zope CMF is a content management framework based on the Zope
application server. The Zope CMF rpm package contains a complete Zope
CMF distribution including CMFWiki (a CMF based Wiki) and DCWorkflow
(a CMF based worflow).
http://cmf.zope.org
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%setup -q
#----------------------------------------------------------------------
#%build
#----------------------------------------------------------------------
%install
#---------------------- CMF Calendar ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar
install CMFCalendar/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar
install CMFCalendar/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar
install CMFCalendar/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/Extensions
install CMFCalendar/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/help
install CMFCalendar/help/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar
install CMFCalendar/skins/calendar/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install CMFCalendar/skins/calendar/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install CMFCalendar/skins/calendar/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install CMFCalendar/skins/zpt_calendar/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar
install CMFCalendar/skins/zpt_calendar/*.css $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar
install CMFCalendar/skins/zpt_calendar/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/tests
install CMFCalendar/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/www
install CMFCalendar/www/*.zpt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/www
#---------------------- CMF Core ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore
install CMFCore/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore
install CMFCore/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore
install CMFCore/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/dtml
install CMFCore/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/images
install CMFCore/images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/images
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/interfaces
install CMFCore/interfaces/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/interfaces
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/tests
install CMFCore/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/tests
#---------------------- CMF Default ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault
install CMFDefault/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault
install CMFDefault/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault
install CMFDefault/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/dtml
install CMFDefault/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/Extensions
install CMFDefault/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/help
install CMFDefault/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/images
install CMFDefault/images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/images
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/control
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/generic
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/Images
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/no_css
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/nouvelle
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_content
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_control
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/content/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install CMFDefault/skins/content/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install CMFDefault/skins/content/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install CMFDefault/skins/control/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/control
install CMFDefault/skins/control/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/control
install CMFDefault/skins/generic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/generic
install CMFDefault/skins/generic/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/generic
install CMFDefault/skins/Images/*.jpg $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/Images
install CMFDefault/skins/Images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/Images
install CMFDefault/skins/no_css/*.props $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/no_css
install CMFDefault/skins/nouvelle/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/nouvelle
install CMFDefault/skins/nouvelle/*.props $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/nouvelle
install CMFDefault/skins/zpt_content/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_content
install CMFDefault/skins/zpt_content/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_content
install CMFDefault/skins/zpt_generic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_generic/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_generic/*.css $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_generic/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_control/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_control
install CMFDefault/skins/zpt_control/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_control
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/scripts
install CMFDefault/scripts/*.pys $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/scripts
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/interfaces
install CMFDefault/interfaces/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/interfaces
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/tests
install CMFDefault/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/tests
install CMFDefault/tests/*.jpg $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/tests
#---------------------- CMF Topic ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic
install CMFTopic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic
install CMFTopic/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/Extensions
install CMFTopic/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/help
install CMFTopic/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/interfaces
install CMFTopic/interfaces/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/interfaces
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/zpt_topic
install CMFTopic/skins/topic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install CMFTopic/skins/topic/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install CMFTopic/skins/topic/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install CMFTopic/skins/zpt_topic/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/zpt_topic
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/tests
install CMFTopic/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/tests
#---------------------- CMF Wiki ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki
install CMFWiki/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki
install CMFWiki/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/default_wiki_content
install CMFWiki/default_wiki_content/*.wiki $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/default_wiki_content
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/Extensions
install CMFWiki/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/zpt_wiki
install CMFWiki/skins/wiki/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/wiki/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/wiki/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/wiki/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/zpt_wiki/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/zpt_wiki
install CMFWiki/skins/zpt_wiki/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/zpt_wiki
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/tests
install CMFWiki/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/tests
#---------------------- DCWorkflow ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow
install DCWorkflow/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow
install DCWorkflow/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc/examples
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc/examples/staging
install DCWorkflow/doc/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc
install DCWorkflow/doc/examples/staging/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc/examples/staging
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/dtml
install DCWorkflow/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/help
install DCWorkflow/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/images
install DCWorkflow/images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/images
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/tests
install DCWorkflow/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/tests
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt LICENSE.txt
%{_libdir}/zope/lib/python/Products/CMFCalendar/
%{_libdir}/zope/lib/python/Products/CMFCore/
%{_libdir}/zope/lib/python/Products/CMFDefault/
%{_libdir}/zope/lib/python/Products/CMFTopic/
%{_libdir}/zope/lib/python/Products/CMFWiki/
%{_libdir}/zope/lib/python/Products/DCWorkflow/
#----------------------------------------------------------------------
%changelog
* Mon Nov 03 2003 Sebastien Robin <seb@nexedi.com> 1.4.2-1mdk
- Updated to CMF 1.4.2
\ No newline at end of file
Name: CMFMailIn
Summary: A Zope product to import emails into CMF sites.
Version: 1.0.0
Release: 4mdk
Group: Development/Python
Requires: zope CMF ZMailIn
License: GPL
URL: http://www.zope.org/Members/NIP/ZMailIn
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
CMFMailIn is a Zope product to import emails into CMF sites.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install www/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install tests/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/mailin
install skins/mailin/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/mailin
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt LICENSE.txt VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.0.0-4mdk
- Make now signed rpm
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 1.0.0-3mdk
- Update spec in order to follows Mandrake Rules
* Wed May 21 2003 Sebastien Robin <jp@nexedi.com> 1.0.0-2nxd
- clean spec file
* Wed Mar 05 2003 Jean-Paul Smets <jp@nexedi.com> 1.0.0-1nxd
- Initial release
Name: CMFPhoto
Summary: A Zope product to manage images better...
Version: 1.2.3
Release: 5mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.zope.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
This product provides a Photo object and a Photo Folder object for
managing digital images in Zope.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/plone_photo
install %{name}-%{version}/skins/plone_photo/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/plone_photo
install %{name}-%{version}/skins/plone_photo/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/plone_photo
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install %{name}-%{version}/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.2.3-5mdk
- Make now signed rpm
* 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 Sbastien Robin <seb@nexedi.com> 1.2.3-3mdk
- Update this rpm in order to follows Mandrake rules
* Wed Apr 25 2003 Sbastien Robin <seb@nexedi.com> 1.2.3-2nxd
- Clean the spec file
* Mon Feb 3 2003 Jean-Paul Smets <jp@nexedi.com> 1.2.3-1nxd
- Initial release
Name: CMFReportTool
Summary: A Zope product to generate PDF reports
Version: 0.1.1.20050422
Release: 1mdk
Group: Development/Python
Requires: zope CMF python-reportlab
License: GPL
URL: http://www.zope.org/Members/jack-e/CMFReportTool/
Packager: Yoshinori Okuji <yo@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
CMFReportTool is a Zope which extends the Zope CMF
to implement PDF skins. PDF skins allow to generate reports
which are automatically converted into PDF files with
the python reportlab library.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install oo2pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc
install doc/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/examples
install doc/examples/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/examples
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/diagram
install doc/diagram/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/diagram
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/pdf
install doc/pdf/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/pdf
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/pml
install doc/pml/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc/pml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install dtml/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install help/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install Extensions/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/RenderPDF
install RenderPDF/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/RenderPDF
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/zpt_reporttool
install skins/zpt_reporttool/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/zpt_reporttool
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt TODO.txt LICENSE.txt COPYRIGHT.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Thu Apr 4 2005 Yoshinori Okuji <yo@nexedi.com> 0.1.1.20050422-1mdk
- Grab a new upstream version.
* Wed May 19 2004 Yoshinori Okuji <yo@nexedi.com> 0.1.1-7.20040421.3mdk
- Correct the return value of wrap in case where the paragraph cannot
be split.
* Wed Apr 28 2004 Yoshinori Okuji <yo@nexedi.com> 0.1.1-7.20040421.2mdk
- Compress the patch with bzip2
- Add one more patch to fix a unicode problem in td.
* Wed Apr 21 2004 Yoshinori Okuji <yo@nexedi.com> 0.1.1-7.20040421.1mdk
- Upgrade to the current CVS version
* Thu Nov 20 2003 Sebastien Robin <seb@nexedi.com> 0.1.1-6mdk
- Added new patch
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 0.1.1-5mdk
- Make now signed rpm
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 0.1.1-4mdk
- Update spec in order to follows Mandrake Rules
* Wed May 02 2003 Sebastien Robin <seb@nexedi.com> 0.1.1-3nxd
- Change dependency Reportlab to python-reportlab
* Wed Mar 05 2003 Jean-Paul Smets <jp@nexedi.com> 0.1.1-2nxd
- Added help directory
* Wed Mar 05 2003 Jean-Paul Smets <jp@nexedi.com> 0.1.1-1nxd
- Initial release
Name: CPS
Summary: internal or external web content strategy in a collaborative approach
Version: 3.0rc3
Release: 3mdk
Group: Development/Python
Requires: zope BTreeFolder2 Localizer TranslationService CMF
License: GPL
URL: http://www.cps-project.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
Collaborative Portal Server (CPS), Nuxeo's flagship solution, empowers
your internal or external web content strategy in a collaborative
approach. CPS is the ideal solution to create, share and turn the
information of your organisation into value.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore
install %{name}-%{version}/CPSCore/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore
install %{name}-%{version}/CPSCore/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore
install %{name}-%{version}/CPSCore/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/doc
install %{name}-%{version}/CPSCore/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/doc
install %{name}-%{version}/CPSCore/doc/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/doc
install %{name}-%{version}/CPSCore/doc/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/zmi
install %{name}-%{version}/CPSCore/zmi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/zmi
install %{name}-%{version}/CPSCore/zmi/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/zmi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/drafts
install %{name}-%{version}/CPSCore/drafts/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/drafts
install %{name}-%{version}/CPSCore/drafts/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/drafts
install %{name}-%{version}/CPSCore/drafts/*.css $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/drafts
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/tests
install %{name}-%{version}/CPSCore/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSCore/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault
install %{name}-%{version}/CPSDefault/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault
install %{name}-%{version}/CPSDefault/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault
install %{name}-%{version}/CPSDefault/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/Extensions
install %{name}-%{version}/CPSDefault/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/doc
install %{name}-%{version}/CPSDefault/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/i18n
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_default
install %{name}-%{version}/CPSDefault/skins/cps_default/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_default
install %{name}-%{version}/CPSDefault/skins/cps_default/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_default
install %{name}-%{version}/CPSDefault/skins/cps_default/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_default
install %{name}-%{version}/CPSDefault/skins/cps_default/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_default
install %{name}-%{version}/CPSDefault/skins/cps_default/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_default
install %{name}-%{version}/CPSDefault/skins/cps_default/*.jpg $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_default
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_devel
install %{name}-%{version}/CPSDefault/skins/cps_devel/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_devel
install %{name}-%{version}/CPSDefault/skins/cps_devel/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_devel
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_images
install %{name}-%{version}/CPSDefault/skins/cps_images/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_images
install %{name}-%{version}/CPSDefault/skins/cps_images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_images
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_javascript
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles
install %{name}-%{version}/CPSDefault/skins/cps_styles/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles/nuxeo
install %{name}-%{version}/CPSDefault/skins/cps_styles/nuxeo/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles/nuxeo
install %{name}-%{version}/CPSDefault/skins/cps_styles/nuxeo/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles/nuxeo
install %{name}-%{version}/CPSDefault/skins/cps_styles/nuxeo/*.props $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles/nuxeo
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles/nuxeo_ns4
install %{name}-%{version}/CPSDefault/skins/cps_styles/nuxeo_ns4/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/skins/cps_styles/nuxeo_ns4
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/tests
install %{name}-%{version}/CPSDefault/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/tests/puffin
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/zmi
install %{name}-%{version}/CPSDefault/zmi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDefault/zmi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory
install %{name}-%{version}/CPSDirectory/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory
install %{name}-%{version}/CPSDirectory/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory
install %{name}-%{version}/CPSDirectory/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/Extensions
install %{name}-%{version}/CPSDirectory/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/doc
install %{name}-%{version}/CPSDirectory/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/i18n
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/skins/cps_directory
install %{name}-%{version}/CPSDirectory/skins/cps_directory/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/skins/cps_directory
install %{name}-%{version}/CPSDirectory/skins/cps_directory/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/skins/cps_directory
install %{name}-%{version}/CPSDirectory/skins/cps_directory/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/skins/cps_directory
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/tests
install %{name}-%{version}/CPSDirectory/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/zmi
install %{name}-%{version}/CPSDirectory/zmi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDirectory/zmi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument
install %{name}-%{version}/CPSDocument/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument
install %{name}-%{version}/CPSDocument/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument
install %{name}-%{version}/CPSDocument/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/Extensions
install %{name}-%{version}/CPSDocument/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/doc
install %{name}-%{version}/CPSDocument/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/i18n
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/skins/cps_document
install %{name}-%{version}/CPSDocument/skins/cps_document/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/skins/cps_document
install %{name}-%{version}/CPSDocument/skins/cps_document/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/skins/cps_document
install %{name}-%{version}/CPSDocument/skins/cps_document/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/skins/cps_document
install %{name}-%{version}/CPSDocument/skins/cps_document/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/skins/cps_document
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/tests
install %{name}-%{version}/CPSDocument/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/zmi
install %{name}-%{version}/CPSDocument/zmi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSDocument/zmi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum
install %{name}-%{version}/CPSForum/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum
install %{name}-%{version}/CPSForum/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum
install %{name}-%{version}/CPSForum/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/Extensions
install %{name}-%{version}/CPSForum/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/dtml
install %{name}-%{version}/CPSForum/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/i18n
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/skins/forum_default
install %{name}-%{version}/CPSForum/skins/forum_default/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/skins/forum_default
install %{name}-%{version}/CPSForum/skins/forum_default/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/skins/forum_default
install %{name}-%{version}/CPSForum/skins/forum_default/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/skins/forum_default
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/tests
install %{name}-%{version}/CPSForum/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSForum/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas
install %{name}-%{version}/CPSSchemas/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas
install %{name}-%{version}/CPSSchemas/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas
install %{name}-%{version}/CPSSchemas/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/Extensions
install %{name}-%{version}/CPSSchemas/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/doc
install %{name}-%{version}/CPSSchemas/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/i18n
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_jscalendar
install %{name}-%{version}/CPSSchemas/skins/cps_jscalendar/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_jscalendar
install %{name}-%{version}/CPSSchemas/skins/cps_jscalendar/*.css $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_jscalendar
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_jscalendar/lang
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_schemas
install %{name}-%{version}/CPSSchemas/skins/cps_schemas/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_schemas
install %{name}-%{version}/CPSSchemas/skins/cps_schemas/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_schemas
install %{name}-%{version}/CPSSchemas/skins/cps_schemas/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/skins/cps_schemas
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/tests
install %{name}-%{version}/CPSSchemas/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/tests/broken
install %{name}-%{version}/CPSSchemas/tests/broken/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/tests/broken
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/zmi
install %{name}-%{version}/CPSSchemas/zmi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CPSSchemas/zmi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz
install %{name}-%{version}/Epoz/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz
install %{name}-%{version}/Epoz/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz/Extensions
install %{name}-%{version}/Epoz/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz/skins/epoz
install %{name}-%{version}/Epoz/skins/epoz/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz/skins/epoz
install %{name}-%{version}/Epoz/skins/epoz/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz/skins/epoz
install %{name}-%{version}/Epoz/skins/epoz/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/Epoz/skins/epoz
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups
install %{name}-%{version}/NuxUserGroups/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups
install %{name}-%{version}/NuxUserGroups/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups
install %{name}-%{version}/NuxUserGroups/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups/tests
install %{name}-%{version}/NuxUserGroups/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups/zmi
install %{name}-%{version}/NuxUserGroups/zmi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/NuxUserGroups/zmi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder
install %{name}-%{version}/PluggableUserFolder/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/doc
install %{name}-%{version}/PluggableUserFolder/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/zmi
install %{name}-%{version}/PluggableUserFolder/zmi/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/zmi
install %{name}-%{version}/PluggableUserFolder/zmi/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/zmi
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/skins
install %{name}-%{version}/PluggableUserFolder/skins/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/skins
install %{name}-%{version}/PluggableUserFolder/skins/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/tests
install %{name}-%{version}/PluggableUserFolder/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PluggableUserFolder/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms
install %{name}-%{version}/PortalTransforms/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms
install %{name}-%{version}/PortalTransforms/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms
install %{name}-%{version}/PortalTransforms/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/bin
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/www
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/docs
install %{name}-%{version}/PortalTransforms/docs/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/docs
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/zope
install %{name}-%{version}/PortalTransforms/zope/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/zope
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/transforms
install %{name}-%{version}/PortalTransforms/transforms/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/transforms
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/skins/mimetypes_icons
install %{name}-%{version}/PortalTransforms/skins/mimetypes_icons/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/skins/mimetypes_icons
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests
install %{name}-%{version}/PortalTransforms/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests/input
install %{name}-%{version}/PortalTransforms/tests/input/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests/input
install %{name}-%{version}/PortalTransforms/tests/input/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests/input
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests/output
install %{name}-%{version}/PortalTransforms/tests/output/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests/output
install %{name}-%{version}/PortalTransforms/tests/output/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/tests/output
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/libtransforms
install %{name}-%{version}/PortalTransforms/libtransforms/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/libtransforms
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/Extensions
install %{name}-%{version}/PortalTransforms/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/mime_types
install %{name}-%{version}/PortalTransforms/mime_types/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/mime_types
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/unsafe_transforms
install %{name}-%{version}/PortalTransforms/unsafe_transforms/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/PortalTransforms/unsafe_transforms
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,zope,zope,0755)
%doc Introduction.stx
%{_libdir}/zope/lib/python/Products/CPSCore/
%{_libdir}/zope/lib/python/Products/CPSDefault/
%{_libdir}/zope/lib/python/Products/CPSDirectory/
%{_libdir}/zope/lib/python/Products/CPSDocument/
%{_libdir}/zope/lib/python/Products/CPSForum/
%{_libdir}/zope/lib/python/Products/CPSSchemas/
%{_libdir}/zope/lib/python/Products/Epoz/
%{_libdir}/zope/lib/python/Products/NuxUserGroups/
%{_libdir}/zope/lib/python/Products/PluggableUserFolder/
%{_libdir}/zope/lib/python/Products/PortalTransforms/
#----------------------------------------------------------------------
%changelog
* Tue Feb 24 2004 Sebastien Robin <seb@nexedi.com> 3.0rc2-3mdk
- Updated to rc3
* Tue Feb 06 2004 Sebastien Robin <seb@nexedi.com> 3.0rc2-2mdk
- Initial Release
* Tue Feb 06 2004 Sebastien Robin <seb@nexedi.com> 3.0b3-1mdk
- Initial Release
# File: Coramy.spec
#
# Coramy
#
# "ERP5 is a Zope framework which allows to implement ERP software."
#
Name: Coramy
Summary: The ERP5 implementation for Coramy
Version: 0.1
Release: 2nxd
Group: Development/Python
Requires: ERP5 zope
License: GPL
Vendor: Nexedi
URL: http://www.erp5.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
This is an implementation of ERP5, an Free entreprise resource
management solution.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Constraint
install %{name}-%{version}/Constraint/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Constraint
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Document
install %{name}-%{version}/Document/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Document
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install %{name}-%{version}/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install %{name}-%{version}/help/*.css $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install %{name}-%{version}/help/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help/images
install %{name}-%{version}/help/images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help/images
install %{name}-%{version}/help/images/*.jpg $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help/images
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Interface
install %{name}-%{version}/Interface/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Interface
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/PropertySheet
install %{name}-%{version}/PropertySheet/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/PropertySheet
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_crm
install %{name}-%{version}/skins/coramy_crm/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_crm
install %{name}-%{version}/skins/coramy_crm/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_crm
install %{name}-%{version}/skins/coramy_crm/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_crm
install %{name}-%{version}/skins/coramy_crm/*.form $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_crm
install %{name}-%{version}/skins/coramy_crm/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_crm
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_custom
install %{name}-%{version}/skins/coramy_custom/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_custom
install %{name}-%{version}/skins/coramy_custom/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_custom
install %{name}-%{version}/skins/coramy_custom/*.form $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_custom
install %{name}-%{version}/skins/coramy_custom/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_custom
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_erp5
install %{name}-%{version}/skins/coramy_erp5/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_erp5
install %{name}-%{version}/skins/coramy_erp5/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_erp5
install %{name}-%{version}/skins/coramy_erp5/*.form $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_erp5
install %{name}-%{version}/skins/coramy_erp5/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_erp5
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_list_method
install %{name}-%{version}/skins/coramy_list_method/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_list_method
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_manufacturing
install %{name}-%{version}/skins/coramy_manufacturing/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_manufacturing
install %{name}-%{version}/skins/coramy_manufacturing/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_manufacturing
install %{name}-%{version}/skins/coramy_manufacturing/*.form $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_manufacturing
install %{name}-%{version}/skins/coramy_manufacturing/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_manufacturing
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_mrp
install %{name}-%{version}/skins/coramy_mrp/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_mrp
install %{name}-%{version}/skins/coramy_mrp/*.form $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_mrp
install %{name}-%{version}/skins/coramy_mrp/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_mrp
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_pdm
install %{name}-%{version}/skins/coramy_pdm/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_pdm
install %{name}-%{version}/skins/coramy_pdm/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_pdm
install %{name}-%{version}/skins/coramy_pdm/*.form $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_pdm
install %{name}-%{version}/skins/coramy_pdm/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_pdm
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_trade
install %{name}-%{version}/skins/coramy_trade/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_trade
install %{name}-%{version}/skins/coramy_trade/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_trade
install %{name}-%{version}/skins/coramy_trade/*.form $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_trade
install %{name}-%{version}/skins/coramy_trade/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/coramy_trade
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install %{name}-%{version}/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Mon Apr 28 2002 Sebastien Robin <seb@nexedi.com> 0.1.0-1nxd
- Initial release
Name: ERP5-dev
Summary: An installer of tools to developp ERP5
Version: 0.1
Release: 2nxd
Group: Development/Python
Requires: ERP5
License: GPL
Vendor: Nexedi
URL: http://www.erp5.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Source0: http://www.erp5.org/download/%{name}-%{version}.tar.bz2
Source1: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
ERP5-dev install all packages needed in order to get a developpment
box for erp5.
http://www.erp5.org
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 1
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT/usr/bin/
install %{name}-%{version}/install_erp5_dev $RPM_BUILD_ROOT/usr/bin/
install -d $RPM_BUILD_ROOT/var/lib/zope/Products
install %{name}-%{version}/update_cvs $RPM_BUILD_ROOT/var/lib/zope/Products/
install -d $RPM_BUILD_ROOT/var/lib/zope/import
install %{name}-%{version}/publish_nexedi.zexp $RPM_BUILD_ROOT/var/lib/zope/import/
install -d $RPM_BUILD_ROOT/var/lib/zope
install %{name}-%{version}/vhost_append $RPM_BUILD_ROOT/var/lib/zope/
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
#%doc README.txt INSTALL.txt CREDITS.txt GPL.txt ZPL.txt
/usr/bin
/var/lib/zope
#----------------------------------------------------------------------
%changelog
* Mon Jul 21 2003 Sebastien Robin <seb@nexedi.com> 0.1.0-1nxd
- Modified the Vhost config of apache so that we don't have
errors of catalog anymore.
* Mon Jul 15 2003 Sebastien Robin <seb@nexedi.com> 0.1.0-1nxd
- The previous rpm destroyed the tmp directory
* Wed Jun 25 2003 Sebastien Robin <seb@nexedi.com> 0.1.0-1nxd
- Initial release
Name: ERP5Compatibility
Summary: Compatibility with older ERP5
Version: 0.1
Release: 4mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.erp5.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
This zope Products allows to be compatible with old ZODB. This is
only needed for people who are using ERP5 before the time it was
splitted in many products.
http://www.erp5.org
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,zope,zope,0755)
%doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Mon Sep 08 2003 Sebastien Robin <seb@nexedi.com> 0.1-4mdk
- New release before Mandrake 10
* Mon Sep 08 2003 Sebastien Robin <seb@nexedi.com> 0.1-3mdk
- Changed permissions on files
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 0.1-2mdk
- Update spec in order to follows Mandrake Rules
* Mon May 12 2003 Sebastien Robin <seb@nexedi.com> 0.1-1nxd
- Create the spec file
Name: ExtFile
Summary: A Zope product to store larges files outside the ZODB
Version: 1.1.3
Release: 4mdk
Group: Development/Python
Requires: zope python-imaging
License: GPL
URL: http://www.zope.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
A Zope product to store larges files outside the ZODB
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install %{name}-%{version}/www/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons
install %{name}-%{version}/icons/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons
install %{name}-%{version}/icons/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/application
install %{name}-%{version}/icons/application/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/application
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/audio
install %{name}-%{version}/icons/audio/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/audio
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/image
install %{name}-%{version}/icons/image/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/image
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/text
install %{name}-%{version}/icons/text/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/text
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/video
install %{name}-%{version}/icons/video/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons/video
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt CHANGES.txt LICENSE.txt version.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.1.3-4mdk
- Make now signed rpm
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 1.1.3-3mdk
- Update spec in order to follows Mandrake Rules
* Wed Apr 25 2003 Sebastien Robin <seb@nexedi.com> 1.1.3-2nxd
- Clean the spec file
* Mon Feb 3 2003 Jean-Paul Smets <jp@nexedi.com> 1.1.3-1nxd
- Initial release
Name: Formulator
Summary: Allows to quickly implements forms with Zope
Version: 1.6.1
Release: 3mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.erp5.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
Patch1: Formulator-1.6.1-editable-xml.patch
#----------------------------------------------------------------------
%description
Formulator allows to quickly implement forms with Zope.
http://www.erp5.org
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -b 0
%patch1 -p1
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install help/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install help/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install tests/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install www/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt CREDITS.txt LICENSE.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Thu Jan 22 2004 Sebastien Robin <seb@nexedi.com> 1.6.1-3mdk
- small error on the last patch
* Thu Jan 22 2004 Sebastien Robin <seb@nexedi.com> 1.6.1-2mdk
- updated the patch so that the xml is working again
* Wed Jan 21 2004 Sebastien Robin <seb@nexedi.com> 1.6.1-1mdk
- Updated to version 1.6.1
- added a small patch in order to allow to display field
- read only
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.4.2-1mdk
- Updated to version 1.4.2
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-9mdk
- Remove old variables 'ZOPE_NAME' and replace it with 'name'
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-8mdk
- Update spec in order to follows Mandrake Rules
* Thu Jul 24 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-7nxd
- New patch made by me in order allow float with commas
* Wed Jun 11 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-6nxd
- New patch made by me in order to get an xml ordered
* Thu Jun 3 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-5nxd
- New patch again in order to apply a script on a line of a listbox (with the cell value)
* Thu Jun 3 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-4nxd
- New patch in order to apply a script on a line of a listbox (with the cell value)
* Tue May 13 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-3nxd
- New patch in order to improve Formulator with XML
* Wed Mar 26 2003 Sebastien Robin <seb@nexedi.com> 1.3.1-1nxd
- Update to release 1.3.1 of the formulator
- Added patch made by Jean-Paul Smets <jp@nexedi.com> wich allows
to use a list of keys.
* Mon Nov 4 2002 Sebastien Robin <seb@nexedi.com> 1.2.0-2nxd
- Added patch in order to dynamically change the name
* Mon Nov 4 2002 Jean-Paul Smets <jp@nexedi.com> 1.2.0-1nxd
- Initial release
%define name FunctionalTests
%define version 0.4
%define release 1nxd
Summary: Functional Testing module for Zope
Name: %{name}
Version: %{version}
Release: %{release}
License: ZPL
URL: http://www.zope.org/Members/tseaver/FunctionalTests
Group: Development/Python
Source0: FunctionalTests-%{version}.tar.bz2
Patch1: FunctionalTests-0.4-python-path.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: python >= 2.1
%description
FunctionalTests is an automated framework for recording and replaying
"functional" tests of a Zope web application. Requests can be either
HTTP requests, including authentication, cookies, and form variables,
or ZEO-based Python functions (especially useful for
setup/teardown/postcondition implementations).
%prep
%setup -q
%patch1 -p1
%build
python setup.py build
%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc doc/* examples
%{_libdir}/python*/site-packages/*
%{_bindir}/ft*
%changelog
* Mon Nov 17 2003 Yoshinori OKUJI <yo@nexedi.com> 0.4-1nxd
- initial version
Name: Localizer
Summary: A Zope product to localize applications
Version: 1.0.1
Release: 4mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.j-david.net/software/localizer/
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
Localizer is a Zope product which allows to implement localization
services based on gettext.
A complete guide is available online at
http://www.j-david.net/software/localizer/guide/index_html
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.en $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.es $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.fr $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install %{name}-%{version}/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/img
install %{name}-%{version}/img/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/img
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale
install %{name}-%{version}/locale/*.mo $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale
install %{name}-%{version}/locale/*.po $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale
install %{name}-%{version}/locale/*.pot $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install %{name}-%{version}/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/tests
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ui
install %{name}-%{version}/ui/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ui
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt TODO.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.0.1.4mdk
- Make now signed rpm
* Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 1.0.1-3mdk
- change in the spec file '/usr/lib' by %{_libdir}
* Wed Sep 3 2003 Sebastien Robin <sebnexedi.com> 1.0.1-2mdk
- Update spec in order to follows Mandrake Rules
* Sat Oct 12 2002 Jean-Paul Smets <jp@nexedi.com> 1.0.1-1nxd
- Update to version 1.0.1
* Sat Oct 12 2002 Jean-Paul Smets <jp@nexedi.com> 0.8.1-1nxd
- Initial release
# File: Base18-nxd.spec
#
# MMMShop
#
# "MMMShop is a Zope framework which allows to implement online shops."
#
%define PRODUCT_DIRECTORY %{_libdir}/zope/lib/python/Products
%define ZOPE_INSTANCE_DIRECTORY /var/lib/zope
Name: MMMShop
Summary: A Zope CMF based online shop
Version: 0.5
Release: 4nxd
Group: Development/Python
Requires: zope CMF
License: GPL
Vendor: MMM
URL: http://www.mmmanager.org/
Packager: Jean-Paul Smets <jp@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Source0: http://www.mmmanager.org/Members/gitte/MMMShop-0.5.tar.bz2
Source1: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
MMMShop is a Zope CMF based online shop. It should be considered
as a generic framework to build an online shop on. The Storever
online shope (www.storever.com) was built on top of it.
http://www.mmmanager.org/
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%setup -q
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT/%{PRODUCT_DIRECTORY}/%{name}
install %{name}/*.py $RPM_BUILD_ROOT/%{PRODUCT_DIRECTORY}/%{name}
install %{name}/*.txt $RPM_BUILD_ROOT/%{PRODUCT_DIRECTORY}/%{name}
install -d $RPM_BUILD_ROOT/%{PRODUCT_DIRECTORY}/%{name}/skins_nobabel
install %{name}/skins_nobabel/*.py $RPM_BUILD_ROOT/%{PRODUCT_DIRECTORY}/%{name}/skins_nobabel/
install %{name}/skins_nobabel/*.dtml $RPM_BUILD_ROOT/%{PRODUCT_DIRECTORY}/%{name}/skins_nobabel/
install -d $RPM_BUILD_ROOT/%{ZOPE_INSTANCE_DIRECTORY}/import
install import/*.zexp $RPM_BUILD_ROOT/%{ZOPE_INSTANCE_DIRECTORY}/import
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc INSTALL CHANGES DEPENDS
%{PRODUCT_DIRECTORY}/%{name}/*.py
%{PRODUCT_DIRECTORY}/%{name}/skins_nobabel/*.py
%{PRODUCT_DIRECTORY}/%{name}/skins_nobabel/*.dtml
%{ZOPE_INSTANCE_DIRECTORY}/import/*.zexp
#----------------------------------------------------------------------
%changelog
* Tue Jun 05 2003 Sebastien Robin <seb@nexedi.com> 0.1.0-4nxd
- Actually we need more than a patch since there's many new
files, so we have to build a new archive
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-3nxd
- New patch
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-2nxd
- New patch
* Sun Dec 29 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-1nxd
- Initial release
#
# Makefile in order to create rpm files for ERP5
# and all is components
#
RPM_PATH=/home/$(USER)/rpm
all: zsqlcatalog-spec erp5-spec \
erp5type-spec erp5syncml-spec erp5catalog-spec erp5form-spec cmfcategory-spec \
cmfactivity-spec construct-all list
clean:
rm -rf /home/$(USER)/rpm/RPMS/i586/*
rm -rf /home/$(USER)/rpm/RPMS/noarch/*
rm -rf /home/$(USER)/rpm/SRPMS/*
# For nexedi, same as above and the synchronyzation
# with the rpm server
nex-all: nex-all-10.1
nex-all-9.1: all list-9.1 sync-9.1
nex-all-9.2: all list-9.2 sync-9.2
nex-all-10.0: all list-10.0 sync-10.0
nex-all-10.1: all list-10.1 sync-10.1
nex-update: list sync
# For each rpm, we call build-spec
cmfcategory-spec:
build-spec CMFCategory
cmfactivity-spec:
build-spec CMFActivity
erp5compatibility-spec:
build-spec ERP5Compatibility
erp5type-spec:
build-spec ERP5Type
erp5syncml-spec:
build-spec ERP5SyncML
erp5catalog-spec:
build-spec ERP5Catalog
erp5-spec:
build-spec ERP5
erp5form-spec:
build-spec ERP5Form
base18-spec:
build-spec Base18
zsqlcatalog-spec:
build-spec ZSQLCatalog
coramy-spec:
build-spec Coramy
copy:
#-rsync -rva $(RPM_PATH)/* /mnt/mdk/rpm/
-rsync -rva $(RPM_PATH)/nexRPMS-mdk-10.0/* /mnt/mdk_cooker/rpm/nexRPMS-mdk-10.0/
-rsync -rva $(RPM_PATH)/nexRPMS-mdk-10.0/* /mnt/mdk-10.0/rpm/nexRPMS-mdk-10.0/
construct-all:
rpmbuild -ba CMFCategory.spec ERP5Type.spec ERP5SyncML.spec ERP5Catalog.spec ERP5.spec ERP5Form.spec ZSQLCatalog.spec CMFActivity.spec
# create the synthesis.hdlist.cz file
list: list-10.1 copy
list-9.1:
-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.1/
-rsync -av $(RPM_PATH)/RPMS/noarch/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.1/
-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS-mdk-9.1/
genhdlist $(RPM_PATH)/nexSRPMS-mdk-9.1/
genhdlist $(RPM_PATH)/nexRPMS-mdk-9.1/
list-9.2:
-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.2/
-rsync -av $(RPM_PATH)/RPMS/noarch/*.rpm $(RPM_PATH)/nexRPMS-mdk-9.2/
-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS-mdk-9.2/
genhdlist $(RPM_PATH)/nexSRPMS-mdk-9.2/
genhdlist $(RPM_PATH)/nexRPMS-mdk-9.2/
list-10.0:
-mkdir $(RPM_PATH)/nexRPMS-mdk-10.0/
-mkdir $(RPM_PATH)/nexSRPMS-mdk-10.0/
-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-10.0/
-rsync -av $(RPM_PATH)/RPMS/noarch/*.rpm $(RPM_PATH)/nexRPMS-mdk-10.0/
-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS-mdk-10.0/
-cd $(RPM_PATH)/nexSRPMS-mdk-10.0/ && genhdlist .
-cd $(RPM_PATH)/nexRPMS-mdk-10.0/ && genhdlist .
list-10.1:
-mkdir $(RPM_PATH)/nexRPMS-mdk-10.1/
-mkdir $(RPM_PATH)/nexSRPMS-mdk-10.1/
-rsync -av $(RPM_PATH)/RPMS/i586/*.rpm $(RPM_PATH)/nexRPMS-mdk-10.1/
-rsync -av $(RPM_PATH)/RPMS/noarch/*.rpm $(RPM_PATH)/nexRPMS-mdk-10.1/
-rsync -av $(RPM_PATH)/SRPMS/*.rpm $(RPM_PATH)/nexSRPMS-mdk-10.1/
#-cd $(RPM_PATH)/nexSRPMS-mdk-10.1/ && genhdlist .
#-cd $(RPM_PATH)/nexRPMS-mdk-10.1/ && genhdlist .
# Synchronization with the nexedi server
sync: sync-10.1
sync-9.1:
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-9.1/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/9.1/RPMS/
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-9.1/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/9.1/SRPMS/
sync-9.2:
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-9.2/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/9.2/RPMS/
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-9.2/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/9.2/SRPMS
sync-10.0:
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-10.0/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/10.0/RPMS/
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-10.0/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/10.0/SRPMS
sync-10.1:
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexRPMS-mdk-10.1/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/10.1/RPMS/
-rsync -rlvputz -e ssh --progress --partial --stats $(RPM_PATH)/nexSRPMS-mdk-10.1/ $(USER)@smets.com:/var/www/html/nexedi.org/static/Mandrake/10.1/SRPMS
%define name MySQL-python
%define version 0.9.2
%define release 2mdk
Summary: Python interface to MySQL
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Vendor: MySQL-python SourceForge Project
Packager: Andy Dustman <andy@dustman.net>
Requires: python
Url: http://sourceforge.net/projects/mysql-python
Distribution: Red Hat Linux
BuildRequires: python-devel mysql-devel zlib-devel
%description
Python interface to MySQL-3.23
MySQLdb is an interface to the popular MySQL database server for Python.
The design goals are:
- Compliance with Python database API version 2.0
- Thread-safety
- Thread-friendliness (threads will not block each other)
- Compatibility with MySQL-3.23 and later
This module should be mostly compatible with an older interface
written by Joe Skinner and others. However, the older version is
a) not thread-friendly, b) written for MySQL 3.21, c) apparently
not actively maintained. No code from that version is used in
MySQLdb. MySQLdb is free software.
%prep
%setup
%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
%install
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README doc/*.?tml CHANGELOG
#----------------------------------------------------------------------
%changelog
* Mon Sep 08 2003 Sebastien Robin <seb@nexedi.com> 0.9.2-2mdk
- Update spec in order to follows Mandrake Rules
Name: Photo
Summary: A Zope product to manage images better...
Version: 1.2.3
Release: 5mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.zope.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
Patch1: Photo-path-1.2.3.patch
#----------------------------------------------------------------------
%description
This product provides a Photo object and a Photo Folder object for
managing digital images in Zope. Photo objects provide multiple
configurable sizes of the photo. Photo Folders provide a way to manage a
group of Photo objects by providing a way to specify display sizes and
properties for all contained photos.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
%patch1 -p1
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install %{name}-%{version}/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install %{name}-%{version}/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install %{name}-%{version}/www/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt CHANGES.txt LICENSE.txt DEPENDENCIES.txt FAQ.txt THANKS.txt TODO.txt UPGRADE.txt version.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Mar 31 2005 Sebastien Robin <seb@nexedi.com> 1.2.3-5mdk
- Added patch to make a tree of directories with Photo
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.2.3-4mdk
- Make now signed rpm
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 1.2.3-3mdk
- Update spec in order to follows Mandrake Rules
* Wed Apr 25 2003 Sebastien Robin <seb@nexedi.com> 1.2.3-2nxd
- Clean the spec file
* Mon Feb 3 2003 Jean-Paul Smets <jp@nexedi.com> 1.2.3-1nxd
- Initial release
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
%define name PyXML
%define version 0.8.2
%define release 3mdk
Name: %{name}
Version: %{version}
Release: %{release}
URL: http://pyxml.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/pyxml/PyXML-%{version}.tar.bz2
License: Apacheish License
Group: System/Libraries
Summary: XML libraries for python
Requires: python
BuildRequires: python
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Distribution: Mandrake Linux
%description
An XML package for Python. The distribution contains a validating XML parser,
an implementation of the SAX and DOM programming interfaces and an interface
to the Expat parser.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" python setup.py build --without-xpath --without-xslt
%install
rm -fr $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES \
--without-xpath --without-xslt
python -O %{_libdir}/python%{pyver}/compileall.py \
$RPM_BUILD_ROOT%{_libdir}/python%{pyver}/site-packages
# expat support is broken in 0.7.1 and 0.8.0 - removing for now
find $RPM_BUILD_ROOT%{_libdir}/python%{pyver} -name "*pyo" | \
sed "s|$RPM_BUILD_ROOT||" >> INSTALLED_FILES
grep -v %{_docdir} INSTALLED_FILES |grep -v LC_MESSAGES > installed_files
%clean
rm -rf $RPM_BUILD_ROOT
%files -f installed_files
%defattr(-,root,root)
%doc LICENCE ANNOUNCE CREDITS README README.dom README.pyexpat README.sgmlop TODO doc/*
%lang(de) %{_libdir}/python%{pyver}/site-packages/*/dom/de/LC_MESSAGES/4Suite.mo
%lang(en_US) %{_libdir}/python%{pyver}/site-packages/*/dom/en_US/LC_MESSAGES/4Suite.mo
%lang(fr_FR) %{_libdir}/python%{pyver}/site-packages/*/dom/fr_FR/LC_MESSAGES/4Suite.mo
%changelog
* Tue Feb 17 2004 Sebastien Robin <seb@nexedi.com> 0.8.2-3mdk
- change to mandrake extension
* Tue Mar 25 2003 David Walluck <david@anti-microsoft.org> 0.8.2-2plf
- spec file cleanups
* Sun Jan 26 2003 David Walluck <david@anti-microsoft.org> 0.8.2-1plf
- release
# File: Base18-nxd.spec
#
# StoreverShop
#
# "StoreverShop is a Zope CMF Product to implement a computer shop"
#
%define SOURCE_PRODUCT_DIRECTORY /var/lib/zope/Products
%define USER jp
%define PRODUCT_DIRECTORY %{_libdir}/zope/lib/python/Products
%define ZOPE_INSTANCE_DIRECTORY /var/lib/zope
Name: StoreverShop
Summary: A Zope product to build online computer shops
Version: 0.1.0
Release: 7nxd
Group: Development/Python
Requires: zope Localizer
License: GPL
Vendor: Nexedi
URL: http://www.nexedi.org
Packager: Jean-Paul Smets <jp@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Source0: http://www.nexedi.org/download/%{name}-%{version}.tar.bz2
Source1: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
StoreverShop is a Zope product to build online computer shops.
http://www.nexedi.org
#----------------------------------------------------------------------
%prep
#Create the source code from the local Zope
rm -rf /home/%{USER}/rpm/BUILD/%{name}-%{version}
cp -ur %{SOURCE_PRODUCT_DIRECTORY}/%{name} /home/%{USER}/rpm/BUILD/%{name}-%{version}
cd /home/%{USER}/rpm/BUILD/
tar cjf /home/%{USER}/rpm/SOURCES/%{name}-%{version}.tar.bz2 %{name}-%{version}
rm -rf /home/%{USER}/rpm/BUILD/%{name}-%{version}
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%setup -q
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/storever
install skins/storever/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/storever
install skins/storever/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/storever
install skins/storever/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/storever
install skins/storever/*.ico $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/storever
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/cm_storever
install skins/cm_storever/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/cm_storever
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt CREDITS.txt GPL.txt ZPL.txt
%{PRODUCT_DIRECTORY}/%{name}/*.py
%{PRODUCT_DIRECTORY}/%{name}/*.txt
%{PRODUCT_DIRECTORY}/%{name}/skins/storever/*.py
%{PRODUCT_DIRECTORY}/%{name}/skins/storever/*.dtml
%{PRODUCT_DIRECTORY}/%{name}/skins/storever/*.ico
%{PRODUCT_DIRECTORY}/%{name}/skins/storever/*.png
%{PRODUCT_DIRECTORY}/%{name}/skins/cm_storever/*.dtml
#----------------------------------------------------------------------
%changelog
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-7nxd
- Extended skin
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-6nxd
- fixed texte-libre in cm
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-5nxd
- .ico file
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-4nxd
- logo.png
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-3nxd
- Fixed skin for cm
* Mon Dec 30 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-2nxd
- Added skin for cm
* Sun Dec 29 2002 Jean-Paul Smets <jp@nexedi.com> 0.1.0-1nxd
- Initial release
Name: TranslationService
Summary: A Zope product to provide translation
Version: 0.4
Release: 1mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.zope.org/Members/efge/TranslationService
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
TranslationService is a placeful translation service for Zope 2.6.
It allows you to have fully functional internationalization from Page
Templates using the standardized i18n tags.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/zmi
install %{name}-%{version}/zmi/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/zmi
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc LICENSE.txt version.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Mon Jan 20 2005 Sebastien Robin <seb@nexedi.com> 0.3-3mdk
- Update to TranslationService 0.4
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 0.3-3mdk
- Make now signed rpm
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 0.3-2mdk
- Update spec in order to follows Mandrake Rules
* Wed May 02 2003 Sebastien Robin <seb@nexedi.com> 0.3-1nxd
- Initial release
Name: ZGDChart
Summary: gdchart-based product to draw charts in zope
Version: 0.6.4
Release: 1mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.zope.org/Members/teyc/ZGDChart
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
A simple chart class which generates plots dynamically using data from
DTML or ZSQL. The output image format is PNG. For the SQL case, the
chart plots the first two columns of a SQL query result.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.so $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/setup $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.pyd $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.bat $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install %{name}-%{version}/www/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/test
install %{name}-%{version}/test/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/test
install %{name}-%{version}/test/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/test
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/temp
install %{name}-%{version}/temp/*.pyd $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/temp
install %{name}-%{version}/temp/*.so $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/temp
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/manage
install %{name}-%{version}/manage/*.js $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/manage
install %{name}-%{version}/manage/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/manage
install %{name}-%{version}/manage/editPie $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/manage
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/import
install %{name}-%{version}/import/*.zexp $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/import
install %{name}-%{version}/import/*.xml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/import
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/solaris
install %{name}-%{version}/solaris/*.so $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/solaris
install %{name}-%{version}/solaris/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/solaris
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install %{name}-%{version}/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install %{name}-%{version}/help/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc CHANGES.TXT README.txt version.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Tue Feb 10 2004 Sebastien Robin <seb@nexedi.com> 0.6.4-1nxd
- Initial release
Name: ZMailIn
Summary: A Zope product to import emails into Zope sites.
Version: 1.0.1
Release: 3mdk
Group: Development/Python
Requires: zope
License: GPL
URL: http://www.zope.org/Members/NIP/ZMailIn
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
ZMailIn is a Zope product to import emails into Zope sites.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install www/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install dtml/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/dtml
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install help/*.* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help/
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc CREDITS.txt INSTALL.txt LICENSE.txt VERSION.txt CHANGES.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.0.1-3mdk
- Make now signed rpm
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 1.0.1-2mdk
- Update spec in order to follows Mandrake Rules
* Wed Mar 05 2003 Jean-Paul Smets <jp@nexedi.com> 1.0.1-1nxd
- Initial release
Name: ZMySQLDA
Summary: A Zope connector to Mysql
Version: 2.0.9b2
Release: 5mdk
Group: Development/Python
Requires: zope MySQL-python MySQL-Max
License: GPL
URL: http://www.erp5.org
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
Patch1: ZMySQLDA-2.0.9b2_with_MySQL-python-0.9.0.patch
Patch2: ZMySQLDA-2.0.9b2_release-unlocked-lock.patch
#----------------------------------------------------------------------
%description
ZMySQLDA allows to quickly connect to Mysql with Zope.
http://www.erp5.org
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%setup -a 0
%patch1 -p1
%patch2 -p1
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install *.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install help/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons
install icons/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/icons
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc CHANGES.txt DEPENDENCIES.txt README.txt VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/
#----------------------------------------------------------------------
%changelog
* Tue Jun 15 2004 Sebastien Robin <seb@nexedi.com> 2.0.9b2-5mdk
- Added dependency with MySQL
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 2.0.9b2-4mdk
- Make now signed rpm
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 2.0.9b2-3mdk
- Change in the requires field "Zope" by "zope"
* Wed Sep 05 2003 Sebastien Robin <seb@nexedi.com> 2.0.9b2-2mdk
- Update spec in order to follows Mandrake Rules
* Mon Apr 28 2003 Sebastien Robin <seb@nexedi.com> 2.0.9b2-1nxd
- It was first made by converting a Debian Package. But since
we need to modify it, we needed to build by the rpm way.
* Wed Mar 23 2003 Sebastien Robin <seb@nexedi.com> 2.0.8-2nxd
- It was first made by converting a Debian Package. But since
we need to modify it, we needed to build by the rpm way.
# File: Zope-2.5.1-nxd.spec
#
# Digicool Z-Object Programming Environment (ZOPE)
#
# "Zope is an Open Source application server and portal
# toolkit used for building high-performance, dynamic Web sites."
#
# An independent 'BuildRoot:' directive is used so that that this package
# can be built in the %{_tmppath} directory, for the case where the existing
# software on the build host would be disrupted by installing-after-build-
# to-package onto that system.
#
# Sample Package Names:
# Zope-2.5.1-1nxd.i386.rpm
#
# NOTE to Future ZOPE RPM Maintainers:
#
# The Zope tarball contains many subsystems, some dependent on Zope and
# some that can be used independently. The independent ones have been
# placed into the common %{_libdir}/python2.1/site-packages/ directory tree
# while for the others, I've created a new directory:
#
# %{_libdir}/zope/
#
# The contents of that directory is -not- a Python Package such that
# anyone must "import blah". Rather, it is directly imported by the Zope
# software. This does mean naming collisions are possible with non-Zope
# packages such as PIL and mxDateTime, but until Zope is reorganized into
# a true Python Package layout, this cannot be helped.
#
# The %{_libdir}/zope/ hierarchy is read-only, while the /var/lib/zope/ one is
# basically read-write, in keeping with the Linux Filesystem Standard.
#
####
# Notify ZC of needed removal of zlib module
# Ask ZC about conflict of pyexpat in Zope and Py2.1.1
# To-Be-Done-Perhaps:
#o work to make compatible with other distributions: RH 6.2 and RH 7.0 (no rc.d) and Caldera, etc.
#o add ZServer-fastcgi sub-RPM
#o cause zserver*sh scripts to take the name of the python interpreter from %{PYTHONAPP};
# also need to handle REQUIRE: directive as either python or python2 or python3.
####
# Section: Preamble (Items Displayed When Users Request Info About Package)
#
# The order of the entries below is unimportant.
#
####
%define PYTHONAPP /usr/bin/python2.1
%define PYTHONDIR python2.1
Name: Zope
Version: 2.5.1
Release: 4nxd
License: Zope Public License (ZPL)
Vendor: Zope Corporation
URL: http://www.zope.org/
Packager: Jean-Paul Smets <jp@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Prereq: python2.1 python2.1-devel /sbin/chkconfig /usr/sbin/useradd
Source0: http://www.zope.org/Download/Releases/%{name}-%{version}/Zope-%{version}-src.tgz
###Source1: http://www.zope.org/Documentation/Guides/ZCMG/ZCMG.html.tgz
###Source2: http://www.zope.org/Documentation/Guides/DTML/DTML.html.tgz
###Source3: http://www.zope.org/Documentation/Guides/ZSQL/ZSQL.html.tgz
###Source4: http://www.zope.org/Documentation/Guides/Zope-ProductTutorial.tar.gz
Source5: Zope-%{version}-zope
Source6: Zope-%{version}-Zope.cgi
Source7: Zope-%{version}-README.RPM
Source8: Zope-%{version}-zserver-wo-pcgi.sh
Source9: Zope-%{version}-zserver-w-pcgi.sh
###Source10: http://www.zope.org/Documentation/Guides/ZDG/ZDG.html.tgz
###Source11: http://www.zope.org/Documentation/Guides/ZAG/ZAG.html.tgz
Source12: Zope-%{version}-pcgi_nullpublisher.py
Source13: Makefile.pre.in
###Source14: Zope-%{version}-index.html
Source16: Hotfix_2002-04-15.tgz
Patch3: Zope-%{version}-pcgi-syslog.patch
Patch4: Zope-%{version}-tal-i18n.patch
#----------------------------------------------------------------------
Summary: An application server and portal toolkit for building Web sites.
Group: Development/Python
Requires: python2.1 >= 2.1
%description
The Z Object Programming Environment (Zope) is a free, Open Source[tm]
Python-based application server for building high-performance, dynamic
web sites, using a powerful and simple scripting object model and
high-performance, integrated object database.
Brian Lloyd's excellent article, An Introduction to Zope
(http://www.devshed.com/Server_Side/Zope/Intro/) provides a great starting
point to understanding what Zope is and how you can use it.
For a fully functional installation of Zope, install this single huge
package and then _either_ the Zope-zserver RPM, for a minimal Python-based
web server; or the Zope-pcgi RPM, for use with Apache's CGI facility.
If you only want portions of Zope, there are subpackages available
for each subsystem and you should _not_ install this RPM.
#----------------------------------------------------------------------
%package core
Summary: Central Core of Zope w/General Extensions
Group: Development/Python
Requires: python2.1 >= 2.1, Zope-components, Zope-ztemplates, Zope-zpublisher, Zope-services
Conflicts: Zope
%description core
The Z Object Programming Environment (Zope) is a free, Open Source[tm]
Python-based application server for building high-performance, dynamic
web sites, using a powerful and simple scripting object model and
high-performance, integrated object database.
Brian Lloyd's excellent article, An Introduction to Zope
(http://www.devshed.com/Server_Side/Zope/Intro/) provides a great starting
point to understanding what Zope is and how you can use it.
The Zope-core package contains the central core programs and general
extensions needed to run Zope.
For a fully functional installation of Zope, install Zope, Zope-components,
Zope-core, Zope-services, Zope-zpublisher, and Zope-ztemplates, and one of
the following packages: Zope-zserver, for a minimal Python-based Web
server; or Zope-pcgi, for using Zope with Apache's CGI facility.
#----------------------------------------------------------------------
%package components
Summary: A group of standalone Python binary extension modules.
Group: Development/Python
Requires: python2.1 >= 2.1
Conflicts: Zope
%description components
The Zope-components package includes a group of standalone Python extension
modules, including BTree, ExtensionClass, Acquisition, MethodObject,
MultiMapping, ThreadLock, Missing, Sync, Record, ComputedAttribute and
RestrictedPython. These modules can be used with the Zope application
server and portal toolkit or standalone.
#----------------------------------------------------------------------
%package ztemplates
Summary: A template for creating dynamic HTML for Zope.
Group: Development/Python
Requires: python2.1 >= 2.1
Conflicts: Zope
%description ztemplates
The Zope-ztemplates package contains a Python-based template mechanism for
creating dynamic HTML sources, with Python expressions, looping constructs,
etc. The Z Template system can be used with the Zope application server and
portal tookit, or it can be used standalone. Z Template was called
DocumentTemplate in the olden days (before Zope).
#----------------------------------------------------------------------
%package zpublisher
Summary: An object publishing mechanism for Zope.
Group: Development/Python
Requires: python2.1 >= 2.1, Zope-components >= 2.5.1
Conflicts: Zope
%description zpublisher
Zpublisher is a Python-based object publishing mechanism that maps URLs
to an object hierarchy and handles the interface between the Web server
and the Web application, hiding many complex details. Zpublisher is
used with the Zope application server and portal toolkit, but it can be
used standalone as well. Zpublisher was called Bobo before Zope came along.
#----------------------------------------------------------------------
%package services
Summary: Middle-level services for Zope.
Group: Development/Python
Requires: python2.1 >= 2.1, Zope-components >= 2.5.1
Conflicts: Zope
%description services
The Zope-services package contains a group of middle-level services needed
by the Zope application server and portal toolkit (but not specifically
tied to Zope). Services included are DateTime, SearchIndex and
StructuredText.
#----------------------------------------------------------------------
%package zserver
Summary: Initial Object Database/Standalone HTTP Server
Group: Development/Python
Requires: Zope
Conflicts: Zope-pcgi
Provides: Zope-webserver
#Prereq: /etc/init.d
%description zserver
The Zope-zserver package contains the files needed for setting up a
Zope website, including an empty object database. Zope is an application
server and portal toolkit.
Also included is the ZServer, which is a small, standalone web server
written in Python. The ZServer uses the very fast Medusa technology
and is multithreaded. This package comes preconfigured to serve
web pages on port 8080 and ftp access on 8021. The programmer's port
interface comes disabled for security reasons but can be reenabled.
If you wish to instead run Zope thru Apache, do not use this package
but rather the Zope-pcgi package. This package is for -standalone-
web serving.
#----------------------------------------------------------------------
%package pcgi
Summary: Persistent CGI (PCGI) capabilities for Zope.
Group: Applications/Internet
Requires: Zope, apache >= 1.3
Conflicts: Zope-zserver
URL: http://starship.python.net/crew/jbauer/persistcgi/
Provides: Zope-webserver
#Prereq: /etc/init.d
%description pcgi
Persistent CGI (PCGI) is an architecture designed by Digital Creations
(http://www.digicool.com) for publishing Web objects as long-running
server processes in order to improve the performance of serving Web
pages. This package is PCGI for use with the Zope application server
and portal toolkit.
It is not necessary for ZServer to actually listen for incoming HTTP
requests. If you want Apache to do the actual listening and serving,
then you can use ZServer's PCGI component to communicate with Apache.
Please note that versions of the Apache Web server prior to 1.3 do not
have a sufficiently implemented rewrite module to provide authentication
for Zope. You'll need to upgrade your Apache if you're using a version
prior to 1.3.
For PCGI HOWTO information, see:
http://starship.python.net/crew/jbauer/persistcgi/
##########
#
# The following environment variables are automatically defined for use
# in any of the following shell scripts:
#
# RPM_SOURCE_DIR { where sources originally reside }
# RPM_BUILD_DIR { where sources get unpacked into }
# RPM_DOC_DIR
# RPM_OPT_FLAGS
# RPM_ARCH
# RPM_OS
# RPM_ROOT_DIR
# RPM_BUILD_ROOT { where final images get placed before packaging }
# RPM_PACKAGE_NAME
# RPM_PACKAGE_VERSION
# RPM_PACKAGE_RELEASE
#
##########
####
# Section: Prep Script (Prepare to Build; Usually Just Unpacking the Sources)
####
%prep
# Create Build Subdirectory and Unpack the Main Tar Ball
%setup -q -n %{name}-%{version}-src
### setup -q -T -D -c -a 1 -n %{name}-%{version}-src/ZopeContentManagersGuide
### setup -q -T -D -c -a 2 -n %{name}-%{version}-src/GuideToDTML
### setup -q -T -D -c -a 3 -n %{name}-%{version}-src/GuideToZSQL
### setup -q -T -D -c -a 10 -n %{name}-%{version}-src/ZopeDevelopersGuide
### setup -q -T -D -c -a 11 -n %{name}-%{version}-src/ZopeAdminGuide
# Current Hotfix(es), if Present
%setup -q -T -D -c -a 16 -n %{name}-%{version}-src
### setup -q -T -D -a 4 -n %{name}-%{version}-src
# Reset RPM's Concept of "-n" Back to the Top-Level Package Dir Name
%setup -q -T -D -n %{name}-%{version}-src
%patch3 -p1
%patch4 -p1
## %patch4 -p1
## %patch5 -p1
# Create a Temporary Holding Area in the RPM's Build Directory for Docs
mkdir misc
# Some of the docs incorrectly have the 'Execute' bit set on their files
# so we do this for security reasons (and we can't use chmod -R if we
# want to only change files modes and not those of subdirectories) ;-(
### find ZopeContentManagersGuide -type f -exec chmod 644 \{\} \;
### find GuideToDTML -type f -exec chmod 644 \{\} \;
### find GuideToZSQL -type f -exec chmod 644 \{\} \;
### find Tutorial -type f -exec chmod 644 \{\} \;
####
# Section: Build Script (Actually Perform the Build; Usually Just 'make')
####
%build
cp %{SOURCE7} $RPM_BUILD_DIR/%{name}-%{version}-src/README.RPM
echo Building the PCGI Wrapper...
(cd pcgi
./configure --prefix=/usr
make)
echo Building Zope Extension Modules...
# Set up an easily-accessible Makefile template
cp %{SOURCE13} Makefile.pre.in
#jrr cp Makefile.pre.in lib/python/Shared/DC/xml/pyexpat/Makefile.pre.in
cp Makefile.pre.in lib/Components/BTree/
cp Makefile.pre.in lib/Components/ExtensionClass/
cp Makefile.pre.in lib/python/BTrees/
cp Makefile.pre.in lib/python/DocumentTemplate/
cp Makefile.pre.in lib/python/SearchIndex/
cp Makefile.pre.in lib/python/ZODB/
cp Makefile.pre.in lib/python/Shared/DC/xml/pyexpat/
cp Makefile.pre.in lib/python/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/
cp Makefile.pre.in lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/
cp Makefile.pre.in lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/
# === General Loadable-Binary-Library Python Components ===
# dcpyexpat.so
pushd lib/python/Shared/DC/xml/pyexpat
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make CFLAGS="-I/usr/include/%{PYTHONDIR}/"
make clean
rm -rf expat
mv README $RPM_BUILD_DIR/%{name}-%{version}-src/misc/pyexpat.README
find . -type f -not -name '*.py' -not -name '*.so' -exec rm \{\} \;
popd
# BTree.so IIBTree.so IOBTree.so OIBTree.so intSet.so
pushd lib/Components/BTree
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make CFLAGS="-I../../python/ZODB/ -I/usr/include/%{PYTHONDIR}/"
make clean
popd
# ExtensionClass.so Acquisition.so MethodObject.so MultiMapping.so
# ThreadLock.so Missing.so Sync.so Record.so ComputedAttribute.so
pushd lib/Components/ExtensionClass
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
cd src
make -f ../Makefile
make -f ../Makefile clean
mv *.so ..
cd ..
#broken %{PYTHONAPP} setup.py build
# Separate out docs from code for a cleaner RPM build
mkdir ExtensionClass
mv doc/ test/ COPYRIGHT.txt README ExtensionClass
popd
# === Zope Subsystems ===
# cDocumentTemplate.so
pushd lib/python/DocumentTemplate
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make
make clean
find . -type f -not -name '*.py' -not -name '*.so' -not -name '*.stx' -exec rm \{\} \;
popd
# _IIBTree.so _IOBTree.so _OIBTree.so _OOBTree.so
pushd lib/python/BTrees
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make
make clean
find . -type f -not -name '*.py' -not -name '*.so' -exec rm \{\} \;
popd
# Note: The building of lib/python/BTrees _must_ come before building of ZODB (below)
# TimeStamp.so cPersistence.so cPickleCache.so winlock.so coptimizations.so
pushd lib/python/ZODB
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make
make clean
find . -type f -not -name '*.py' -not -name '*.so' -not -name '*.gif' -not -name '*.html' -not -name '*.stx' -not -name 'cPersistence.h' -exec rm \{\} \;
popd
# Splitter.so(obsolete) Query.so
pushd lib/python/SearchIndex
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make
make clean
find . -type f -not -name '*.py' -not -name '*.so' -exec rm \{\} \;
popd
# (ISO_8859_1, Unicode and Zope Versions of) Splitter.so
pushd lib/python/Products/PluginIndexes/TextIndex/Splitter
rm -f setup.py
cd ISO_8859_1_Splitter
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make
make clean
find . -type f -not -name '*.py' -not -name '*.so' -exec rm \{\} \;
rm -rf src
cd ../ZopeSplitter
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make
make clean
find . -type f -not -name '*.py' -not -name '*.so' -exec rm \{\} \;
rm -rf src
cd ../UnicodeSplitter
make -f Makefile.pre.in boot PYTHON=%{PYTHONAPP}
make
make clean
find . -type f -not -name '*.py' -not -name '*.so' -exec rm \{\} \;
rm -rf src
popd
# Separate out docs from code for a cleaner RPM build
pushd ZServer/medusa
mkdir medusa
mv docs/ medusa
mv ANNOUNCE.txt ANNOUNCE_970922.txt INSTALL.txt medusa
mv contrib/ demo/ dist/ misc/ notes/ medusa
mv script_handler_demo/ sendfile/ medusa
rm out monitor_client_win32.py Makefile
popd
# Remove Non-Release Items Before Copying Dirs
# into Package, to Minimize Package Size
find lib/python -type f -and \( -name 'Setup' -or -name '.cvsignore' -or -name 'Makefile' \) -exec rm \{\} \;
####
# Section: Install-After-Build Script (Often Just 'make install')
####
%install
rm -rf $RPM_BUILD_ROOT
# Make the Necessary Directories
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/site-packages
### install -m0755 --directory $RPM_BUILD_ROOT/var/www/html/zopedocs
# Directory Structure for SOFTWARE_HOME=%{_libdir}/zope/
install -m0755 --directory $RPM_BUILD_ROOT/usr/bin
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/zope
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/zope/import
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/zope/lib
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/zope/lib/python
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/zope/Extensions
install -m0755 --directory $RPM_BUILD_ROOT/usr/include/%{PYTHONDIR}
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/zope/utilities
install -m0755 --directory $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/ZODB
# Directory Structure for INSTANCE_HOME=/var/lib/zope/
install -m0755 --directory $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m0775 --directory $RPM_BUILD_ROOT/var/lib/zope
install -m0775 --directory $RPM_BUILD_ROOT/var/lib/zope/Extensions
install -m0711 --directory $RPM_BUILD_ROOT/var/lib/zope/var
install -m0775 --directory $RPM_BUILD_ROOT/var/lib/zope/Products
install -m0775 --directory $RPM_BUILD_ROOT/var/log
install -m0775 --directory $RPM_BUILD_ROOT%{_libdir}/zope/ZServer
pushd lib/Components
install -m0644 ExtensionClass/*.py $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/
install -m0644 ExtensionClass/src/ExtensionClass.h $RPM_BUILD_ROOT/usr/include/%{PYTHONDIR}/
install -s ExtensionClass/*.so $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/site-packages/
install -s BTree/*.so $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/site-packages/
popd
# distuils form of ExtensionClass is broken in 2.4.1
# pushd lib/Components/ExtensionClass
# %{PYTHONAPP} setup.py install --root $RPM_BUILD_ROOT
# popd
### install $RPM_SOURCE_DIR/%{name}-%{version}-index.html \
### $RPM_BUILD_ROOT/var/www/html/zopedocs/index.html
### cp -Rdp ZopeContentManagersGuide/ $RPM_BUILD_ROOT/var/www/html/zopedocs/
### cp -Rdp GuideToZSQL/ $RPM_BUILD_ROOT/var/www/html/zopedocs/
### cp -Rdp GuideToDTML/ $RPM_BUILD_ROOT/var/www/html/zopedocs/
### cp -Rdp Tutorial/ $RPM_BUILD_ROOT/var/www/html/zopedocs/
### cp -Rdp ZopeDevelopersGuide/ $RPM_BUILD_ROOT/var/www/html/zopedocs/
### cp -Rdp ZopeAdminGuide/ $RPM_BUILD_ROOT/var/www/html/zopedocs/
cp -Rdp ZServer/ $RPM_BUILD_ROOT%{_libdir}/zope/
rm -rf $RPM_BUILD_ROOT%{_libdir}/zope/ZServer/medusa/medusa/
cp -Rdp utilities/ $RPM_BUILD_ROOT%{_libdir}/zope/
cp -Rdp import/ $RPM_BUILD_ROOT%{_libdir}/zope/
install -m 0755 zpasswd.py $RPM_BUILD_ROOT/usr/bin/zpasswd
install -m 0755 zpasswd.py $RPM_BUILD_ROOT%{_libdir}/zope/utilities/
cp Extensions/README.txt $RPM_BUILD_ROOT%{_libdir}/zope/Extensions/
cp Extensions/README.txt $RPM_BUILD_ROOT/var/lib/zope/Extensions/
pushd lib/python
# These are generally useful modules, (relatively) independent of Zope
for i in DocumentTemplate/ SearchIndex/ ZPublisher/ DateTime/ BTrees/ \
StructuredText/ RestrictedPython/
do
cp -Rdp $i $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/site-packages/
done
# These are integral parts of Zope and can't really stand alone
cp version.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/
for i in Zope/ AccessControl/ App/ HelpSys/ OFS/ TreeDisplay/ \
ZClasses/ Shared/ Products/ ZODB/ webdav/ ZLogger/ \
Interface/ Testing/ Persistence/ TAL/ ThreadedAsync/ \
zdaemon/ zExceptions/ zLOG/ ZTUtils/
do
cp -Rdp $i $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/
done
install -m0644 *.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/
install -m0644 ZODB/cPersistence.h $RPM_BUILD_ROOT/usr/include/%{PYTHONDIR}/
rm $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/ZODB/cPersistence.h
popd
install -m 0755 -s pcgi/pcgi-wrapper $RPM_BUILD_ROOT/usr/bin/pcgi-wrapper
install pcgi/pcgi_publisher.py $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/pcgi_publisher.py
install pcgi/Util/killpcgi.py $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/killpcgi.py
install $RPM_SOURCE_DIR/%{name}-%{version}-pcgi_nullpublisher.py \
$RPM_BUILD_ROOT/var/lib/zope/pcgi_nullpublisher.py
# Establish an Empty Zope Object Database
install -m 0600 var/Data.fs.in $RPM_BUILD_ROOT/var/lib/zope/var/Data.fs
# Create a Safe Preowned Zope Logfile, for ZServer
# (Otherwise a symlink-redirect attack may be possible!)
touch $RPM_BUILD_ROOT/var/log/zope
# Declare the Superuser of the Default Zope Project
%{PYTHONAPP} $RPM_BUILD_ROOT/usr/bin/zpasswd -u superuser -p 123 -d localhost $RPM_BUILD_ROOT/var/lib/zope/access
chmod 0640 $RPM_BUILD_ROOT/var/lib/zope/access
install -m 0755 %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/zope
install -m 0755 %{SOURCE6} $RPM_BUILD_ROOT/var/lib/zope/Zope.cgi
install -m 0755 %{SOURCE8} $RPM_BUILD_ROOT/var/lib/zope/zserver_wo_pcgi.sh
install -m 0755 %{SOURCE9} $RPM_BUILD_ROOT/var/lib/zope/zserver_w_pcgi.sh
install -m 0755 z2.py $RPM_BUILD_ROOT/var/lib/zope/z2.py
# Precompile Python Source for Faster Imports During Usage
# (Since user of package may not have write-access to install directory)
%{PYTHONAPP} -O %{_libdir}/%{PYTHONDIR}/compileall.py -d %{_libdir}/%{PYTHONDIR}/ $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}
%{PYTHONAPP} %{_libdir}/%{PYTHONDIR}/compileall.py -d %{_libdir}/%{PYTHONDIR}/ $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}
%{PYTHONAPP} -O %{_libdir}/%{PYTHONDIR}/compileall.py -d %{_libdir}/zope/ $RPM_BUILD_ROOT%{_libdir}/zope
%{PYTHONAPP} %{_libdir}/%{PYTHONDIR}/compileall.py -d %{_libdir}/zope/ $RPM_BUILD_ROOT%{_libdir}/zope
# Remove Duplicate Documentation Embedded in Python Package Dirs
pushd $RPM_BUILD_ROOT%{_libdir}/zope
rm lib/python/AccessControl/AccessControl.txt
rm lib/python/Products/ZCatalog/ZCatalog.txt
rm ZServer/INSTALL.txt
rm ZServer/README.txt
popd
pushd $RPM_BUILD_ROOT%{_libdir}/%{PYTHONDIR}/site-packages
rm DateTime/DateTime.html
rm DocumentTemplate/Let.stx
rm -rf StructuredText/regressions/
popd
####
# Section: Delivery Install/Uninstall Scripts (Pre/Post Install/Erase Scripts)
####
%pre zserver
/usr/sbin/useradd -M -r -s /bin/bash -d /var/lib/zope -c "Zope Server" zope >/dev/null 2>&1 || :
%pre pcgi
/usr/sbin/useradd -M -r -s /bin/bash -d /var/lib/zope -c "Zope Server" zope >/dev/null 2>&1 || :
%post zserver
/sbin/chkconfig --add zope
ln -sf /var/lib/zope/zserver_wo_pcgi.sh /var/lib/zope/zserver.sh
ln -sf %{_libdir}/zope/import /var/lib/zope/import
%post pcgi
/sbin/chkconfig --add zope
ln -sf /var/lib/zope/zserver_w_pcgi.sh /var/lib/zope/zserver.sh
ln -sf %{_libdir}/zope/import /var/lib/zope/import
%preun zserver
if [ "$1" = 0 ] ; then
if [ /var/lib/zope/zserver_wo_pcgi.sh -ef /var/lib/zope/zserver.sh ]; then
rm /var/lib/zope/zserver.sh
fi
if [ %{_libdir}/zope/import -ef /var/lib/zope/import ]; then
rm /var/lib/zope/import
fi
/etc/rc.d/init.d/zope stop > /dev/null 2>&1
/sbin/chkconfig --del zope
fi
%preun pcgi
if [ "$1" = 0 ] ; then
if [ /var/lib/zope/zserver_w_pcgi.sh -ef /var/lib/zope/zserver.sh ]; then
rm /var/lib/zope/zserver.sh
fi
if [ %{_libdir}/zope/import -ef /var/lib/zope/import ]; then
rm /var/lib/zope/import
fi
/etc/rc.d/init.d/zope stop > /dev/null 2>&1
/sbin/chkconfig --del zope
fi
%postun zserver
if [ $1 = 0 ] ; then
userdel zope >/dev/null 2>&1 || :
fi
if [ "$1" -ge "1" ]; then
/etc/rc.d/init.d/lpd condrestart > /dev/null 2>&1
fi
%postun pcgi
if [ $1 = 0 ] ; then
userdel zope >/dev/null 2>&1 || :
fi
####
# Section: Verify Script (Check for Proper Installation of Package)
####
%verifyscript zserver
if [ ! /var/lib/zope/zserver_wo_pcgi.sh -ef /var/lib/zope/zserver.sh ]; then
echo "/var/lib/zope/zserver_wo_pcgi.sh should be linked to /var/lib/zope/zserver.sh" >&2
fi
if [ ! %{_libdir}/zope/import -ef /var/lib/zope/import ]; then
echo "%{_libdir}/zope/import should be linked to /var/lib/zope/import" >&2
fi
%verifyscript pcgi
if [ ! /var/lib/zope/zserver_w_pcgi.sh -ef /var/lib/zope/zserver.sh ]; then
echo "/var/lib/zope/zserver_w_pcgi.sh should be linked to /var/lib/zope/zserver.sh" >&2
fi
if [ ! %{_libdir}/zope/import -ef /var/lib/zope/import ]; then
echo "%{_libdir}/zope/import should be linked to /var/lib/zope/import" >&2
fi
####
# Section: Clean Script (Tidy Up Build Area After a Build Completes)
####
%clean
rm -rf $RPM_BUILD_ROOT
####
# Section: Files (List of Files w/Attributes Making Up Package)
####
# Note: the root package of just Zope (w/o any -<stuff>) includes all
# of the Zope release, for those who want to quickly install
# everything. The release is also packaged as separate subpackages
# for those who want to be more selective.
%files
%defattr(-, root, root)
#-- Copy of Zope-core Contents:
%doc LICENSE.txt README.txt README.RPM
%doc ZServer/medusa/medusa/
# User's Guides
### %doc /var/www/html/zopedocs/index.html
### %doc /var/www/html/zopedocs/ZopeContentManagersGuide
### %doc /var/www/html/zopedocs/GuideToZSQL
### %doc /var/www/html/zopedocs/Tutorial
### %doc /var/www/html/zopedocs/ZopeDevelopersGuide
### %doc /var/www/html/zopedocs/ZopeAdminGuide
%doc doc/
%doc lib/python/Products/ZCatalog/ZCatalog.txt
%doc lib/python/AccessControl/AccessControl.txt
#jrr %doc misc/pyexpat.README
# ZOPE-Specific Python Packages
%{_libdir}/zope/lib/python/
%{_libdir}/zope/Extensions/
/usr/bin/zpasswd
#-- Copy of Zope-components Contents:
%doc lib/Components/ExtensionClass/ExtensionClass/
# BTree Module(s):
%{_libdir}/%{PYTHONDIR}/site-packages/BTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/IIBTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/IOBTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/OIBTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/intSet.so
# ExtensionClass Module(s):
%{_libdir}/%{PYTHONDIR}/site-packages/Acquisition.so
%{_libdir}/%{PYTHONDIR}/site-packages/ComputedAttribute.so
%{_libdir}/%{PYTHONDIR}/site-packages/ExtensionClass.so
%{_libdir}/%{PYTHONDIR}/site-packages/MethodObject.so
%{_libdir}/%{PYTHONDIR}/site-packages/Missing.so
%{_libdir}/%{PYTHONDIR}/site-packages/MultiMapping.so
%{_libdir}/%{PYTHONDIR}/site-packages/Record.so
%{_libdir}/%{PYTHONDIR}/site-packages/Sync.so
%{_libdir}/%{PYTHONDIR}/site-packages/ThreadLock.so
%{_libdir}/%{PYTHONDIR}/Xaq.py*
/usr/include/%{PYTHONDIR}/*.h
#-- Copy of Zope-zpublisher Contents:
%{_libdir}/%{PYTHONDIR}/site-packages/ZPublisher/
#-- Copy of Zope-ztemplates Contents:
%doc lib/python/DocumentTemplate/Let.stx
### %doc /var/www/html/zopedocs/GuideToDTML
%{_libdir}/%{PYTHONDIR}/site-packages/DocumentTemplate/
#-- Copy of Zope-services Contents:
%doc lib/python/DateTime/DateTime.html
%doc lib/python/StructuredText/regressions/
%{_libdir}/%{PYTHONDIR}/site-packages/DateTime/
%{_libdir}/%{PYTHONDIR}/site-packages/StructuredText/
%{_libdir}/%{PYTHONDIR}/site-packages/SearchIndex/
%{_libdir}/%{PYTHONDIR}/site-packages/BTrees/
%{_libdir}/%{PYTHONDIR}/site-packages/RestrictedPython/
%files core
%defattr(-, root, root)
%doc LICENSE.txt README.txt README.RPM
# User's Guides
### %doc /var/www/html/zopedocs/index.html
### %doc /var/www/html/zopedocs/ZopeContentManagersGuide
### %doc /var/www/html/zopedocs/GuideToZSQL
### %doc /var/www/html/zopedocs/Tutorial
### %doc /var/www/html/zopedocs/ZopeDevelopersGuide
### %doc /var/www/html/zopedocs/ZopeAdminGuide
### %doc /var/www/html/zopedocs/ZCatalog.txt
%doc doc/
%doc lib/python/AccessControl/AccessControl.txt
#jrr %doc misc/pyexpat.README
# ZOPE-Specific Python Packages
%{_libdir}/zope/lib/python/
%{_libdir}/zope/Extensions/
/usr/bin/zpasswd
%files components
%defattr(-, root, root)
%doc LICENSE.txt
%doc lib/Components/ExtensionClass/ExtensionClass/
# BTree Module(s):
%{_libdir}/%{PYTHONDIR}/site-packages/BTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/IIBTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/IOBTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/OIBTree.so
%{_libdir}/%{PYTHONDIR}/site-packages/intSet.so
# ExtensionClass Module(s):
%{_libdir}/%{PYTHONDIR}/site-packages/Acquisition.so
%{_libdir}/%{PYTHONDIR}/site-packages/ComputedAttribute.so
%{_libdir}/%{PYTHONDIR}/site-packages/ExtensionClass.so
%{_libdir}/%{PYTHONDIR}/site-packages/MethodObject.so
%{_libdir}/%{PYTHONDIR}/site-packages/Missing.so
%{_libdir}/%{PYTHONDIR}/site-packages/MultiMapping.so
%{_libdir}/%{PYTHONDIR}/site-packages/Record.so
%{_libdir}/%{PYTHONDIR}/site-packages/Sync.so
%{_libdir}/%{PYTHONDIR}/site-packages/ThreadLock.so
%{_libdir}/%{PYTHONDIR}/Xaq.py*
/usr/include/%{PYTHONDIR}/*.h
%files zpublisher
%defattr(-, root, root)
%doc LICENSE.txt
%{_libdir}/%{PYTHONDIR}/site-packages/ZPublisher/
%files ztemplates
%defattr(-, root, root)
%doc LICENSE.txt lib/python/DocumentTemplate/Let.stx
### %doc /var/www/html/zopedocs/GuideToDTML
%{_libdir}/%{PYTHONDIR}/site-packages/DocumentTemplate/
%files services
%defattr(-, root, root)
%doc LICENSE.txt lib/python/DateTime/DateTime.html
%doc lib/python/StructuredText/regressions/
%{_libdir}/%{PYTHONDIR}/site-packages/DateTime/
%{_libdir}/%{PYTHONDIR}/site-packages/StructuredText/
%{_libdir}/%{PYTHONDIR}/site-packages/SearchIndex/
%{_libdir}/%{PYTHONDIR}/site-packages/BTrees/
%{_libdir}/%{PYTHONDIR}/site-packages/RestrictedPython/
%files zserver
%defattr(-, root, root)
%doc LICENSE.txt ZServer/INSTALL.txt ZServer/README.txt
%doc ZServer/medusa/medusa/
%{_libdir}/zope/ZServer/
%{_libdir}/zope/utilities/
%{_libdir}/zope/import/
%config /etc/rc.d/init.d/zope
%config(noreplace) %attr(640, root, zope) /var/lib/zope/access
%config /var/lib/zope/z2.py
%config /var/lib/zope/zserver_wo_pcgi.sh
# IMPORTANT: ZServer runs as user 'zope' and
# must have r/w access to the var/ directory
# so that it can create temp and index files.
%defattr(-, zope, root)
%dir /var/lib/zope/
%dir /var/lib/zope/Products
%dir /var/lib/zope/var/
/var/lib/zope/Extensions/
%config(noreplace) %verify(not size md5 mtime) /var/lib/zope/var/Data.fs
%verify(not size md5 mtime) /var/log/zope
%files pcgi
%defattr(-, root, root)
%doc LICENSE.txt pcgi/README ZServer/README.txt ZServer/INSTALL.txt
%doc ZServer/medusa/medusa/
%doc pcgi/Example/ pcgi/Test/ pcgi/Util/
/usr/bin/pcgi-wrapper
%{_libdir}/%{PYTHONDIR}/pcgi_publisher.py
/var/lib/zope/pcgi_nullpublisher.py
%{_libdir}/%{PYTHONDIR}/killpcgi.py
%{_libdir}/zope/ZServer/
%{_libdir}/zope/utilities/
%{_libdir}/zope/import/
%config /etc/rc.d/init.d/zope
%config(noreplace) %attr(640, root, zope) /var/lib/zope/access
%config /var/lib/zope/z2.py
%config /var/lib/zope/zserver_w_pcgi.sh
/var/lib/zope/Zope.cgi
# IMPORTANT: PCGI runs as user 'zope' and must have r/w
# access to the var/ directory so that it can
# create temp and index files. ZServer runs as
# user 'zope' and must have write access to var.
%defattr(-, zope, root)
%dir /var/lib/zope/
%dir /var/lib/zope/Products
%dir /var/lib/zope/var/
/var/lib/zope/Extensions
%config(noreplace) %verify(not size md5 mtime) /var/lib/zope/var/Data.fs
%verify(not size md5 mtime) /var/log/zope
%changelog
* Sun Dec 12 2002 Jean-Paul Smets <jp@nexedi.com>
[Release 2.5.1-4nxd]
- Fixed startup scripts
* Sat Oct 12 2002 Jean-Paul Smets <jp@nexedi.com>
[Release 2.5.1-3nxd]
- Added i18 patch to provide simple implementation of i18n
features based on Localizer and gettext
* Fri Oct 04 2002 Jean-Paul Smets <jp@nexedi.com>
[Release 2.5.1-2nxd]
- Rebuilt 2.5.1 with Mandrake 9.0.
* Tue Aug 06 2002 Jean-Paul Smets <jp@nexedi>
Changed /usr/share/zope to %{_libdir}/zope for Debian Zope compatibility
Compiled on Mandrake 9.0 Beta
* Sat Jun 22 2002 Jeff Rush <jrush@taupro.com>
bumped to zope 2.5.1 and removed html docs (latest on zope.org)
* Wed Nov 14 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.4.3.
* Sat Nov 10 2001 Jeff Rush <jrush@taupro.com>
changed args to useradd, to work with Red Hat 7.2.
* Sun Oct 21 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.4.2, removed Hotfix 2001-09-28.
* Thu Oct 18 2001 Jeff Rush <jrush@taupro.com>
Fixed broken syslogging facility and added Hotfix 2001-09-28.
* Mon Sep 04 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.4.1, removed Hotfix 2001-08-04.
* Mon Aug 15 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.4.0, changed to use python2.1, added Hotfix 2001-08-04.
Merged in Jun 29 2001 patch from Durval Menezes re support for ZPatterns:
"No longer removes cPersistence.h from lib/python/ZODB before installing
(this is needed to compile DynPersist, as part of the ZPatterns
installation. Installs ExtensionClass.h into /usr/include/python2.1
(it too is needed to compile DynPersist, as part of the ZPatterns install)"
Merged in Jun 12 2001 additions from Jared Kelsey <jared@dolphinsearch.com>
to make more compatible with future releases of python.
* Mon Aug 14 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.3.3, added Hotfix 2001-08-04.
* Mon May 07 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.3.2, added Hotfix 2001-05-01, revised access
file permissions (600->640) and ownership (root.root->root.zope)
to fix the "can't log in" bug under ZServer subpackage.
* Sat Mar 31 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.3.1
* Mon Jan 29 2001 Jeff Rush <jrush@taupro.com>
bumped to zope 2.3.0; removed obsolete Hotfixes.
* Fri Dec 08 2000 Jeff Rush <jrush@taupro.com>
bumped to zope 2.2.4; removed obsolete Hotfixes.
* Fri Nov 03 2000 Jeff Rush <jrush@taupro.com>
fixed misplaced SiteAccess, where dirs in tar moved btw v1 and v2.
* Sun Oct 16 2000 Jeff Rush <jrush@taupro.com>
bumped to zope 2.2.2; added Hotfixes 2000-10-02 and 2000-10-11.
* Sun Aug 27 2000 Jeff Rush <jrush@taupro.com>
bumped to zope 2.2.1; removed no-longer-needed Hotfix_2000-08-17
* Tue Aug 22 2000 Jeff Rush <jrush@taupro.com>
- added Hotfix_2000-08-17
- temporarily removed /etc/init.d (RH7.0) until I figure out how
to support both RH6.x *and* RH7.0 in the same RPM. <sigh>
- removed troublesome/obsolete ComputedAttribute.py
* Sun Jul 16 2000 Jeff Rush <jrush@taupro.com>
- bumped to zope 2.2.0; removed no-longer-needed Hotfix-06_16_2000
* Thu Jul 06 2000 Tim Powers <timp@redhat.com>
- fixed PreReq to PreReq /etc/init.d
- added Hotfix-06_16_2000
* Thu Jun 15 2000 Preston Brown <pbrown@redhat.com>
- moved init script, added condrestart directive
- auto stop/restart service on upgrades
* Thu Jun 1 2000 Tim Powers <timp@redhat.com>
- fixed so that it's no longer putting files into /home, instead they are
going into /var/www (FHS compliant).
* Mon May 22 2000 Tim Powers <timp@redhat.com>
- built for 7.0, thanks Jeff!
* Fri Apr 28 2000 Jeff Rush <jrush@taupro.com>
- bumped to zope 2.1.6
* Sun Mar 12 2000 Jeff Rush <jrush@taupro.com>
- added zpasswd.py back in, since my rename to just zpasswd confused some.
both are now present in the RPM, for all audiences.
- modified the README.RPM re the section about Apache rewrite rules; I
discussed and removed the trailing slash, the presence of which causes
Zope to reject attempts to delete objects in the root folder.
* Thu Feb 26 2000 Jeff Rush <jrush@taupro.com>
- 2.1.4-1 Release on Zope.org site
- bumped to zope 2.1.4
- changed Zope-core to provide 'Zope', to satisfy zserver and pcgi subpkgs.
* Fri Jan 14 2000 Tim Powers <timp@redhat.com>
- added Provides lines to Zope-pcgi and Zope-zserver so that addon packages
such as Squishdot have something useful to require.
* Thu Jan 13 2000 Tim Powers <timp@redhat.com>
- built for Powertools 6.2
* Thu Jan 11 2000 Jeff Rush <jrush@taupro.com>
- bumped to zope 2.1.2
- folded in Jonathan Marsden <jonathan@xc.org> Changes (many below)
- used zpasswd.py to generate initial pw in encrypted form.
- fixed syslog logging in various ways, and re-enabled it, for both
- ZServer AND pcgi-wrapper.
- fixed /etc/rc.d/init.d/zope to be consistent about pid file.
- fixed /etc/rc.d/init.d/zope to use RH killproc function.
- added 'noreplace' so that Zope database and access file are retained
- on an RPM upgrade.
- patched PCGI to support syslog logging, and then default to it.
- patched ZServer/Medusa to properly support syslog logging.
- added a user 'zope' and made many zope files/dirs owned by it.
- cleaned up pcgi-wrapper's msg about can't find ZServer, since it is
- one of the most common errors. It now explains what it is doing.
- moved all *.{pid,soc} files into /var/run, to cleanly separate ownership
- issues in /var/lib/zope hierarchy for user 'zope' and user 'nobody'.
* Mon Jan 03 2000 Jeff Rush <jrush@taupro.com>
- bumped to zope 2.1.1
- added to /etc/rc.d/init.d/zope code to correctly kill the process specified
- in /var/lib/zope/pcgi.pid
- changed permissions on /var/lib/zope/access such that only root can read/write
- it, to protect the Zope superuser password.
* Sat Nov 29 1999 Jeff Rush <jrush@taupro.com>
- changed ownership on /var/lib/zope/access from nobody.nobody to root.root.
* Sat Nov 20 1999 Jeff Rush <jrush@taupro.com>
- updated to zope 2.1.0beta2
- fixed permissions/ownership on /var/lib/zope/access to be more secure (600).
- removed pypath.patch, as those changes got into the zope distribution.
* Tue Nov 2 1999 Jeff Rush <jrush@taupro.com>
- added accidentally omitted /usr/bin/zpasswd to the RPM output.
- clarified wording re use of zpasswd in README.RPM file.
- added "-u nobody" to both zserver_*.sh files, for clarity of intent;
- it already ran as nobody by default, but some people worried.
* Wed Oct 27 1999 Jeff Rush <jrush@taupro.com>
- fixed /etc/rc.d/init.d/zope file to *NOT* delete /var/lib/zope/zserver.pid
- fixed /var/lib/zope/Zope.cgi to use PCGI_PUBLISHER=/var/lib/zope/pcgi_nullpublisher.py,
- so that when the PCGI wrapper can't find ZServer, it won't try to start one
- and generate bogus error messages, because PCGI doesn't do it right.
- fixed /var/lib/zope/zserver.sh to NOT specify syslog-style logging, since under
- Red Hat 6.1, the syslog daemon no longer listens to the port we expected.
* Sat Sep 25 1999 Jeff Rush <jrush@taupro.com>
- updated documents ZCMG, ZSQL and ZDTML to Sep 24th 1999 versions
- added empty directories /var/lib/zope/{import,Extensions}
- relocated zope from %{_libdir}/python1.5/site-packages/ZopeWorld/
- to %{_libdir}/zope/
- added user zope, for better security control
* Fri Sep 17 1999 Jeff Rush <jrush@taupro.com>
- updated sources to minor (security fix) release 2.0.1
* Fri Sep 10 1999 Jeff Rush <jrush@taupro.com>
- heavily reworked spec file for 2.0.0
* Thu Sep 9 1999 Tim Powers <timp@redhat.com>
- updated sources to 2.0.0
- _major_ spec file cleanups
- merged patch from src.rpm authored by Andreas Kostyrka <andreas@mtg.co.at>
- borrowed some things from Andreas Kostyrka's spec file
* Mon Aug 30 1999 Tim Powers <timp@redhat.com>
- changed groups
* Tue Aug 17 1999 Tim Powers <timp@redhat.com>
- chown permissions on some files in /var/local for the pcgi package
* Mon Aug 2 1999 Tim Powers <timp@redhat.com>
- changed buildroot to be in %{_tmppath} instead of /tmp
- rebuilt for 6.1
* Mon Jul 21 1999 Jeff Rush <jrush@taupro.com>
- Added in accidently omitted SearchIndex/{Query,Splitter}.so
* Tue Jul 6 1999 Tim Powers <timp@redhat.com>
- started changelog
- cleaned up spec file
- built for powertools
* Mon Jun 24 1999 Jeff Rush <jrush@taupro.com>
- Updated to 1.10.3
* Mon Jun 23 1999 Jeff Rush <jrush@taupro.com>
- Added /etc/rc.d/init.d/zope and reworked scripts
* Tue Mar 1 1999 Jeff Rush <jrush@taupro.com>
- Updated to 1.10.2
* Wed Jan 29 1999 Jeff Rush <jrush@taupro.com>
- Updated to 1.9.0 Final Release
* Wed Dec 9 1998 Jeff Rush <jrush@taupro.com>
- Original 1.9beta1 Release
# File: zope.spec
Summary: A leading open source application server.
Name: Zope
Version: 2.6.1
Release: 8mdk
License: Zope Public License (ZPL)
Group: Networking/WWW
Vendor: Zope Corp.
URL: http://www.zope.org/
Packager: Stfane Fermigier, Nuxeo <sf@nuxeo.com>
Prereq: rpm-helper
Source0: http://www.zope.org/Products/Zope/%{version}/Zope-%{version}-src.tar.bz2
Source1: http://www.zope.org/Members/michel/ZB/ZopeBook.tar.bz2
Source7: Zope.init
Source8: Zope-zserver.sh
Requires: python >= 2.2
BuildRequires: python-devel >= 2.2
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
Patch1: Zope-2.6.1.ftp.patch
%description
The Z Object Programming Environment (Zope) is a free, Open Source Python-based
application server for building high-performance, dynamic web sites, using a
powerful and simple scripting object model and high-performance, integrated
object database.
####
# Section: Prep Script (Prepare to Build; Usually Just Unpacking the Sources)
####
%prep
%setup -q -n Zope-%{version}-src
%patch1 -p1
# Prepare doc (Zope Book)
tar xjf %{SOURCE1}
####
# Section: Build Script (Actually Perform the Build; Usually Just 'make')
####
%build
perl -pi -e "s|data_dir\s+=\s+.*?join\(INSTANCE_HOME, 'var'\)|data_dir=INSTANCE_HOME|" lib/python/Globals.py
/usr/bin/python wo_pcgi.py
# Clean sources
find -type d -name "tests" | xargs rm -rf
find lib/python -type f -and \( -name 'Setup' -or -name '.cvsignore' \) \
-exec rm -f \{\} \;
find -type f -and \( -name '*.c' -or -name '*.h' -or -name 'Makefile*' \) \
-exec rm -f \{\} \;
find -name "Win32" | xargs rm -rf
rm -f ZServer/medusa/monitor_client_win32.py
# Has a bogus #!/usr/local/bin/python1.4 that confuses RPM
rm -f ZServer/medusa/test/asyn_http_bench.py
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/zope/lib/python} \
$RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/log,/var/lib/zope}
cp -a lib/python/* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python
cp -a ZServer/ utilities/ import/ $RPM_BUILD_ROOT%{_libdir}/zope
find $RPM_BUILD_ROOT%{_libdir}/zope -type f -name '*.pyc' -or -name '*.txt' \
| xargs -r rm -f
cp -a ZServer/medusa/test/* $RPM_BUILD_ROOT%{_libdir}/zope/ZServer/medusa/test/
install zpasswd.py $RPM_BUILD_ROOT%{_bindir}/zpasswd
install z2.py $RPM_BUILD_ROOT%{_libdir}/zope
install %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}/zope-zserver
install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/zope
install var/Data.fs $RPM_BUILD_ROOT/var/lib/zope/Data.fs
touch $RPM_BUILD_ROOT/var/log/zope
# XXX: shouldnt put a default password like this !
/usr/bin/python $RPM_BUILD_ROOT%{_bindir}/zpasswd -u zope -p zope -d localhost \
$RPM_BUILD_ROOT/var/lib/zope/access
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%_pre_useradd zope /var/lib/zope /bin/false
%post
%_post_service zope
%preun
%_preun_service zope
%postun
%_postun_userdel zope
%files
%defattr(644,root,root,755)
%config(noreplace) %attr(755,root,root) /etc/rc.d/init.d/zope
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_sbindir}/*
%{_libdir}/zope
%attr(1771,root,zope) %dir /var/lib/zope
%attr(660,root,zope) %config(noreplace) %verify(not md5 size mtime) /var/lib/zope/*
%attr(640,root,zope) /var/log/zope
##############################################################################
%package docs
Summary: Documentation for the Zope application server
Requires: Zope = %version-%release
Group: Networking/WWW
%description docs
Documentation for the Z Object Programming Environment (Zope), a free, Open
Source Python-based application server for building high-performance, dynamic
web sites, using a powerful and simple scripting object model and
high-performance, integrated object database.
%files docs
%defattr(644,root,root,755)
%doc ZopeBook doc
##############################################################################
%changelog
* Thu May 27 2003 Sbastien Robin <seb@nexedi.com> 2.6.1-8mdk
- Add new patch (to get source for ftp download)
made by Jean-Paul Smets <jp@nexedi.com>
* Thu Apr 24 2003 Sbastien Robin <seb@nexedi.com> 2.6.1-7mdk
- Keep *.py files and remove *.pyc files (better for developers)
* Thu Apr 24 2003 Sbastien Robin <seb@nexedi.com> 2.6.1-6mdk
- Rename the package zope by Zope
* Mon Mar 24 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-5mdk
- Moved python stuff from %{_libdir}/zope to %{_libdir}/zope/lib/python
* Tue Feb 25 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-4mdk
- changes by Frederic Lepied
- fixed dependency problem between zope-docs and zope
- removed unused directive
* Sun Feb 23 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-3mdk
- fix bugs
* Sat Feb 22 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-2mdk
- dont ship tests
- separate docs package, including the Zope Book.
* Sat Feb 22 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-1mdk
First release starting from PLD RPM.
Name: ZopeTestCase
Summary: Unit test with Zope
Version: 0.9.0
Release: 1mdk
Group: Development/Python
Requires: zope
License: ZPL
URL: http://zope.org/Members/shh/ZopeTestCase
Packager: Sebastien Robin <seb@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
This products allows to implement unit test with Zope. This also
support functionnal testing.
http://zope.org/Members/shh/ZopeTestCase
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Testing/%{name}/
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Testing/%{name}/
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Testing/%{name}/doc
install %{name}-%{version}/doc/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Testing/%{name}/doc
install %{name}-%{version}/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Testing/%{name}/doc
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,zope,zope,0755)
%doc doc/VERSION.txt
%{_libdir}/zope/lib/python/Testing/%{name}/
#----------------------------------------------------------------------
%changelog
* Wed Aug 18 2004 Sebastien Robin <seb@nexedi.com> 0.9.0-1mdk
- Create the spec file
#!/bin/bash
PARAMS=1
# Where we can find the RPM directory
# and where we want to store the source code from cvs
CVS_PATH=/home/$USER/cvs
RPM_PATH=/home/$USER/rpm
PRODUCT_PATH=%{_libdir}/zope/lib/python/Products/
FULL_RPM_BUILD_ROOT=\$RPM_BUILD_ROOT$PRODUCT_PATH
if [ $# -lt "$PARAMS" ] || [ $# -gt "$PARAMS" ]
then
echo
echo "Give me exactly $PARAMS command-line arguments!"
echo "build-rpm PACKAGE_NAME"
exit 0
fi
if [ -n "$1" ]
then
echo Starting Building $1
NAME=$1
VERSION=3.0rc3
rm -rf $CVS_PATH/$NAME-$VERSION/BTreeFolder2
rm -rf $CVS_PATH/$NAME-$VERSION/CMFCalendar
rm -rf $CVS_PATH/$NAME-$VERSION/CMFTopic
rm -rf $CVS_PATH/$NAME-$VERSION/CMFCore
rm -rf $CVS_PATH/$NAME-$VERSION/CMFDefault
rm -rf $CVS_PATH/$NAME-$VERSION/DCWorkflow
rm -rf $CVS_PATH/$NAME-$VERSION/Localizer
rm -rf $CVS_PATH/$NAME-$VERSION/TranslationService
cd $CVS_PATH && tar jcvf $NAME-$VERSION.tar.bz2 $NAME-$VERSION && cd -
cp $CVS_PATH/$NAME-$VERSION.tar.bz2 $RPM_PATH/SOURCES/
# Remove theses text files in order to hack a small error
mv -f $CVS_PATH/$NAME-$VERSION/Introduction.stx /tmp
#mv -f $CVS_PATH/$NAME-$VERSION/COPYRIGHT.txt /tmp
#mv -f $CVS_PATH/$NAME-$VERSION/INSTALL.txt /tmp
#mv -f $CVS_PATH/$NAME-$VERSION/UPGRADE.txt /tmp
# We will generate one part of the spec file, so we make sure
# to not forget any file
# Generate the folder tree
rm -f /tmp/build-rpm-install.tmp
rm -f /tmp/build-rpm-files.tmp
rm -f /tmp/build-rpm-spec.tmp
for directory in "" `cd $CVS_PATH/$NAME-$VERSION && find * -type d -not -name "CVS" && cd -`
do echo install -d $FULL_RPM_BUILD_ROOT/$directory | sed -e "s/\/\//\//g" >> /tmp/build-rpm-install.tmp
# then add files we want to include into the rpm
for file_type in py dtml txt png pt stx form zsql gif jpg css html props
do if (ls $CVS_PATH/$NAME-$VERSION/$directory/*.$file_type > /dev/null 2>&1)
then echo install %{name}-%{version}/$directory/*.$file_type $FULL_RPM_BUILD_ROOT/$directory | sed -e "s/\/\//\//g" >> /tmp/build-rpm-install.tmp
fi
done
done
cp /tmp/Introduction.stx /$CVS_PATH/$NAME-$VERSION/
#cp /tmp/COPYRIGHT.txt /$CVS_PATH/$NAME-$VERSION/
#cp /tmp/INSTALL.txt /$CVS_PATH/$NAME-$VERSION/
#cp /tmp/UPGRADE.txt /$CVS_PATH/$NAME-$VERSION/
for directory in `cd $CVS_PATH/$NAME-$VERSION && find * -type d -maxdepth 0 && cd -`
do echo $PRODUCT_PATH$directory/ >> /tmp/build-rpm-files.tmp
done
# now we will regenerate the spec file
# The line where we have %install
L_INSTALL=`grep -n "%install" $NAME.spec| sed -e "s/:/ /g" |awk '{print $1}'`
# The line where we have %clean
L_CLEAN=`grep -n "%clean" $NAME.spec| sed -e "s/:/ /g" |awk '{print $1}'`
# The line where we have %doc
L_DOC=`grep -n "%doc" $NAME.spec| sed -e "s/:/ /g" |awk '{print $1}'`
# The line where we have %changelog
L_CHANGELOG=`grep -n "%changelog" $NAME.spec| sed -e "s/:/ /g" |awk '{print $1}'`
# The total number of lines
L_TOTAL=`wc -l $NAME.spec | awk '{print $1}'`
# Take the head of the file
head -n $L_INSTALL $NAME.spec > /tmp/build-rpm-spec.tmp
cat /tmp/build-rpm-install.tmp >> /tmp/build-rpm-spec.tmp
head -n $L_DOC $NAME.spec | tail -n `expr $L_DOC - $L_CLEAN + 1` >> /tmp/build-rpm-spec.tmp
cat /tmp/build-rpm-files.tmp >> /tmp/build-rpm-spec.tmp
echo "#----------------------------------------------------------------------" >> /tmp/build-rpm-spec.tmp
tail -n `expr $L_TOTAL - $L_CHANGELOG + 1` $NAME.spec >> /tmp/build-rpm-spec.tmp
# now we can replace the spec file
cp -f /tmp/build-rpm-spec.tmp $RPM_PATH/SPECS/$NAME.spec
fi
exit 0
%define name erp5diff
%define version 0.1
%define release 3nxd
Summary: XUpdate Generator for ERP5
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
Buildarch: noarch
Url: http://erp5.org
%description
ERP5Diff is a XUpdate Generator for ERP5. It takes two XML files
as input data, and generates differences between these two XML
documents in XUpdate language.
ERP5Diff depends on more or less ERP5's XML data format. So this tool
cannot be used for general purpose, but might work if your XML files
are similar to ERP5's.
%prep
%setup -q
%build
python setup.py build
%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc PKG-INFO README
%{_libdir}/python*/site-packages/ERP5Diff*
%{_mandir}/man*/*
%attr(0755,root,root) %{_bindir}/%{name}
%changelog
* Fri Aug 6 2005 Yoshinori Okuji <yo@nexedi.com> 0.1-3nxd
- rebuilt for python 2.4
- set Buildarch to noarch
* Wed Feb 4 2004 Sebastien Robin <seb@nexedi.com> 0.1-2nxd
- just added a return between each line
* Thu Dec 4 2003 Yoshinori Okuji <yo@nexedi.com> 0.1-1nxd
- initial package
Name: python-reportlab-accel
Summary: Accelerator for the ReportLab Toolkit
Version: 0.52.20050424
Release: 1mdk
Group: Development/Python
Requires: python
BuildRequires: python-devel
License: GPL
URL: http://www.reportlab.com
Packager: Yoshinori Okuji <yo@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Source: %{name}-%{version}.tar.bz2
#----------------------------------------------------------------------
%description
A C coded extension accelerator for the ReportLab Toolkit.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q 0
#----------------------------------------------------------------------
%build
python setup.py build
#----------------------------------------------------------------------
%install
python setup.py install --root=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.extensions
%{_libdir}/python*.*/site-packages/*.so
#----------------------------------------------------------------------
%changelog
* Sun Apr 24 2005 Yoshinori Okuji <yo@nexedi.com> 0.52.20050424-1mdk
- Initial release
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
%define pyname reportlab
Name: python-reportlab
Summary: Libraries to generate PDF for python
Version: 1.20
Release: 1mdk
Group: Development/Python
Requires: python
License: BSD
URL: http://www.reportlab.com
Packager: Yoshinori Okuji <yo@nexedi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir
Buildarch: noarch
Source: %{name}-%{version}.tar.bz2
Patch1: python-reportlab-table.patch.bz2
Patch2: python-reportlab-image.patch.bz2
Patch3: python-reportlab-filename.patch.bz2
#----------------------------------------------------------------------
%description
The ReportLab Open Source PDF library is a proven industry-strength PDF
generating solution, that you can use for meeting your requirements and
deadlines in enterprise reporting systems.
#----------------------------------------------------------------------
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q 0
%patch1 -p1
%patch2 -p1
%patch3 -p1
#----------------------------------------------------------------------
%build
#----------------------------------------------------------------------
%install
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}
install *.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/colors
install demos/colors/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/colors
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/gadflypaper
install demos/gadflypaper/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/gadflypaper
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/odyssey
install demos/odyssey/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/odyssey
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/rlzope
install demos/rlzope/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/rlzope
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/stdfonts
install demos/stdfonts/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/stdfonts
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/tests
install demos/tests/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/demos/tests
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs
install docs/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/graphguide
install docs/graphguide/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/graphguide
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/images
install docs/images/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/images
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/reference
install docs/reference/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/reference
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/userguide
install docs/userguide/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/docs/userguide
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/extensions
install extensions/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/extensions
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/fonts
install fonts/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/fonts
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/graphics
install graphics/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/graphics
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/graphics/charts
install graphics/charts/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/graphics/charts
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/graphics/widgets
install graphics/widgets/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/graphics/widgets
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/lib
install lib/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/lib
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/pdfbase
install pdfbase/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/pdfbase
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/pdfgen
install pdfgen/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/pdfgen
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/platypus
install platypus/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/platypus
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/test
install test/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/test
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools
install tools/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools/docco
install tools/docco/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools/docco
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools/py2pdf
install tools/py2pdf/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools/py2pdf
install -d $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools/pythonpoint
install tools/pythonpoint/*.* $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/%{pyname}/tools/pythonpoint
%clean
rm -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README
%{_libdir}/python%{pyver}/%{pyname}/
#----------------------------------------------------------------------
%changelog
* Sun Apr 24 2005 Yoshinori Okuji <yo@nexedi.com> 1.20-1mdk
- Bump to 1.20.
* Mon Aug 16 2004 Yoshinori Okuji <yo@nexedi.com> 1.19-5mdk
- Import sys in pdfgen/pdfimages.py; it was just missing.
* Tue Jun 1 2004 Yoshinori Okuji <yo@nexedi.com> 1.19-4mdk
- Compress all patches.
- Fix the class Image so that it works with StringIO objects.
* Wed Apr 21 2004 Yoshinori Okuji <yo@nexedi.com> 1.19-3mdk
- Fix the install section of this spec.
* Wed Apr 21 2004 Yoshinori Okuji <yo@nexedi.com> 1.19-2mdk
- Fix a mysterios code in lib/utils.py, which deleted Image
after importing it.
* Wed Apr 21 2004 Yoshinori Okuji <yo@nexedi.com> 1.19-1mdk
- New upstream version
* Thu Nov 20 2003 Sebastien Robin <seb@nexedi.com> 1.17-4mdk
- Added a new patch
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.17-3mdk
- Make now signed rpm
* Thu Sep 04 2003 Sbastien Robin <seb@nexedi.com> 1.17-2mdk
- Update spec in order to follows Mandrake Rules
* Wed May 02 2003 Sebastien Robin <seb@nexedi.com> 1.17-1nxd
- Initial release
# Copyright (c) 2003-2004 Nuxeo SARL
# Copyright (c) 2003-2004 Stefane Fermigier
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all
# copies.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
Name: zope
Summary: A leading open source application server
Version: 2.7.0rc2
Release: 2mdk
License: Zope Public License (ZPL)
Group: System/Servers
URL: http://www.zope.org/
Packager: Stefane Fermigier <sf@nuxeo.com>
%define packagename Zope-2.7.0-rc2
%define python /usr/bin/python
%define zopehome /usr/lib/zope
%define softwarehome %{zopehome}/lib/python
%define instancehome /var/lib/zope
%define clienthome %{instancehome}/data
%define statehome /var/run/zope
%define loghome /var/log/zope
%define configfile /etc/zope.conf
%define zopectl /usr/bin/zopectl
%define runzope /usr/bin/runzope
%define zopeuser zope
Prereq: rpm-helper
# from http://www.zope.org/Products/Zope/%{version}/Zope-%{version}-%{release}.tgz
Source0: %{packagename}.tar.bz2
Source1: skel.tar.bz2
Source2: http://www.zope.org/Members/michel/ZB/ZopeBook.tar.bz2
Requires: python >= 2.3.3
BuildRequires: python-devel >= 2.3.3
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
%description
Zope is an open source application server for building content managements,
intranets, portals, and custom applications. The Zope community consists of
hundreds of companies and thousands of developers all over the world, working
on building the platform and Zope applications. Zope is written in Python, a
highly-productive, object-oriented scripting language.
%prep
%setup -q -n %{packagename}
# Add skel
rm -rf skel
tar xvjf %{SOURCE1}
#rm skel/var/log/zope/README.txt skel/var/run/zope/README.txt
# Prepare doc (Zope Book)
tar xjf %{SOURCE2}
%build
mkdir -p build
pushd build
../configure \
--with-python="%{python}" \
--prefix="%{buildroot}%{zopehome}" \
--no-compile
make build
popd
# process the skel directory into the buildroot
%{python} "utilities/copyzopeskel.py" \
--sourcedir="skel" \
--targetdir="%{buildroot}" \
--replace="INSTANCE_HOME:%{instancehome}" \
--replace="CLIENT_HOME:%{clienthome}" \
--replace="STATE_DIR:%{statehome}" \
--replace="LOG_DIR:%{loghome}" \
--replace="SOFTWARE_HOME:%{softwarehome}" \
--replace="ZOPE_HOME:%{zopehome}" \
--replace="CONFIG_FILE:%{configfile}" \
--replace="PYTHON:%{python}" \
--replace="ZOPECTL:%{zopectl}" \
--replace="RUNZOPE:%{runzope}"
#perl -pi -e "s|data_dir\s+=\s+.*?join\(INSTANCE_HOME, 'var'\)|data_dir=INSTANCE_HOME|" lib/python/Globals.py
python << EOF
import py_compile, os
files = os.popen("find . -name '*.py'").readlines()
for file in files:
file = file.strip()
py_compile.compile(file, file+"o", "%{zopehome}/"+file)
py_compile.compile(file, file+"c", "%{zopehome}/"+file)
EOF
# XXX: next release...
#env CFLAGS="$RPM_OPT_FLAGS" /usr/bin/python setup.py build
#/usr/bin/python setup.py install --root=$RPM_BUILD_ROOT \
# --record=INSTALLED_FILES
## Clean sources
#find -type d -name "tests" | xargs rm -rf
find lib/python -type f -and \( -name 'Setup' -or -name '.cvsignore' \) \
-exec rm -f \{\} \;
#find -type f -and \( -name '*.c' -or -name '*.h' -or -name 'Makefile*' \) \
# -exec rm -f \{\} \;
find -name "Win32" | xargs rm -rf
rm -f ZServer/medusa/monitor_client_win32.py
# Has a bogus #!/usr/local/bin/python1.4 that confuses RPM
rm -f ZServer/medusa/test/asyn_http_bench.py
%install
pushd build
make install
popd
#rm -rf $RPM_BUILD_ROOT
#install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/zope/lib/python} \
# $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/log,/var/lib/zope}
#
#cp -a lib/python/* $RPM_BUILD_ROOT%{_libdir}/zope/lib/python
#cp -a ZServer/ utilities/ import/ $RPM_BUILD_ROOT%{_libdir}/zope
#find $RPM_BUILD_ROOT%{_libdir}/zope -type f -name '*.py' -or -name '*.txt' \
# | xargs -r rm -f
#cp -a ZServer/medusa/test/* $RPM_BUILD_ROOT%{_libdir}/zope/ZServer/medusa/test/
#
#install zpasswd.py $RPM_BUILD_ROOT%{_bindir}/zpasswd
#install z2.py $RPM_BUILD_ROOT%{_libdir}/zope
#install %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}/zope-zserver
#install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/zope
#install var/Data.fs $RPM_BUILD_ROOT/var/lib/zope/Data.fs
#
#touch $RPM_BUILD_ROOT/var/log/zope
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%_pre_useradd zope /var/lib/zope /bin/false
%post
%_post_service zope
# write a 10 digit random default admin password into acl_users
passwd=`head -c4 /dev/urandom | od -tu4 -N4 | sed -ne '1s/.* //p'`
%{zopectl} adduser admin $passwd
/sbin/chkconfig --add zope
# inform the user of the default username/password combo and port
echo
echo A Zope instance has been installed. Run it via
echo \"/etc/rc.d/init.d/zope start\". Log in via a browser on port 9080.
echo
echo Zope has default administrative username/password combination. The
echo "administrative username is \"admin\" and the password is \"$passwd\"."
echo Please remember this so you are able to log in for the first time.
echo
%preun
%_preun_service zope
%postun
%_postun_userdel zope
%files
%defattr(-,root,root)
%dir %{zopehome}
%{zopehome}/bin
%{zopehome}/doc
%{zopehome}/import
%{zopehome}/lib
%{zopehome}/skel
#%{zopehome}/utilities - XXX add this ?
%config /etc/zope.conf
/etc/logrotate.d/zope
/etc/rc.d/init.d/zope
/usr/bin/runzope
/usr/bin/zopectl
%attr(700, %{zopeuser}, %{zopeuser}) %config(noreplace) %verify(not md5 size mtime) %{instancehome}
%attr(755, %{zopeuser}, %{zopeuser}) %dir /var/log/zope
%attr(755, %{zopeuser}, %{zopeuser}) %dir /var/run/zope
#%defattr(644,root,root,755)
#%config(noreplace) %attr(755,root,root) /etc/rc.d/init.d/zope
#%attr(755,root,root) %{_bindir}/*
#%attr(755,root,root) %{_sbindir}/*
#%{_libdir}/zope
#%attr(1771,root,zope) %dir /var/lib/zope
#%attr(660,root,zope) %config(noreplace) %verify(not md5 size mtime) /var/lib/zope/*
##%attr(640,root,root) %ghost /var/log/zope
#%ghost /var/log/zope
##############################################################################
%package docs
Summary: Documentation for the Zope application server
Requires: zope = %version-%release
Group: Networking/WWW
%description docs
Documentation for the Z Object Programming Environment (Zope), a free, Open
Source Python-based application server for building high-performance, dynamic
web sites, using a powerful and simple scripting object model and
high-performance, integrated object database.
%files docs
%defattr(644, root, root, 755)
%doc ZopeBook doc
##############################################################################
%changelog
* Sat Feb 07 2004 Stfane Fermigier <sf@nuxeo.com> 2.7.0rc2-1mdk
- Bump to Zope 2.7.0rc2
* Sun Jan 11 2004 Stfane Fermigier <sf@nuxeo.com> 2.7.0b4-1mdk
- Bump to Zope 2.7.0b4
* Sun Sep 14 2003 Stfane Fermigier <sf@nuxeo.com> 2.7.0b2-1pyp
- Update to Zope 2.7.0b2
* Fri Aug 15 2003 Stfane Fermigier <sf@nuxeo.com> 2.7.0b1-3pyp
- Update for Python 2.3
* Sat Aug 9 2003 Stfane Fermigier <sf@nuxeo.com> 2.7.0b1-2pyp
- Added copyright notice
- Compile to .pyc as well as to .pyo
* Sat Jul 26 2003 Stfane Fermigier <sf@nuxeo.com> 2.7.0b1-1mdk
- Update to Zope 2.7.0b1
- Merged stuff from the Zope.org RPM
* Sat May 3 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-6mdk
- Moved python stuff from /usr/lib/zope to /usr/lib/zope/lib/python
* Mon Mar 24 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-5mdk
- Moved python stuff from /usr/lib/zope to /usr/lib/zope/lib/python
* Tue Feb 25 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-4mdk
- changes by Frederic Lepied
- fixed dependency problem between zope-docs and zope
- removed unused directive
* Sun Feb 23 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-3mdk
- fix bugs
* Sat Feb 22 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-2mdk
- dont ship tests
- separate docs package, including the Zope Book.
* Sat Feb 22 2003 Stfane Fermigier <sf@nuxeo.com> 2.6.1-1mdk
First release starting from PLD RPM.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment