From 54793cff9c3508bd4c825c72b106a2b21bc43323 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Sat, 30 Apr 2005 16:17:52 +0000 Subject: [PATCH] First commit. Not tested yet. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2978 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/spec/ERP5OOo.spec | 52 ++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 product/ERP5/spec/ERP5OOo.spec diff --git a/product/ERP5/spec/ERP5OOo.spec b/product/ERP5/spec/ERP5OOo.spec new file mode 100755 index 0000000000..9923998577 --- /dev/null +++ b/product/ERP5/spec/ERP5OOo.spec @@ -0,0 +1,52 @@ +Name: ERP5OOo +Summary: OpenOffice documents parser for ERP5 +Version: 0.1 +Release: 1nxd +Group: Development/Python +Requires: zope +License: GPL +URL: http://www.erp5.org +Packager: Kevin Deldycke <kevin@nexedi.com> +BuildRoot: %{_tmppath}/%{name}-%{version}-rootdir +Buildarch: noarch + +Source: %{name}-%{version}.tar.bz2 + +#---------------------------------------------------------------------- +%description +General purpose tools to parse and handle OpenOffice v1.x documents in ERP5 + +#---------------------------------------------------------------------- +%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}/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 +rm -rf $RPM_BUILD_ROOT + +#---------------------------------------------------------------------- +%files +%defattr(-,zope,zope,0755) +%doc VERSION.txt +%{_libdir}/zope/lib/python/Products/%{name}/ +#---------------------------------------------------------------------- +%changelog +* Sat Apr 30 2003 Kevin Deldycke <seb@nexedi.com> 0.1-1nxd +- Create the spec file -- 2.30.9