Commit 1ea580d7 authored by Kevin Deldycke's avatar Kevin Deldycke

First update for Mandriva 2006


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5130 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 24eed8b0
Name: CMFActivity %define product CMFActivity
Summary: Activity Tool for zope %define version 0.9.20060110
Version: 0.9 %define release 1
Release: 1mdk
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: Activity Tool for Zope
Packager: Sebastien Robin <seb@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope zope-CMF
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
This tools allows to implement activities for zope objects. This tools add activities for Zope objects.
http://www.erp5.org
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build %build
#----------------------------------------------------------------------
%install %install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__rm} -rf %{buildroot}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__mkdir_p} %{buildroot}/%{software_home}/Products
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__cp} -a * %{buildroot}%{software_home}/Products/
install %{name}-%{version}/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Activity
install %{name}-%{version}/Activity/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Activity
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}/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}/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}/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}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/activity
install %{name}-%{version}/skins/activity/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/activity
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 %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc VERSION.txt %doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.9.20060110-1mdk
- New release for Mandriva 2006
- Spec file updated
* Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk * Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk
- Final relase for Mandrake 10.1 - Final relase for Mandrake 10.1
......
Name: CMFCategory %define product CMFCategory
Summary: All algorithms related to categories and relations in CMF %define version 0.9.20060110
Version: 0.9 %define release 1
Release: 1mdk
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: All algorithms related to categories and relations in CMF
Packager: Sebastien Robin <seb@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope zope-CMF
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
...@@ -19,54 +24,45 @@ in an ERP5 portal. For example, a document may be assigned a color ...@@ -19,54 +24,45 @@ in an ERP5 portal. For example, a document may be assigned a color
attribute (red, blue, green). Rather than assigning an attribute attribute (red, blue, green). Rather than assigning an attribute
with a pop-up menu (which is still a possibility), we can prefer with a pop-up menu (which is still a possibility), we can prefer
in certain cases to associate to the object a category. In this in certain cases to associate to the object a category. In this
example, the category will be named color/red, color/blue or color/green example, the category will be named color/red, color/blue or color/green.
http://www.erp5.org
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build %build
#----------------------------------------------------------------------
%install %install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__rm} -rf %{buildroot}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__mkdir_p} %{buildroot}/%{software_home}/Products
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__cp} -a * %{buildroot}%{software_home}/Products/
install %{name}-%{version}/*.png $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}/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}/doc
install %{name}-%{version}/doc/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/doc
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}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
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}/www
install %{name}-%{version}/www/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc VERSION.txt %doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.9.20060110-1mdk
- New release for Mandriva 2006
- Spec file updated
* Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk * Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk
- Final relase for Mandrake 10.1 - Final relase for Mandrake 10.1
......
This diff is collapsed.
Name: ERP5Catalog %define product ERP5Catalog
Summary: Catalog that filter queries %define version 0.9.20060110
Version: 0.9 %define release 1
Release: 1mdk
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope ZSQLCatalog ERP5Type %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: This Zope product for ERP5 is a catalog that filter queries
Packager: Sebastien Robin <seb@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: erp5-zope zope-ZSQLCatalog zope-ERP5Type
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
This is a Catalog that filters catalog queries. This is a Catalog that filters catalog queries. It is based on ZSQLCatalog.
It is based on ZSQLCatalog
http://www.erp5.org
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build %build
#----------------------------------------------------------------------
%install %install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__rm} -rf %{buildroot}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__mkdir_p} %{buildroot}/%{software_home}/Products
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__cp} -a * %{buildroot}%{software_home}/Products/
install %{name}-%{version}/*.png $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}/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}/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}/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}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql/erp5_mysql
install %{name}-%{version}/sql/erp5_mysql/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql/erp5_mysql
install %{name}-%{version}/sql/erp5_mysql/*.xml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql/erp5_mysql
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql/common_mysql
install %{name}-%{version}/sql/common_mysql/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql/common_mysql
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql/cps3_mysql
install %{name}-%{version}/sql/cps3_mysql/*.zsql $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/sql/cps3_mysql
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 %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc VERSION.txt %doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.9.20060110-1mdk
- New release for Mandriva 2006
- Spec file updated
* Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk * Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk
- Final relase for Mandrake 10.1 - Final relase for Mandrake 10.1
......
Name: ERP5Form %define product ERP5Form
Summary: Form specific to ERP5 %define version 0.9.20060110
Version: 0.9 %define release 1
Release: 1mdk
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: A Zope product that add easy to use form to ERP5
Packager: Sebastien Robin <seb@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope-erp5 erp5-Formulator
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
...@@ -20,48 +25,43 @@ and rendered automatically by page template. Context variables (here, ...@@ -20,48 +25,43 @@ and rendered automatically by page template. Context variables (here,
form...) are provided to each field at rendering time. Together with form...) are provided to each field at rendering time. Together with
ERP5Type, ERP5Form defines a fast rapid application environment. ERP5Type, ERP5Form defines a fast rapid application environment.
http://www.erp5.org
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build %build
#----------------------------------------------------------------------
%install %install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__rm} -rf %{buildroot}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__mkdir_p} %{buildroot}/%{software_home}/Products
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__cp} -a * %{buildroot}%{software_home}/Products/
install %{name}-%{version}/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install %{name}-%{version}/*.stx $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}/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}/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}/help
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
install %{name}-%{version}/www/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc TODO.txt %doc TODO.txt VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.9.20060110-1mdk
- New release for Mandriva 2006
- Spec file updated
* Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk * Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk
- Final relase for Mandrake 10.1 - Final relase for Mandrake 10.1
......
Name: ERP5OOo %define product ERP5Form
Summary: OpenOffice documents parser for ERP5 %define version 0.1.20060110
Version: 0.1 %define release 1
Release: 1nxd
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: OpenOffice documents parser for ERP5
Packager: Kevin Deldycke <kevin@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope-erp5
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
General purpose tools to parse and handle OpenOffice v1.x documents in ERP5 General purpose tools to parse and handle OpenOffice v1.x documents in ERP5.
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build %build
#----------------------------------------------------------------------
%install %install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__rm} -rf %{buildroot}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__mkdir_p} %{buildroot}/%{software_home}/Products
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__cp} -a * %{buildroot}%{software_home}/Products/
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}/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 %{name}-%{version}/skins/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/scripts
install %{name}-%{version}/scripts/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/scripts
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc VERSION.txt %doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Sat Apr 30 2003 Kevin Deldycke <seb@nexedi.com> 0.1-1nxd * Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.2-1mdk
- New release for Mandriva 2006
- Spec file updated
* Sat Apr 30 2005 Kevin Deldycke <kevin@nexedi.com> 0.1-1nxd
- Create the spec file - Create the spec file
%define product ERP5Security
%define version 0.1.20060110
%define release 1
%define zope_home %{_prefix}/lib/zope
%define software_home %{zope_home}/lib/python
Summary: A collection of plugins for Pluggable Auth Service to manage ERP5 security
Name: zope-%{product}
Version: %{version}
Release: %mkrel %{release}
License: GPL
Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope-erp5 zope-PluggableAuthService
#----------------------------------------------------------------------
%description
This zope product is a plugin to Pluggable Auth Service, to manage roles,
groups and users in ERP5. It also add fine security management features to
ERP5.
#----------------------------------------------------------------------
%prep
%setup -c
%build
%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}/%{software_home}/Products
%{__cp} -a * %{buildroot}%{software_home}/Products/
%clean
%{__rm} -rf %{buildroot}
%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%files
%defattr(0644, root, root, 0755)
%{software_home}/Products/*
#----------------------------------------------------------------------
%changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.1.20060110-1mdk
- Initial release
Name: ERP5SyncML %define product ERP5SyncML
Summary: SyncML for ERP5 %define version 0.9.20060110
Version: 0.9 %define release 1
Release: 1mdk
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope, ERP5Type, erp5diff %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: SyncML for ERP5
Packager: Sebastien Robin <seb@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope-erp5
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
To be written ERP5Type contains most importants objects for ERP5. ERP5Type defines
most of methods that will be used by every object. It also implements
http://www.erp5.org the Rapid Application Developpement feature used in ERP5.
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build %build
#----------------------------------------------------------------------
%install %install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__rm} -rf %{buildroot}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__mkdir_p} %{buildroot}/%{software_home}/Products
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__cp} -a * %{buildroot}%{software_home}/Products/
install %{name}-%{version}/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Conduit
install %{name}-%{version}/Conduit/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Conduit
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}/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}/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}/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}/skins
install %{name}-%{version}/skins/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/redd
install %{name}-%{version}/skins/redd/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/redd
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 %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc VERSION.txt %doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.9.20060110-1mdk
- New release for Mandriva 2006
- Spec file updated
* Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk * Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk
- Final relase for Mandrake 10.1 - Final relase for Mandrake 10.1
...@@ -76,4 +73,4 @@ rm -rf $RPM_BUILD_ROOT ...@@ -76,4 +73,4 @@ rm -rf $RPM_BUILD_ROOT
- Update spec in order to follows Mandrake Rules - Update spec in order to follows Mandrake Rules
* Mon May 12 2003 Sebastien Robin <seb@nexedi.com> 0.1-1nxd * Mon May 12 2003 Sebastien Robin <seb@nexedi.com> 0.1-1nxd
- Create the spec file - Create the spec file
\ No newline at end of file
Name: ERP5Type %define product ERP5Type
Summary: Base objects for ERP5 %define version 0.9.20060110
Version: 0.9 %define release 1
Release: 1mdk
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: Base objects for ERP5
Packager: Sebastien Robin <seb@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope-erp5
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
...@@ -18,56 +23,44 @@ ERP5Type contains most importants objects for ERP5. ERP5Type defines ...@@ -18,56 +23,44 @@ ERP5Type contains most importants objects for ERP5. ERP5Type defines
most of methods that will be used by every object. It also implements most of methods that will be used by every object. It also implements
the Rapid Application Developpement feature used in ERP5. the Rapid Application Developpement feature used in ERP5.
http://www.erp5.org
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT
%setup -a 0
#----------------------------------------------------------------------
%build %build
#----------------------------------------------------------------------
%post
mkdir /var/lib/zope/Document
#----------------------------------------------------------------------
%install %install
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__rm} -rf %{buildroot}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__mkdir_p} %{buildroot}/%{software_home}/Products
install %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/ %{__cp} -a * %{buildroot}%{software_home}/Products/
install %{name}-%{version}/*.png $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Accessor
install %{name}-%{version}/Accessor/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Accessor
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}/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}/Tool
install %{name}-%{version}/Tool/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Tool
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}/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}/skins
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 %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
mkdir /var/lib/zope/Document
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc VERSION.txt %doc VERSION.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.9.20060110-1mdk
- New release for Mandriva 2006
- Spec file updated
* Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk * Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk
- Final relase for Mandrake 10.1 - Final relase for Mandrake 10.1
......
Name: ZSQLCatalog %define product ZSQLCatalog
Summary: A Zope product to search the Zope database with SQL requests %define version 0.9.20060110
Version: 0.9 %define release 1
Release: 1mdk
Group: Development/Python %define zope_home %{_prefix}/lib/zope
Requires: zope %define software_home %{zope_home}/lib/python
License: GPL
URL: http://www.erp5.org Summary: A Zope product to search the Zope database with SQL requests
Packager: Sebastien Robin <seb@nexedi.com> Name: zope-%{product}
BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Version: %{version}
Buildarch: noarch Release: %mkrel %{release}
License: GPL
Source: %{name}-%{version}.tar.bz2 Group: System/Servers
URL: http://www.erp5.org
Source0: %{product}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
BuildArch: noarch
Requires: zope-erp5
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%description %description
...@@ -18,48 +23,45 @@ ZSQLCatalog is a Zope product which allows to search the Zope database ...@@ -18,48 +23,45 @@ ZSQLCatalog is a Zope product which allows to search the Zope database
with SQL requests. It replaces the standard Zope Catalog with a meta-catalog with SQL requests. It replaces the standard Zope Catalog with a meta-catalog
which can be connected to any SQL relationnal database through ZSQLMethods. which can be connected to any SQL relationnal database through ZSQLMethods.
http://www.erp5.org
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%prep %prep
%setup -c
rm -rf $RPM_BUILD_ROOT %build
%setup -a 0
#----------------------------------------------------------------------
%post
mkdir /var/lib/zope/Extensions
ln -s %{_libdir}/zope/lib/python/Products/%{name}/zsqlbrain.py /var/lib/zope/Extensions/
%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}/%{software_home}/Products
%{__cp} -a * %{buildroot}%{software_home}/Products/
#----------------------------------------------------------------------
%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}/help
install %{name}-%{version}/help/*.py $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}/spec
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}/www
install %{name}-%{version}/www/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/www
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%post
mkdir /var/lib/zope/Extensions
ln -s %{software_home}/Products/%{name}/zsqlbrain.py /var/lib/zope/Extensions/
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
%postun
if [ -f "%{_prefix}/bin/zopectl" ] && [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart
fi
#----------------------------------------------------------------------
%files %files
%defattr(-,zope,zope,0755) %defattr(0644, root, root, 0755)
%doc README.txt INSTALL.txt CREDITS.txt GPL.txt ZPL.txt %doc README.txt INSTALL.txt CREDITS.txt GPL.txt ZPL.txt
%{_libdir}/zope/lib/python/Products/%{name}/ %{software_home}/Products/*
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Tue Jan 10 2006 Kevin Deldycke <kevin@nexedi.com> 0.9.20060110-1mdk
- New release for Mandriva 2006
- Spec file updated
* Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk * Tue Sep 01 2004 Sebastien Robin <seb@nexedi.com> 0.8-1mdk
- Final relase for Mandrake 10.1 - Final relase for Mandrake 10.1
...@@ -77,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT ...@@ -77,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT
of a problem with the script which create the rpm of a problem with the script which create the rpm
* Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 0.2.1-5mdk * Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 0.2.1-5mdk
- change in the spec file '/usr/lib' by %{_libdir} - change in the spec file '/usr/lib' by %%{_libdir}
* Thu Sep 04 2003 Sbastien Robin <seb@nexedi.com> 0.2.1-4mdk * Thu Sep 04 2003 Sbastien Robin <seb@nexedi.com> 0.2.1-4mdk
- Update spec in order to follows Mandrake Rules - Update spec in order to follows Mandrake Rules
......
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