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
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
This diff is collapsed.
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
This diff is collapsed.
# 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.
This diff is collapsed.
# 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