Name: ERP5Catalog Summary: Catalog that filter queries Version: 0.9 Release: 1nxd Group: Development/Python Requires: zope ZSQLCatalog ERP5Type License: GPL URL: http://www.erp5.org Packager: Sebastien Robin BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir Buildarch: noarch Source: %{name}-%{version}.tar.bz2 #---------------------------------------------------------------------- %description This is a Catalog that filters catalog queries. It is based on ZSQLCatalog 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}/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 rm -rf $RPM_BUILD_ROOT #---------------------------------------------------------------------- %files %defattr(-,zope,zope,0755) %doc VERSION.txt %{_libdir}/zope/lib/python/Products/%{name}/ #---------------------------------------------------------------------- %changelog * Tue Sep 01 2004 Sebastien Robin 0.8-1mdk - Final relase for Mandrake 10.1 * Tue Feb 17 2004 Sebastien Robin 0.1-5mdk - New release for Mandrake 10.1 * Tue Feb 17 2004 Sebastien Robin 0.1-4mdk - Changed permissions on files * Mon Sep 08 2003 Sebastien Robin 0.1-3mdk - Changed permissions on files * Wed Sep 05 2003 Sebastien Robin 0.1-2mdk - Update spec in order to follows Mandrake Rules * Mon May 12 2003 Sebastien Robin 0.1-1nxd - Create the spec file